|
class gtk.gdk.DisplayManager( |
Functions
def gtk.gdk.display_manager_get()
This object is available in PyGTK 2.2 and above.
The gtk.gdk.DisplayManager
is a singleton object that offers notification when displays appear or
disappear or the default display changes. The global gtk.gdk.DisplayManager
object is returned from the gtk.gdk.display_manager_get
()
function.
def get_default_display()
Returns : | a gtk.gdk.Display ,
or None if there is no default
display. |
This method is available in PyGTK 2.2 and above.
The get_default_display
() method
returns the default gtk.gdk.Display
.
def set_default_display(display
)
| a gtk.gdk.Display |
This method is available in PyGTK 2.2 and above.
The set_default_display
() method sets
the gtk.gdk.Display
specified by display
as the default display.
def list_displays()
Returns : | a list containing gtk.gdk.Display
objects. |
This method is available in PyGTK 2.2 and above.
The list_displays
() method returns a
list containing all currently open displays.
def gtk.gdk.display_manager_get()
Returns : |
the singleton gtk.gdk.DisplayManager
object. |
This function is available in PyGTK 2.2 and above.
The gtk.gdk.display_manager_get
()
method returns the global gtk.gdk.DisplayManager
singleton.
def callback(displaymanager
, display
, user_param1
, ...
)
| the displaymanager that received the signal |
| the display that was opened |
| the first user parameter (if any) specified
with the connect () |
| additional user parameters (if any) |
This signal is available in GTK+ 2.2 and above.
The "display-opened" signal is emitted when display is opened.
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.