Gtk.Invisible

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Invisible Gtk.Invisible Gtk.Widget->Gtk.Invisible

Subclasses:None

Properties

Inherited:Gtk.Widget (39)
Name Type Flags Short Description
screen Gdk.Screen r/w The screen where this window will be displayed

Style Properties

Inherited:Gtk.Widget (17)

Fields

Inherited:Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
widget Gtk.Widget r  

Class Details

class Gtk.Invisible(**kwargs)
Bases:Gtk.Widget
Abstract:No
Structure:Gtk.InvisibleClass

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.

classmethod new()[source]
Returns:a new Gtk.Invisible.
Return type:Gtk.Widget

Creates a new Gtk.Invisible.

classmethod new_for_screen(screen)[source]
Parameters:screen (Gdk.Screen) – a Gdk.Screen which identifies on which the new Gtk.Invisible will be created.
Returns:a newly created Gtk.Invisible object
Return type:Gtk.Widget

Creates a new Gtk.Invisible object for a specified screen

New in version 2.2.

get_screen()[source]
Returns:the associated Gdk.Screen.
Return type:Gdk.Screen

Returns the Gdk.Screen object associated with self

New in version 2.2.

set_screen(screen)[source]
Parameters:screen (Gdk.Screen) – a Gdk.Screen.

Sets the Gdk.Screen where the Gtk.Invisible object will be displayed.

New in version 2.2.

Property Details

Gtk.Invisible.props.screen
Name:screen
Type:Gdk.Screen
Default Value:None
Flags:READABLE, WRITABLE

The screen where this window will be displayed