Next: , Previous: GtkDialog, Up: Top


3 GtkInvisible

A widget which is not displayed

3.1 Overview

The <gtk-invisible> widget is used internally in GTK+, and is probably not very useful for application developers.

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

3.2 Usage

— Class: <gtk-invisible>

Derives from <gtk-widget>.

This class defines the following slots:

screen
The screen where this window will be displayed
— Function: gtk-invisible-new ⇒  (ret <gtk-widget>)

Creates a new <gtk-invisible>.

ret
a new <gtk-invisible>.
— Function: gtk-invisible-new-for-screen (screen <gdk-screen>) ⇒  (ret <gtk-widget>)

Creates a new <gtk-invisible> object for a specified screen

screen
a <gdk-screen> which identifies on which the new <gtk-invisible> will be created.
ret
a newly created <gtk-invisible> object

Since 2.2

— Function: gtk-invisible-set-screen (self <gtk-invisible>) (screen <gdk-screen>)
— Method: set-screen

Sets the <gdk-screen> where the <gtk-invisible> object will be displayed.

invisible
a <gtk-invisible>.
screen
a <gdk-screen>.

Since 2.2

— Function: gtk-invisible-get-screen (self <gtk-invisible>) ⇒  (ret <gdk-screen>)
— Method: get-screen

Returns the <gdk-screen> object associated with invisible

invisible
a <gtk-invisible>.
ret
the associated <gdk-screen>.

Since 2.2