The abstract base class for GTK's list widgets.
# Shortcuts and Gestures
GtkListBase supports the following keyboard shortcuts:
<kbd>Ctrl</kbd>+<kbd>A</kbd> or <kbd>Ctrl</kbd>+<kbd>/</kbd> selects
all items. - <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>A</kbd> or <kbd>Ctrl</kbd>+<kbd>\</kbd> unselects all items.
The focused item is controlled by the navigation keys below, combined with the <kbd>Ctrl</kbd> modifier to prevent moving the selection, and the <kbd>Shift</kbd> modifier to extend the current selection.
<kbd>â</kbd>, <kbd>â</kbd>, <kbd>â</kbd>, <kbd>â</kbd> move the focus on
the next item in the designed direction. - <kbd>Home</kbd> and <kbd>End</kbd> focus the first or last item. - <kbd>PgUp</kbd> and <kbd>PgDn</kbd> move the focus one page up or down.
List item widgets support the following keyboard shortcuts:
<kbd>Enter</kbd> activates the item. - <kbd>â£</kbd> selects the item,
with the same <kbd>Ctrl</kbd> and <kbd>Shift</kbd> modifiers combinations as the navigation keys.
# Actions
GtkListBase defines a set of built-in actions:
list.scroll-to-item moves the visible area to the item at given
position with the minimum amount of scrolling required. If the item is already visible, nothing happens. - list.select-item changes the selection. - list.select-all selects all items in the model, if the selection model supports it. - list.unselect-all unselects all items in the model, if the selection model supports it.
List item widgets install the following actions:
listitem.select changes selection if the item is selectable. -
listitem.scroll-to moves the visible area of the list to this item with the minimum amount of scrolling required.
function "+"
(Widget : access Gtk_List_Base_Record'Class)
return Gtk.Accessible.Gtk_Accessible
function "+"
(Widget : access Gtk_List_Base_Record'Class)
return Gtk.Buildable.Gtk_Buildable
function "+"
(Widget : access Gtk_List_Base_Record'Class)
return Gtk.Constraint_Target.Gtk_Constraint_Target
function "+"
(Widget : access Gtk_List_Base_Record'Class)
return Gtk.Orientable.Gtk_Orientable
function "+"
(Widget : access Gtk_List_Base_Record'Class)
return Gtk.Scrollable.Gtk_Scrollable
function "-"
(Interf : Gtk.Accessible.Gtk_Accessible)
return Gtk_List_Base
function "-"
(Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_List_Base
function "-"
(Interf : Gtk.Constraint_Target.Gtk_Constraint_Target)
return Gtk_List_Base
function "-"
(Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_List_Base
function "-"
(Interf : Gtk.Scrollable.Gtk_Scrollable)
return Gtk_List_Base
procedure Announce
(Self : not null access Gtk_List_Base_Record;
Message : UTF8_String;
Priority : Gtk.Accessible.Gtk_Accessible_Announcement_Priority)
function Get_Accessible_Id
(Self : not null access Gtk_List_Base_Record) return UTF8_String
function Get_Accessible_Parent
(Self : not null access Gtk_List_Base_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Accessible_Role
(Self : not null access Gtk_List_Base_Record)
return Gtk.Accessible.Gtk_Accessible_Role
function Get_At_Context
(Self : not null access Gtk_List_Base_Record)
return Gtk.Atcontext.Gtk_Atcontext
function Get_Border
(Self : not null access Gtk_List_Base_Record;
Border : out Gtk.Scrollable.Gtk_Border) return Boolean
function Get_Bounds
(Self : not null access Gtk_List_Base_Record;
X : out Glib.Gint;
Y : out Glib.Gint;
Width : out Glib.Gint;
Height : out Glib.Gint) return Boolean
function Get_First_Accessible_Child
(Self : not null access Gtk_List_Base_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Hadjustment
(Self : not null access Gtk_List_Base_Record)
return Gtk.Adjustment.Gtk_Adjustment
function Get_Hscroll_Policy
(Self : not null access Gtk_List_Base_Record)
return Gtk.Enums.Gtk_Scrollable_Policy
function Get_Next_Accessible_Sibling
(Self : not null access Gtk_List_Base_Record)
return Gtk.Accessible.Gtk_Accessible
function Get_Orientation
(Self : not null access Gtk_List_Base_Record)
return Gtk.Enums.Gtk_Orientation
function Get_Platform_State
(Self : not null access Gtk_List_Base_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State) return Boolean
function Get_Type return Glib.GType
function Get_Vadjustment
(Self : not null access Gtk_List_Base_Record)
return Gtk.Adjustment.Gtk_Adjustment
function Get_Vscroll_Policy
(Self : not null access Gtk_List_Base_Record)
return Gtk.Enums.Gtk_Scrollable_Policy
type Gtk_List_Base is access all Gtk_List_Base_Record'Class;
type Gtk_List_Base_Record is new Gtk_Widget_Record with null record;
package Implements_Gtk_Accessible is new Glib.Types.Implements
(Gtk.Accessible.Gtk_Accessible, Gtk_List_Base_Record, Gtk_List_Base);
package Implements_Gtk_Buildable is new Glib.Types.Implements
(Gtk.Buildable.Gtk_Buildable, Gtk_List_Base_Record, Gtk_List_Base);
package Implements_Gtk_Constraint_Target is new Glib.Types.Implements
(Gtk.Constraint_Target.Gtk_Constraint_Target, Gtk_List_Base_Record, Gtk_List_Base);
package Implements_Gtk_Orientable is new Glib.Types.Implements
(Gtk.Orientable.Gtk_Orientable, Gtk_List_Base_Record, Gtk_List_Base);
package Implements_Gtk_Scrollable is new Glib.Types.Implements
(Gtk.Scrollable.Gtk_Scrollable, Gtk_List_Base_Record, Gtk_List_Base);
Orientation_Property : constant Gtk.Enums.Property_Gtk_Orientation;
The orientation of the list. See GtkOrientable:orientation for details.
procedure Reset_Property
(Self : not null access Gtk_List_Base_Record;
Property : Gtk.Accessible.Gtk_Accessible_Property)
procedure Reset_Relation
(Self : not null access Gtk_List_Base_Record;
Relation : Gtk.Accessible.Gtk_Accessible_Relation)
procedure Reset_State
(Self : not null access Gtk_List_Base_Record;
State : Gtk.Accessible.Gtk_Accessible_State)
procedure Set_Accessible_Parent
(Self : not null access Gtk_List_Base_Record;
Parent : Gtk.Accessible.Gtk_Accessible;
Next_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Set_Hadjustment
(Self : not null access Gtk_List_Base_Record;
Hadjustment : access Gtk.Adjustment.Gtk_Adjustment_Record'Class)
procedure Set_Hscroll_Policy
(Self : not null access Gtk_List_Base_Record;
Policy : Gtk.Enums.Gtk_Scrollable_Policy)
procedure Set_Orientation
(Self : not null access Gtk_List_Base_Record;
Orientation : Gtk.Enums.Gtk_Orientation)
procedure Set_Vadjustment
(Self : not null access Gtk_List_Base_Record;
Vadjustment : access Gtk.Adjustment.Gtk_Adjustment_Record'Class)
procedure Set_Vscroll_Policy
(Self : not null access Gtk_List_Base_Record;
Policy : Gtk.Enums.Gtk_Scrollable_Policy)
procedure Update_Next_Accessible_Sibling
(Self : not null access Gtk_List_Base_Record;
New_Sibling : Gtk.Accessible.Gtk_Accessible)
procedure Update_Platform_State
(Self : not null access Gtk_List_Base_Record;
State : Gtk.Accessible.Gtk_Accessible_Platform_State)