Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gdk.Screen

Class Gdk.Screen

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkScreen
Class : Screen
Extends: GObject.Object
GdkScreen objects are the GDK representation of the screen on
which windows can be displayed and on which the pointer moves.
X originally identified screens with physical screens, but
nowadays it is more common to have a single GdkScreen which
combines several physical monitors (see gdk_screen_get_n_monitors()).
GdkScreen is used throughout GDK and GTK+ to specify which screen
the top level windows are to be displayed on. it is also used to
query the screen specification and default settings such as
the default visual (gdk_screen_get_system_visual()), the dimensions
of the physical monitors (gdk_screen_get_monitor_geometry()), etc.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
EvinceDocument.Attachment
Method
open (Screen screen, guint32 timestamp) : gboolean
EvinceDocument.Document
Method
EvinceDocument.Document.misc_get_screen_dpi (Screen screen) : gdouble
EvinceView
Method
EvinceView.stock_icons_set_screen (Screen screen) : none
Gdk
Method
Gdk.drag_find_window_for_screen (DragContext context, Window drag_window, Screen screen, gint32 x_root, gint32 y_root) : Object
Finds the destination window and DND protocol to use at the
given pointer position.
Gdk
Method
Gdk.pango_context_get_for_screen (Screen screen) : Pango.Context
Creates a PangoContext for screen.
Gdk.AppLaunchContext
Method
set_screen (Screen screen) : none
Sets the screen on which applications will be launched when
using this context.
Gdk.Device
Method
get_position () : Object
Gets the current location of device.
Gdk.Device
Method
warp (Screen screen, gint32 x, gint32 y) : none
Warps device in display to the point x,y on
the screen screen, unless the device is confined
to a window by a grab, in which case it will be moved
as far as allowed by the grab.
Gdk.Display
Method
get_default_screen () : Gdk.Screen
Get the default GdkScreen for display.
Gdk.Display
Method
get_pointer () : Object
Gets the current location of the pointer and the current modifier
mask for a given display.
Gdk.Display
Method
get_screen (gint32 screen_num) : Gdk.Screen
Returns a screen object for one of the screens of the display.
Gdk.Display
Method
warp_pointer (Screen screen, gint32 x, gint32 y) : none
Warps the pointer of display to the point x,y on
the screen screen, unless the pointer is confined
to a window by a grab, in which case it will be moved
as far as allowed by the grab.
Gdk.Event
Method
get_screen () : Gdk.Screen
Returns the screen for the event.
Gdk.Event
Method
set_screen (Screen screen) : none
Sets the screen for event to screen.
Gdk.Visual
Method
get_screen () : Gdk.Screen
Gets the screen to which this visual belongs
Gdk.Window
Method
get_screen () : Gdk.Screen
Gets the GdkScreen associated with a GdkWindow.
GdkX11.X11Screen
Method
GdkX11.X11Screen.get_screen_number (Screen screen) : gint32
Returns the index of a GdkScreen.
GdkX11.X11Screen
Method
GdkX11.X11Screen.get_window_manager_name (Screen screen) : String
Returns the name of the window manager for screen.
GdkX11.X11Screen
Method
GdkX11.X11Screen.get_xscreen (Screen screen) : xlib.Screen
Returns the screen of a GdkScreen.
GdkX11.X11Screen
Method
GdkX11.X11Screen.lookup_visual (Screen screen, VisualID xvisualid) : Gdk.Visual
Looks up the GdkVisual for a particular screen and X Visual ID.
GdkX11.X11Screen
Method
GdkX11.X11Screen.supports_net_wm_hint (Screen screen, Atom property) : gboolean
This function is specific to the X11 backend of GDK, and indicates
whether the window manager supports a certain hint from the
Extended Window Manager Hints Specification.
Gtk
Method
Gtk.alternative_dialog_button_order (Screen screen) : gboolean
Returns TRUE if dialogs are expected to use an alternative
button order on the screen screen.
Gtk
Method
Gtk.show_uri (Screen screen, String uri, guint32 timestamp) : gboolean
This is a convenience function for launching the default application
to show the uri.
Gtk.IconTheme
Method
Gtk.IconTheme.get_for_screen (Screen screen) : Gtk.IconTheme
Gets the icon theme object associated with screen; if this
function has not previously been called for the given
screen, a new icon theme object will be created and
associated with the screen.
Gtk.IconTheme
Method
set_screen (Screen screen) : none
Sets the screen for an icon theme; the screen is used
to track the user's currently configured icon theme,
which might be different for different screens.
Gtk.Invisible
Property
screen : Gdk.Screen
Gtk.Invisible
Method
new Gtk.Invisible.for_screen (Screen screen) : Gtk.Widget
Create a new Gtk.Invisible
Gtk.Invisible
Method
get_screen () : Gdk.Screen
Returns the GdkScreen object associated with invisible
Gtk.Invisible
Method
set_screen (Screen screen) : none
Sets the GdkScreen where the GtkInvisible object will be displayed.
Gtk.Menu
Method
set_screen (Screen screen) : none
Sets the GdkScreen on which the menu will be displayed.
Gtk.MountOperation
Property
screen : Gdk.Screen
Gtk.MountOperation
Method
get_screen () : Gdk.Screen
Gets the screen on which windows of the GtkMountOperation
will be shown.
Gtk.MountOperation
Method
set_screen (Screen screen) : none
Sets the screen to show windows of the GtkMountOperation on.
Gtk.Settings
Method
Gtk.Settings.get_for_screen (Screen screen) : Gtk.Settings
Gets the GtkSettings object for screen, creating it if necessary.
Gtk.StatusIcon
Property
screen : Gdk.Screen
Gtk.StatusIcon
Method
get_screen () : Gdk.Screen
Returns the GdkScreen associated with status_icon.
Gtk.StatusIcon
Method
set_screen (Screen screen) : none
Sets the GdkScreen where status_icon is displayed; if
the icon is already mapped, it will be unmapped, and
then remapped on the new screen.
Gtk.StyleContext
Property
screen : Gdk.Screen
Gtk.StyleContext
Method
Gtk.StyleContext.add_provider_for_screen (Screen screen, StyleProvider provider, guint32 priority) : none
Adds a global style provider to screen, which will be used
in style construction for all GtkStyleContexts under
GTK+ uses this to make styling information from GtkSettings
available.
Gtk.StyleContext
Method
Gtk.StyleContext.remove_provider_for_screen (Screen screen, StyleProvider provider) : none
Removes provider from the global style providers list in screen.
Gtk.StyleContext
Method
Gtk.StyleContext.reset_widgets (Screen screen) : none
This function recomputes the styles for all widgets under a particular
GdkScreen.
Gtk.StyleContext
Method
get_screen () : Gdk.Screen
Returns the GdkScreen to which context is attached.
Gtk.StyleContext
Method
set_screen (Screen screen) : none
Attaches context to the given screen.
Gtk.ThemingEngine
Method
get_screen () : Gdk.Screen
Returns the GdkScreen to which engine currently rendering to.
Gtk.Widget
Signal
screen_changed (Widget self, Screen previous_screen) : none
The ::screen-changed signal gets emitted when the
screen of a widget has changed.
Gtk.Widget
Method
get_screen () : Gdk.Screen
Get the GdkScreen from the toplevel window associated with
this widget.
Gtk.Window
Property
screen : Gdk.Screen
Gtk.Window
Method
get_screen () : Gdk.Screen
Returns the GdkScreen associated with window.
Gtk.Window
Method
set_screen (Screen screen) : none
Sets the GdkScreen where the window is displayed; if
the window is already mapped, it will be unmapped, and
then remapped on the new screen.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:55 GMT+0800 (HKT)