Main Page Widgets Namespaces Book

# Gtk::Invisible Class Reference
[Widgets]

Inheritance diagram for Gtk::Invisible:

[legend]
List of all members.

## Detailed Description

This widget is used internally in GTK+, and is probably not useful for application developers.

It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.

## Public Member Functions
Glib::RefPtr<const Gdk::Screen> | get_screen () const
| Returns the Gdk::Screen object associated with invisible.
Glib::RefPtr<Gdk::Screen> | get_screen ()
| Returns the Gdk::Screen object associated with invisible.
const GtkInvisible* | gobj () const
| Provides access to the underlying C GtkObject.
GtkInvisible* | gobj ()
| Provides access to the underlying C GtkObject.
| Invisible (const Glib::RefPtr<Gdk::Screen>& screen)
| Invisible ()
void | set_screen (const Glib::RefPtr<Gdk::Screen>& screen)
| Sets the Gdk::Screen where the Gtk::Invisible object will be displayed.
virtual | ~Invisible ()
## Related Functions
(Note that these are not member functions.)
Gtk::Invisible* | wrap (GtkInvisible* object, bool take_copy=false)

## Constructor & Destructor Documentation

virtual Gtk::Invisible::~Invisible | ( |  | ) | `[virtual]`

Gtk::Invisible::Invisible | ( |  | ) |

Gtk::Invisible::Invisible | ( | const Glib::RefPtr<Gdk::Screen>& | screen | ) | `[explicit]`

## Member Function Documentation

Glib::RefPtr<const Gdk::Screen> Gtk::Invisible::get_screen | ( |  | ) | const

| Returns the Gdk::Screen object associated with invisible. Returns: The associated Gdk::Screen. Since: 2.2. Reimplemented from Gtk::Widget.

Glib::RefPtr<Gdk::Screen> Gtk::Invisible::get_screen | ( |  | ) |

| Returns the Gdk::Screen object associated with invisible. Returns: The associated Gdk::Screen. Since: 2.2. Reimplemented from Gtk::Widget.

const GtkInvisible* Gtk::Invisible::gobj | ( |  | ) | const`[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::Widget.

GtkInvisible* Gtk::Invisible::gobj | ( |  | ) | `[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::Widget.

void Gtk::Invisible::set_screen | ( | const Glib::RefPtr<Gdk::Screen>& | screen | ) |

  | Sets the Gdk::Screen where the Gtk::Invisible object will be displayed. Since: 2.2 Parameters:
  | screen | A Gdk::Screen.

## Friends And Related Function Documentation

Gtk::Invisible* wrap | ( | GtkInvisible* | object,
|  | bool | take_copy = `false`
| ) | `[related]`

  | Parameters:
  | object | The C instance
  | take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns: A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

- invisible.h