XApp.StackSidebar

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin XApp.StackSidebar XApp.StackSidebar Gtk.Bin->XApp.StackSidebar Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

get_stack ()

set_stack (stack)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

stack

Gtk.Stack

r/w/en

Associated stack for this XApp.StackSidebar

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class XApp.StackSidebar(**kwargs)
Bases:

Gtk.Bin

Abstract:

No

Structure:

XApp.StackSidebarClass

classmethod new()
Returns:

the new XApp.StackSidebar

Return type:

XApp.StackSidebar

Creates a new sidebar.

get_stack()
Returns:

the associated Gtk.Stack or None if none has been set explicitly

Return type:

Gtk.Stack or None

Retrieves the stack. See XApp.StackSidebar.set_stack().

set_stack(stack)
Parameters:

stack (Gtk.Stack) – a Gtk.Stack

Set the Gtk.Stack associated with this XApp.StackSidebar.

The sidebar widget will automatically update according to the order (packing) and items within the given Gtk.Stack.

Property Details

XApp.StackSidebar.props.stack
Name:

stack

Type:

Gtk.Stack

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Associated stack for this XApp.StackSidebar