Class
AdwShortcutsSection
unstable since: 1.8
Description [src]
final class Adw.ShortcutsSection : GObject.Object
implements Gio.ListModel, Gtk.Buildable {
/* No available fields */
}
An object representing a section in AdwShortcutsDialog
.
It contains AdwShortcutsItem
objects, use adw_shortcuts_section_add()
to
add them.
AdwShortcutsSection
implements the GListModel
interface and
allows to access the added shortcut items through it.
AdwShortcutsSection
as GtkBuildable
AdwShortcutsSection
allows adding AdwShortcutsItem
objects as children.
Available since: 1.8
Constructors
adw_shortcuts_section_new
Creates a new AdwShortcutsSection
with title
as its title if provided.
unstable since: 1.8
Instance methods
Methods inherited from GListModel (5)
g_list_model_get_item
Get the item at position
.
g_list_model_get_item_type
Gets the type of the items in list
.
g_list_model_get_n_items
Gets the number of items in list
.
g_list_model_get_object
Get the item at position
.
g_list_model_items_changed
Emits the GListModel::items-changed
signal on list
.
Methods inherited from GtkBuildable (1)
gtk_buildable_get_buildable_id
Gets the ID of the buildable
object.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from GListModel (1)
GListModel::items-changed
This signal is emitted whenever items were added to or removed from list
. At position
, removed
items were removed and added
items were added in their place.