![]() | ![]() | ![]() | GTK+ Reference Manual | ![]() |
---|
GtkInvisibleGtkInvisible — A widget which is not displayed |
#include <gtk/gtk.h> GtkInvisible; GtkWidget* gtk_invisible_new (void); GtkWidget* gtk_invisible_new_for_screen (GdkScreen *screen);void gtk_invisible_set_screen (GtkInvisible *invisible,GdkScreen *screen);GdkScreen * gtk_invisible_get_screen (GtkInvisible *invisible);
The GtkInvisible 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.
typedef struct _GtkInvisible GtkInvisible;
The GtkInvisible-struct struct contains no public fields.
GtkWidget* gtk_invisible_new (void);
Creates a new GtkInvisible.
Returns : | a new GtkInvisible. |
GtkWidget* gtk_invisible_new_for_screen (GdkScreen *screen);
Creates a new GtkInvisible object for a specified screen
screen : | a |
Returns : | a newly created GtkInvisible object |
Since 2.2
void gtk_invisible_set_screen (GtkInvisible *invisible,GdkScreen *screen);
Sets the
invisible : | a GtkInvisible. |
screen : | a |
Since 2.2
GdkScreen * gtk_invisible_get_screen (GtkInvisible *invisible);
Returns the
invisible : | a GtkInvisible. |
Returns : | the associated |
Since 2.2
<< GtkDialog | GtkMessageDialog >> |