Gtk.Invisible


Gtk.Invisible — A widget which is not displayed

Object Hierarchy:

    GObject
    ╰── GInitiallyUnowned
        ╰── Gtk.Widget
            ╰── Gtk.Invisible

Functions:

Description:

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.


Function Details:

new()

new () -> Gtk.Widget

Creates a new Gtk.Invisible.

  • Returns: a new Gtk.Invisible.

new_for_screen()

new_for_screen (screen:Gdk.Screen) -> Gtk.Widget

Creates a new Gtk.Invisible object for a specified screen

  • Returns: a newly created Gtk.Invisible object

  • Since: 2.2


set_screen()

set_screen (self, screen:Gdk.Screen)

Sets the GdkScreen where the Gtk.Invisible object will be displayed.

  • Since: 2.2

get_screen()

get_screen (self) -> Gdk.Screen

Returns the GdkScreen object associated with invisible

  • Returns: the associated GdkScreen.

  • Since: 2.2


results matching ""

    No results matching ""