Gtk.Cell_Renderer_Accel

Entities

Tagged Types

Access Types

Constants

Subprograms

Description

Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel displays a keyboard accelerator (i.e. a key combination like Control + a). If the cell renderer is editable, the accelerator can be changed by simply typing the new combination.

The Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel cell renderer was added in GTK+ 2.10.

Accel_Key_Property

Accel_Key_Property : constant Glib.Properties.Property_Uint;

The keyval of the accelerator.

Accel_Mode_Property

Accel_Mode_Property : constant Glib.Properties.Property_Boxed;

Type: Cell_Renderer_Accel_Mode Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.

Accel_Mods_Property

Accel_Mods_Property : constant Glib.Properties.Property_Boxed;

Type: Gdk.Types.Gdk_Modifier_Type The modifier mask of the accelerator.

Cb_GObject_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void

type Cb_GObject_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void is not null access procedure
  (Self             : access Glib.Object.GObject_Record'Class;
   Path_String      : UTF8_String;
   Accel_Key        : Guint;
   Accel_Mods       : Gdk.Types.Gdk_Modifier_Type;
   Hardware_Keycode : Guint);
Parameters
Self
Path_String
Accel_Key
Accel_Mods
Hardware_Keycode

Cb_GObject_UTF8_String_Void

type Cb_GObject_UTF8_String_Void is not null access procedure
  (Self        : access Glib.Object.GObject_Record'Class;
   Path_String : UTF8_String);
Parameters
Self
Path_String

Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void

type Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void is not null access procedure
  (Self             : access Gtk_Cell_Renderer_Accel_Record'Class;
   Path_String      : UTF8_String;
   Accel_Key        : Guint;
   Accel_Mods       : Gdk.Types.Gdk_Modifier_Type;
   Hardware_Keycode : Guint);
Parameters
Self
Path_String
Accel_Key
Accel_Mods
Hardware_Keycode

Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Void

type Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Void is not null access procedure
  (Self        : access Gtk_Cell_Renderer_Accel_Record'Class;
   Path_String : UTF8_String);
Parameters
Self
Path_String

Get_Type

function Get_Type return Glib.GType
Return Value

Gtk_Cell_Renderer_Accel

type Gtk_Cell_Renderer_Accel is access all Gtk_Cell_Renderer_Accel_Record'Class;

Gtk_Cell_Renderer_Accel_New

function Gtk_Cell_Renderer_Accel_New return Gtk_Cell_Renderer_Accel

Creates a new Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel. Since: gtk+ 2.10

Return Value

Gtk_Cell_Renderer_Accel_Record

type Gtk_Cell_Renderer_Accel_Record is new Gtk_Cell_Renderer_Text_Record with null record;

Gtk_New

procedure Gtk_New (Self : out Gtk_Cell_Renderer_Accel)

Creates a new Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel. Since: gtk+ 2.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self

Initialize

procedure Initialize
   (Self : not null access Gtk_Cell_Renderer_Accel_Record'Class)

Creates a new Gtk.Cell_Renderer_Accel.Gtk_Cell_Renderer_Accel. Since: gtk+ 2.10 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self

Keycode_Property

Keycode_Property : constant Glib.Properties.Property_Uint;

The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys.

On_Accel_Cleared

procedure On_Accel_Cleared
   (Self  : not null access Gtk_Cell_Renderer_Accel_Record;
    Call  : Cb_GObject_UTF8_String_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

Gets emitted when the user has removed the accelerator.

Parameters
Self
Call
Slot
After

On_Accel_Cleared

procedure On_Accel_Cleared
   (Self  : not null access Gtk_Cell_Renderer_Accel_Record;
    Call  : Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Void;
    After : Boolean := False)

Gets emitted when the user has removed the accelerator.

Parameters
Self
Call
After

On_Accel_Edited

procedure On_Accel_Edited
   (Self  : not null access Gtk_Cell_Renderer_Accel_Record;
    Call  : Cb_GObject_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void;
    Slot  : not null access Glib.Object.GObject_Record'Class;
    After : Boolean := False)

Gets emitted when the user has selected a new accelerator.

Callback parameters: -- @param Path_String the path identifying the row of the edited cell -- @param Accel_Key the new accelerator keyval -- @param Accel_Mods the new acclerator modifier mask -- @param Hardware_Keycode the keycode of the new accelerator

Parameters
Self
Call
Slot
After

On_Accel_Edited

procedure On_Accel_Edited
   (Self  : not null access Gtk_Cell_Renderer_Accel_Record;
    Call  : Cb_Gtk_Cell_Renderer_Accel_UTF8_String_Guint_Gdk_Modifier_Type_Guint_Void;
    After : Boolean := False)

Gets emitted when the user has selected a new accelerator.

Callback parameters: -- @param Path_String the path identifying the row of the edited cell -- @param Accel_Key the new accelerator keyval -- @param Accel_Mods the new acclerator modifier mask -- @param Hardware_Keycode the keycode of the new accelerator

Parameters
Self
Call
After

Signal_Accel_Cleared

Signal_Accel_Cleared : constant Glib.Signal_Name := "accel-cleared";

Gets emitted when the user has removed the accelerator.

Signal_Accel_Edited

Signal_Accel_Edited : constant Glib.Signal_Name := "accel-edited";

Gets emitted when the user has selected a new accelerator.

Callback parameters: -- @param Path_String the path identifying the row of the edited cell -- @param Accel_Key the new accelerator keyval -- @param Accel_Mods the new acclerator modifier mask -- @param Hardware_Keycode the keycode of the new accelerator