Description
This package provides routines to handle initialization and set up of the
Gdk library.
Types
-
type Gdk_Grab_Status is
(Grab_Success,
Grab_Already_Grabbed,
Gdk_Grab_Invalid_Time,
Gdk_Grab_Not_Viewable,
Gdk_Grab_Frozen);
Subprograms
-
procedure Init;
-
procedure Gdk_Exit (Error_Code : Gint);
-
function Set_Locale return String;
-
procedure Set_Locale;
-
procedure Set_Use_Xshm (Use_Xshm : Boolean := True);
-
function Get_Use_Xshm return Boolean;
-
function Get_Display return String;
-
function Pointer_Grab
(Window : Gdk.Window.Gdk_Window;
Owner_Events : Boolean := True;
Event_Mask :
Gdk.Event.Gdk_Event_Mask;
Confine_To : Gdk.Window.Gdk_Window := Gdk.Window.Null_Window;
Cursor : Gdk.Cursor.Gdk_Cursor := Gdk.Cursor.Null_Cursor;
Time : Guint32 := 0)
return Gdk_Grab_Status;
-
procedure Pointer_Ungrab (Time : Guint32 := 0);
-
function Pointer_Is_Grabbed return Boolean;
-
function Keyboard_Grab
(Window : Gdk.Window.Gdk_Window;
Owner_Events : Boolean := True;
Time : Guint32 := 0) return Gdk_Grab_Status;
-
procedure Keyboard_Ungrab (Time : Guint32 := 0);
-
function Screen_Width return Gint;
-
function Screen_Height return Gint;
-
function Screen_Width_MM return Gint;
-
function Screen_Height_MM return Gint;
-
procedure Flush;
-
procedure Beep;
-
procedure Set_Double_Click_Time (Msec : Guint);