| Top |
| #define | RB_DISPLAY_PAGE_GROUP_LIBRARY |
| #define | RB_DISPLAY_PAGE_GROUP_PLAYLISTS |
| #define | RB_DISPLAY_PAGE_GROUP_DEVICES |
| #define | RB_DISPLAY_PAGE_GROUP_SHARED |
| #define | RB_DISPLAY_PAGE_GROUP_STORES |
| #define | RB_DISPLAY_PAGE_GROUP_TOOLS |
| void | rb_display_page_group_add_core_groups () |
| RBDisplayPageGroup * | rb_display_page_group_get_by_id () |
| RBDisplayPageGroup * | rb_display_page_group_new () |
| void | rb_display_page_group_loaded () |
| enum | RBDisplayPageGroupCategory |
| struct | RBDisplayPageGroup |
| struct | RBDisplayPageGroupClass |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── RBDisplayPage ╰── RBDisplayPageGroup
RBDisplayPageGroup implements AtkImplementorIface, GtkBuildable and GtkOrientable.
Page groups define sections of the display page tree. A page group consists of an internal name, a display name, and a category. The internal name can be used to locate a registered page group. The category is used to sort the page groups.
While RBDisplayPageGroup is a subclass of RBDisplayPage, by default page groups are never selectable so they have no content.
#define RB_DISPLAY_PAGE_GROUP_LIBRARY (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("library")))
#define RB_DISPLAY_PAGE_GROUP_PLAYLISTS (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("playlists")))
#define RB_DISPLAY_PAGE_GROUP_DEVICES (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("devices")))
#define RB_DISPLAY_PAGE_GROUP_SHARED (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("shared")))
#define RB_DISPLAY_PAGE_GROUP_STORES (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("stores")))
#define RB_DISPLAY_PAGE_GROUP_TOOLS (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("tools")))
void rb_display_page_group_add_core_groups (GObject *shell,RBDisplayPageModel *page_model);
Registers core page groups.
RBDisplayPageGroup *
rb_display_page_group_get_by_id (const char *id);
Locates a page group by name. If the page group has not been registered yet, returns NULL instead.
RBDisplayPageGroup * rb_display_page_group_new (GObject *shell,const char *id,const char *name,RBDisplayPageGroupCategory category);
Creates a new page group object. The group will be registered before it is returned.
shell |
the RBShell |
|
id |
name of the page group (untranslated, used in code) |
|
name |
display name of the page group (translated) |
|
category |
category for the page group |
void
rb_display_page_group_loaded (RBDisplayPageGroup *group);
Called when the page group is fully loaded, that is, all initial pages have been added.
“category” property “category” RBDisplayPageGroupType
Page group category that the group falls into
Flags: Read / Write / Construct Only
Default value: RB_DISPLAY_PAGE_GROUP_CATEGORY_FIXED
“id” property“id” gchar *
Internal (untranslated) name for the page group
Flags: Read / Write / Construct Only
Default value: NULL
“loaded” property“loaded” gboolean
Whether the group is loaded.
Flags: Read
Default value: FALSE