Description
Gdk_Display objects purpose are two fold:
- To grab/ungrab keyboard focus and mouse pointer
- To manage and provide information about the Gdk_Screen(s) available
for this
Gdk_Display
Gdk_Display objects are the GDK representation of the 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 Gdk_Screen objects currently instanciated by the
application. It is also used to grab and release the keyboard and the mouse
pointer.
Subprograms
-
-
function Open (Display_Name : String) return Gdk_Display;
-
function Get_Default return Gdk_Display;
-
function Get_Name (Display : access Gdk_Display_Record) return String;
-
function Get_N_Screens
(Display : access Gdk_Display_Record) return Glib.Gint;
-
procedure Pointer_Ungrab
(Display : access Gdk_Display_Record;
Time : Glib.Guint32 := Gdk.Types.Current_Time);
-
procedure Keyboard_Ungrab
(Display : access Gdk_Display_Record;
Time : Glib.Guint32 := Gdk.Types.Current_Time);
-
function Pointer_Is_Grabbed
(Display : access Gdk_Display_Record) return Boolean;
-
procedure Beep (Display : access Gdk_Display_Record);
-
procedure Sync (Display : access Gdk_Display_Record);
-
procedure Flush (Display : access Gdk_Display_Record);
-
procedure Close (Display : access Gdk_Display_Record);
-
-
-
-
procedure Set_Double_Click_Time
(Display : access Gdk_Display_Record;
Msec : Glib.Guint);
-
procedure Set_Double_Click_Distance
(Display : access Gdk_Display_Record;
Distance : Glib.Guint);
-
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 Supports_Cursor_Color
(Display : access Gdk_Display_Record) return Boolean;
-
function Supports_Cursor_Alpha
(Display : access Gdk_Display_Record) return Boolean;
-
function Get_Default_Cursor_Size
(Display : access Gdk_Display_Record) return Glib.Guint;
-
procedure Get_Maximal_Cursor_Size
(Display : access Gdk_Display_Record;
Width : out Glib.Guint;
Height : out Glib.Guint);
-
function Get_Default_Group
(Display :
access Gdk_Display_Record)
return Gdk.Gdk_Window;
-
function Supports_Selection_Notification
(Display : access Gdk_Display_Record) return Boolean;
-
function Request_Selection_Notification
(Display : access Gdk_Display_Record;
Selection : Gdk.Types.Gdk_Atom) return Boolean;
-
function Supports_Clipboard_Persistence
(Display : access Gdk_Display_Record) return Boolean;
-
procedure Store_Clipboard
(Display :
access Gdk_Display_Record;
Clipboard_Window :
Gdk.Gdk_Window;
Time :
Glib.Guint32;
Targets : Gdk.Types.Gdk_Atom_Array);