type Gdk_Display_Record is new GObject_Record with null record;
type Gdk_Display is access all Gdk_Display_Record'Class;
type Cb_Gdk_Display_Boolean_Void is not null access procedure (Self : access Gdk_Display_Record'Class; Is_Error : Boolean);
type Cb_GObject_Boolean_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Is_Error : Boolean);
type Cb_Gdk_Display_Void is not null access procedure (Self : access Gdk_Display_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Signal_Closed : constant Glib.Signal_Name := "closed";
Signal_Opened : constant Glib.Signal_Name := "opened";
function Get_Type return Glib.GType;
procedure Beep
( | Self | : not null access Gdk_Display_Record); |
procedure Close
( | Self | : not null access Gdk_Display_Record); |
procedure Flush
( | Self | : not null access Gdk_Display_Record); |
function Get_Default_Cursor_Size
( | Self | : not null access Gdk_Display_Record) return Guint; |
function Get_Default_Group
( | Self | : not null access Gdk_Display_Record) return Gdk.Gdk_Window; |
function Get_Event
( | Self | : not null access Gdk_Display_Record) return Gdk.Event.Gdk_Event; |
procedure Get_Maximal_Cursor_Size
( | Self | : not null access Gdk_Display_Record; |
Width | : out Guint; | |
Height | : out Guint); |
function Get_N_Screens
( | Self | : not null access Gdk_Display_Record) return Gint; |
function Get_Name
( | Self | : not null access Gdk_Display_Record) return UTF8_String; |
function Has_Pending
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Is_Closed
( | Self | : not null access Gdk_Display_Record) return Boolean; |
procedure Keyboard_Ungrab
( | Self | : not null access Gdk_Display_Record; |
Time | : Guint32); |
procedure Notify_Startup_Complete
( | Self | : not null access Gdk_Display_Record; |
Startup_Id | : UTF8_String); |
function Peek_Event
( | Self | : not null access Gdk_Display_Record) return Gdk.Event.Gdk_Event; |
function Pointer_Is_Grabbed
( | Self | : not null access Gdk_Display_Record) return Boolean; |
procedure Pointer_Ungrab
( | Self | : not null access Gdk_Display_Record; |
Time | : Guint32); |
procedure Put_Event
( | Self | : not null access Gdk_Display_Record; |
Event | : Gdk.Event.Gdk_Event); |
function Request_Selection_Notification
( | Self | : not null access Gdk_Display_Record; |
Selection | : Gdk.Types.Gdk_Atom) return Boolean; |
procedure Set_Double_Click_Distance
( | Self | : not null access Gdk_Display_Record; |
Distance | : Guint); |
procedure Set_Double_Click_Time
( | Self | : not null access Gdk_Display_Record; |
Msec | : Guint); |
function Supports_Clipboard_Persistence
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Composite
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Cursor_Alpha
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Cursor_Color
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Input_Shapes
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Selection_Notification
( | Self | : not null access Gdk_Display_Record) return Boolean; |
function Supports_Shapes
( | Self | : not null access Gdk_Display_Record) return Boolean; |
procedure Sync
( | Self | : not null access Gdk_Display_Record); |
procedure Store_Clipboard
( | Display | : not null access Gdk_Display_Record; |
Clipboard_Window | : Gdk.Gdk_Window; | |
Time | : Guint32; | |
Targets | : Gdk.Types.Gdk_Atom_Array); |
procedure Get_Window_At_Pointer
( | Display | : access Gdk_Display_Record; |
Win_X | : out Glib.Gint; | |
Win_Y | : out Glib.Gint; | |
Win | : out Gdk.Gdk_Window); |
function Get_Default return Gdk_Display;
function Open
( | Display_Name | : UTF8_String) return Gdk_Display; |
function Open_Default_Libgtk_Only return Gdk_Display;
procedure On_Closed
( | Self | : not null access Gdk_Display_Record; |
Call | : Cb_Gdk_Display_Boolean_Void; | |
After | : Boolean := False); |
procedure On_Closed
( | Self | : not null access Gdk_Display_Record; |
Call | : Cb_GObject_Boolean_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Opened
( | Self | : not null access Gdk_Display_Record; |
Call | : Cb_Gdk_Display_Void; | |
After | : Boolean := False); |
procedure On_Opened
( | Self | : not null access Gdk_Display_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
Gdk.Display.Gdk_Display objects purpose are two fold: * To manage and provide information about input devices (pointers and keyboards) * To manage and provide information about the available Gdk_Screens GdkDisplay objects are the GDK representation of an X Display, which can be described as *a workstation consisting of a keyboard, a pointing device (such as a mouse) and one or more screens*. It is used to open and keep track of various GdkScreen objects currently instantiated by the application. It is also used to access the keyboard(s) and mouse pointer(s) of the display.
Most of the input device handling has been factored out into the separate Gdk.Device_Manager.Gdk_Device_Manager object. Every display has a device manager, which you can obtain using gdk_display_get_device_manager.