Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtklistbase.h File Reference

Go to the source code of this file.

Macros

#define GTK_TYPE_LIST_BASE   (gtk_list_base_get_type ())
 
#define GTK_LIST_BASE(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LIST_BASE, GtkListBase))
 
#define GTK_LIST_BASE_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_LIST_BASE, GtkListBaseClass))
 
#define GTK_IS_LIST_BASE(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LIST_BASE))
 
#define GTK_IS_LIST_BASE_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_LIST_BASE))
 
#define GTK_LIST_BASE_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_LIST_BASE, GtkListBaseClass))
 

Typedefs

typedef struct _GtkListBase GtkListBase
 
typedef struct _GtkListBaseClass GtkListBaseClass
 

Functions

GDK_AVAILABLE_IN_ALL GType gtk_list_base_get_type (void) G_GNUC_CONST
 

Macro Definition Documentation

◆ GTK_IS_LIST_BASE

#define GTK_IS_LIST_BASE ( o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LIST_BASE))

Definition at line 34 of file gtklistbase.h.

◆ GTK_IS_LIST_BASE_CLASS

#define GTK_IS_LIST_BASE_CLASS ( k)    (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_LIST_BASE))

Definition at line 35 of file gtklistbase.h.

◆ GTK_LIST_BASE

#define GTK_LIST_BASE ( o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LIST_BASE, GtkListBase))

Definition at line 32 of file gtklistbase.h.

◆ GTK_LIST_BASE_CLASS

#define GTK_LIST_BASE_CLASS ( k)    (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_LIST_BASE, GtkListBaseClass))

Definition at line 33 of file gtklistbase.h.

◆ GTK_LIST_BASE_GET_CLASS

#define GTK_LIST_BASE_GET_CLASS ( o)    (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_LIST_BASE, GtkListBaseClass))

Definition at line 36 of file gtklistbase.h.

◆ GTK_TYPE_LIST_BASE

#define GTK_TYPE_LIST_BASE   (gtk_list_base_get_type ())

Definition at line 31 of file gtklistbase.h.

Typedef Documentation

◆ GtkListBase

typedef struct _GtkListBase GtkListBase

GtkListBase:

GtkListBase is the abstract base class for GTK's list widgets.

Shortcuts and Gestures

GtkListBase supports the following keyboard shortcuts:

  • Ctrl+A or Ctrl+/ selects all items.
  • Ctrl+Shift+A or Ctrl+\ unselects all items.

The focused item is controlled by the navigation keys below, combined with the Ctrl modifier to prevent moving the selection, and the Shift modifier to extend the current selection.

  • , , , move the focus on the next item in the designed direction.
  • Home and End focus the first or last item.
  • PgUp and PgDn move the focus one page up or down.

List item widgets support the following keyboard shortcuts:

  • Enter activates the item.
  • selects the item, with the same Ctrl and Shift 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.

Definition at line 86 of file gtklistbase.h.

◆ GtkListBaseClass

typedef struct _GtkListBaseClass GtkListBaseClass

Definition at line 87 of file gtklistbase.h.

Function Documentation

◆ gtk_list_base_get_type()

GDK_AVAILABLE_IN_ALL GType gtk_list_base_get_type ( void )