RB.DisplayPageGroup¶
- Subclasses:
 None
Methods¶
- Inherited:
 RB.DisplayPage (12), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class  | 
  | 
class  | 
  | 
class  | 
  | 
  | 
Virtual Methods¶
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
page group category  | 
||
r/w/co  | 
identifier  | 
||
r  | 
Whether the group is loaded  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
- Inherited:
 RB.DisplayPage (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
 RB.DisplayPage (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class RB.DisplayPageGroup(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
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
RB.DisplayPageGroupis a subclass ofRB.DisplayPage, by default page groups are never selectable so they have no content.- classmethod add_core_groups(shell, page_model)¶
 - Parameters:
 shell (
GObject.Object) – theRB.Shellpage_model (
RB.DisplayPageModel) – theRB.DisplayPageModel
Registers core page groups.
- classmethod get_by_id(id)¶
 - Parameters:
 id (
str) – name of page group to find- Returns:
 existing page group, or
None.- Return type:
 
Locates a page group by name. If the page group has not been registered yet, returns
Noneinstead.
- classmethod new(shell, id, name, category)¶
 - Parameters:
 shell (
GObject.Object) – theRB.Shellid (
str) – name of the page group (untranslated, used in code)name (
str) – display name of the page group (translated)category (
RB.DisplayPageGroupCategory) – category for the page group
- Returns:
 new page group
- Return type:
 
Creates a new page group object. The group will be registered before it is returned.
- loaded()¶
 Called when the page group is fully loaded, that is, all initial pages have been added.
Property Details¶
- RB.DisplayPageGroup.props.category¶
 - Name:
 category- Type:
 - Default Value:
 - Flags:
 
Page group category that the group falls into
- RB.DisplayPageGroup.props.id¶
 - Name:
 id- Type:
 - Default Value:
 - Flags:
 
Internal (untranslated) name for the page group