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

virtual | ~Invisible ()
GtkInvisible* | gobj ()
| Provides access to the underlying C GtkObject.
const GtkInvisible* | gobj () const
| Provides access to the underlying C GtkObject.
| Invisible ()
| Invisible (const Glib::RefPtr<Gdk::Screen>& screen)
Glib::RefPtr<Gdk::Screen> | get_screen ()
| Returns the Gdk::Screen object associated with invisible.
Glib::RefPtr<const Gdk::Screen> | get_screen () const
| Returns the Gdk::Screen object associated with invisible.
void | set_screen (const Glib::RefPtr<Gdk::Screen>& screen)
| Sets the Gdk::Screen where the Gtk::Invisible object will be displayed.

## 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]`

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

- invisible.h