2
// Generated by gtkmmproc -- DO NOT MODIFY!
3
#ifndef _GTKMM_INVISIBLE_H
4
#define _GTKMM_INVISIBLE_H
9
/* $Id: invisible.hg,v 1.2 2006/04/12 11:11:25 murrayc Exp $ */
13
* Copyright (C) 1998-2002 The gtkmm Development Team
15
* This library is free software; you can redistribute it and/or
16
* modify it under the terms of the GNU Lesser General Public
17
* License as published by the Free Software Foundation; either
18
* version 2.1 of the License, or (at your option) any later version.
20
* This library is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23
* Lesser General Public License for more details.
25
* You should have received a copy of the GNU Lesser General Public
26
* License along with this library; if not, write to the Free
27
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
#include <gtkmm/widget.h>
33
#ifndef DOXYGEN_SHOULD_SKIP_THIS
34
typedef struct _GtkInvisible GtkInvisible;
35
typedef struct _GtkInvisibleClass GtkInvisibleClass;
36
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
40
{ class Invisible_Class; } // namespace Gtk
44
/** This widget is used internally in GTK+, and is probably not useful for application developers.
45
* It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.
49
class Invisible : public Widget
52
#ifndef DOXYGEN_SHOULD_SKIP_THIS
53
typedef Invisible CppObjectType;
54
typedef Invisible_Class CppClassType;
55
typedef GtkInvisible BaseObjectType;
56
typedef GtkInvisibleClass BaseClassType;
57
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
61
#ifndef DOXYGEN_SHOULD_SKIP_THIS
64
friend class Invisible_Class;
65
static CppClassType invisible_class_;
68
Invisible(const Invisible&);
69
Invisible& operator=(const Invisible&);
72
explicit Invisible(const Glib::ConstructParams& construct_params);
73
explicit Invisible(GtkInvisible* castitem);
75
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
78
#ifndef DOXYGEN_SHOULD_SKIP_THIS
79
static GType get_type() G_GNUC_CONST;
82
static GType get_base_type() G_GNUC_CONST;
85
///Provides access to the underlying C GtkObject.
86
GtkInvisible* gobj() { return reinterpret_cast<GtkInvisible*>(gobject_); }
88
///Provides access to the underlying C GtkObject.
89
const GtkInvisible* gobj() const { return reinterpret_cast<GtkInvisible*>(gobject_); }
93
//C++ methods used to invoke GTK+ virtual functions:
96
//GTK+ Virtual Functions (override these to change behaviour):
98
//Default Signal Handlers::
105
explicit Invisible(const Glib::RefPtr<Gdk::Screen>& screen);
108
/** Returns the Gdk::Screen object associated with @a invisible
111
* @return The associated Gdk::Screen.
113
Glib::RefPtr<Gdk::Screen> get_screen();
115
/** Returns the Gdk::Screen object associated with @a invisible
118
* @return The associated Gdk::Screen.
120
Glib::RefPtr<const Gdk::Screen> get_screen() const;
122
/** Sets the Gdk::Screen where the Gtk::Invisible object will be displayed.
125
* @param screen A Gdk::Screen.
127
void set_screen(const Glib::RefPtr<Gdk::Screen>& screen);
132
} /* namespace Gtk */
137
/** A Glib::wrap() method for this object.
139
* @param object The C instance.
140
* @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
141
* @result A C++ instance that wraps this C instance.
143
* @relates Gtk::Invisible
145
Gtk::Invisible* wrap(GtkInvisible* object, bool take_copy = false);
149
#endif /* _GTKMM_INVISIBLE_H */