Gdk.Types

Entities

Simple Types

Array Types

Record Types

Subtypes

Constants

Subprograms

Generic Instantiations

Description

<group>Gdk, the low-level API</group>

Button1_Mask

Button1_Mask  : constant Gdk_Modifier_Type;

Button2_Mask

Button2_Mask  : constant Gdk_Modifier_Type;

Button3_Mask

Button3_Mask  : constant Gdk_Modifier_Type;

Button4_Mask

Button4_Mask  : constant Gdk_Modifier_Type;

Button5_Mask

Button5_Mask  : constant Gdk_Modifier_Type;

Control_Mask

Control_Mask  : constant Gdk_Modifier_Type;

Current_Time

Current_Time : constant Guint32 := 0;

Represents the current time in timestamps stored in events

Extension_Mode_Properties

package Extension_Mode_Properties is new Generic_Internal_Discrete_Property
  (Gdk_Extension_Mode);

Gdk_Atom

type Gdk_Atom is new C_Proxy;

This type represents a property of the X-server, that can be manipulated through functions in Gdk.Property. They have an associated name, that can be printed, as well as a value whose type may vary. See the program xlsatoms on any X-Window machine to list all the atoms known by the Xserver.

Gdk_Atom_Array

type Gdk_Atom_Array is array (Natural range <>) of Gdk_Atom;

Gdk_Axis_Use

type Gdk_Axis_Use is
  (Axis_Ignore,
   Axis_X,
   Axis_Y,
   Axis_Pressure,
   Axis_X_Tilt,
   Axis_Y_Tilt,
   Axis_Last);
Enumeration Literal
Axis_Ignore
Axis_X
Axis_Y
Axis_Pressure
Axis_X_Tilt
Axis_Y_Tilt
Axis_Last

Gdk_Byte_Order

type Gdk_Byte_Order is (Lsb_First, Msb_First);
Enumeration Literal
Lsb_First
Msb_First

Gdk_Extension_Mode

type Gdk_Extension_Mode is
  (Extension_Events_None, Extension_Events_All, Extension_Events_Cursor);
Enumeration Literal
Extension_Events_None
Extension_Events_All
Extension_Events_Cursor

Gdk_Grab_Ownership

type Gdk_Grab_Ownership is
  (Ownership_None,
   Ownership_Window,
   Ownership_Application);

Defines how device grabs interact with other devices: None: all other devices' events are allowed Window: other devices' events are blocked for the grab window Application: other devices' events are blocked for the whole app.

Enumeration Literal
Ownership_None
Ownership_Window
Ownership_Application

Gdk_Grab_Status

type Gdk_Grab_Status is
  (Grab_Success,
   Grab_Already_Grabbed,
   Grab_Invalid_Time,
   Grab_Not_Viewable,
   Grab_Frozen);

Indicates the success or reason of failure for a grab attempt

Enumeration Literal
Grab_Success

successfully grabbed

Grab_Already_Grabbed

resource actively grabbed by another client

Grab_Invalid_Time

resource grabbed more recently than the specified time

Grab_Not_Viewable

grab window or confine_to_window are not viewable

Grab_Frozen

resource is frozen by an active grab of another client

Gdk_IC_Attributes_Type

type Gdk_IC_Attributes_Type is new Guint;

Gdk_IM_Style

type Gdk_IM_Style is new Guint;

Gdk_Input_Condition

type Gdk_Input_Condition is (Input_Read, Input_Write, Input_Exception);
Enumeration Literal
Input_Read
Input_Write
Input_Exception

Gdk_Input_Mode

type Gdk_Input_Mode is (Mode_Disabled, Mode_Screen, Mode_Window);
Enumeration Literal
Mode_Disabled
Mode_Screen
Mode_Window

Gdk_Input_Source

type Gdk_Input_Source is
  (Source_Mouse,
   Source_Pen,
   Source_Eraser,
   Source_Cursor,
   Source_Keyboard,
   Source_Touchscreen,
   Source_Touchpad);
Enumeration Literal
Source_Mouse
Source_Pen
Source_Eraser
Source_Cursor
Source_Keyboard
Source_Touchscreen
Source_Touchpad

Gdk_Key_Type

type Gdk_Key_Type is new Guint;

see Gdk.Types.Keysyms for key type constants

Gdk_Modifier_Intent

type Gdk_Modifier_Intent is
   (Primary_Accelerator,
    Context_Menu,
    Extend_Selection,
    Modify_Selection,
    No_Text_Input,
    Shift_Group);

This enum is used with gdk_keymap_get_modifier_mask() and gdk_get_modifier_mask() in order to determine what modifiers the currently used windowing system backend uses for particular purposes. For example, on X11/Windows, the Control key is used for invoking menu shortcuts (accelerators), whereas on Apple computers it's the Command key (which correspond to %GDK_CONTROL_MASK and GDK_MOD2_MASK, respectively).

Enumeration Literal
Primary_Accelerator
Context_Menu
Extend_Selection
Modify_Selection
No_Text_Input
Shift_Group

Gdk_Modifier_Type

type Gdk_Modifier_Type is new Guint;

Gdk_None

Gdk_None : constant Gdk_Atom := null;

No atom constant.

Gdk_Point

type Gdk_Point is record
   X : Gint;
   Y : Gint;
end record;
Record fields
X
Y

Gdk_Points_Array

type Gdk_Points_Array is array (Positive range <>) of Gdk_Point;

Gdk_Segment

type Gdk_Segment is record
   X1 : Gint;
   Y1 : Gint;
   X2 : Gint;
   Y2 : Gint;
end record;
Record fields
X1
Y1
X2
Y2

Gdk_Segments_Array

type Gdk_Segments_Array is array (Positive range <>) of Gdk_Segment;

Gdk_WChar

subtype Gdk_WChar is Standard.Wide_Character;

Gdk does not define a Gdk_WString type, but uses pointers to Gdk_WChar instead.

Gdk_WString

subtype Gdk_WString is Standard.Wide_String;

Gdk does not define a Gdk_WString type, but uses pointers to Gdk_WChar instead.

Hyper_Mask

Hyper_Mask    : constant Gdk_Modifier_Type;

Ic_All_Req

Ic_All_Req              : constant Gdk_IC_Attributes_Type;

Ic_Client_Window

Ic_Client_Window        : constant Gdk_IC_Attributes_Type;

Ic_Cursor

Ic_Cursor               : constant Gdk_IC_Attributes_Type;

Ic_Filter_Events

Ic_Filter_Events        : constant Gdk_IC_Attributes_Type;

Ic_Focus_Window

Ic_Focus_Window         : constant Gdk_IC_Attributes_Type;

Ic_Line_Spacing

Ic_Line_Spacing         : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Area

Ic_Preedit_Area         : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Area_Needed

Ic_Preedit_Area_Needed  : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Area_Req

Ic_Preedit_Area_Req     : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Background

Ic_Preedit_Background   : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Colormap

Ic_Preedit_Colormap     : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Fontset

Ic_Preedit_Fontset      : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Foreground

Ic_Preedit_Foreground   : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Pixmap

Ic_Preedit_Pixmap       : constant Gdk_IC_Attributes_Type;

Ic_Preedit_Position_Req

Ic_Preedit_Position_Req : constant Gdk_IC_Attributes_Type;

Ic_Spot_Location

Ic_Spot_Location        : constant Gdk_IC_Attributes_Type;

Ic_Status_Area

Ic_Status_Area          : constant Gdk_IC_Attributes_Type;

Ic_Status_Area_Needed

Ic_Status_Area_Needed   : constant Gdk_IC_Attributes_Type;

Ic_Status_Area_Req

Ic_Status_Area_Req      : constant Gdk_IC_Attributes_Type;

Ic_Status_Background

Ic_Status_Background    : constant Gdk_IC_Attributes_Type;

Ic_Status_Colormap

Ic_Status_Colormap      : constant Gdk_IC_Attributes_Type;

Ic_Status_Fontset

Ic_Status_Fontset       : constant Gdk_IC_Attributes_Type;

Ic_Status_Foreground

Ic_Status_Foreground    : constant Gdk_IC_Attributes_Type;

Ic_Status_Pixmap

Ic_Status_Pixmap        : constant Gdk_IC_Attributes_Type;

Ic_Style

Ic_Style                : constant Gdk_IC_Attributes_Type;

Im_Preedit_Area

Im_Preedit_Area      : constant Gdk_IM_Style;

Im_Preedit_Callbacks

Im_Preedit_Callbacks : constant Gdk_IM_Style;

Im_Preedit_Mask

Im_Preedit_Mask      : constant Gdk_IM_Style;

Im_Preedit_None

Im_Preedit_None      : constant Gdk_IM_Style;

Im_Preedit_Nothing

Im_Preedit_Nothing   : constant Gdk_IM_Style;

Im_Preedit_Position

Im_Preedit_Position  : constant Gdk_IM_Style;

Im_Status_Area

Im_Status_Area       : constant Gdk_IM_Style;

Im_Status_Callbacks

Im_Status_Callbacks  : constant Gdk_IM_Style;

Im_Status_Mask

Im_Status_Mask       : constant Gdk_IM_Style;

Im_Status_None

Im_Status_None       : constant Gdk_IM_Style;

Im_Status_Nothing

Im_Status_Nothing    : constant Gdk_IM_Style;

Lock_Mask

Lock_Mask     : constant Gdk_Modifier_Type;

Meta_Mask

Meta_Mask     : constant Gdk_Modifier_Type;

Mod1_Mask

Mod1_Mask     : constant Gdk_Modifier_Type;

Mod2_Mask

Mod2_Mask     : constant Gdk_Modifier_Type;

Mod3_Mask

Mod3_Mask     : constant Gdk_Modifier_Type;

Mod4_Mask

Mod4_Mask     : constant Gdk_Modifier_Type;

Mod5_Mask

Mod5_Mask     : constant Gdk_Modifier_Type;

Modifier_Mask

Modifier_Mask : constant Gdk_Modifier_Type;

Primary_Mod_Mask

function Primary_Mod_Mask return Gdk_Modifier_Type
Return Value

Property_Gdk_Extension_Mode

type Property_Gdk_Extension_Mode is new Extension_Mode_Properties.Property;

Release_Mask

Release_Mask  : constant Gdk_Modifier_Type;

Shift_Mask

Shift_Mask    : constant Gdk_Modifier_Type;

Super_Mask

Super_Mask    : constant Gdk_Modifier_Type;