Handy.PreferencesPage

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 Handy.PreferencesPage Handy.PreferencesPage Gtk.Bin->Handy.PreferencesPage 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_icon_name ()

get_title ()

set_icon_name (icon_name)

set_title (title)

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

icon-name

str

r/w/en

Icon name

title

str

r/w/en

Title

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)

Name

Type

Access

Description

parent_instance

Gtk.Bin

r

Class Details

class Handy.PreferencesPage(**kwargs)
Bases:

Gtk.Bin

Abstract:

No

Structure:

Handy.PreferencesPageClass

A page from [class`PreferencesWindow`].

The HdyPreferencesPage widget gathers preferences groups into a single page of a preferences window.

CSS nodes

HdyPreferencesPage has a single CSS node with name preferencespage.

New in version 1.0.

classmethod new()
Returns:

the newly created HdyPreferencesPage

Return type:

Gtk.Widget

Creates a new HdyPreferencesPage.

New in version 1.0.

get_icon_name()
Returns:

the icon name for self

Return type:

str or None

Gets the icon name for self.

New in version 1.0.

get_title()
Returns:

the title of the self

Return type:

str or None

Gets the title of self.

New in version 1.0.

set_icon_name(icon_name)
Parameters:

icon_name (str or None) – the icon name

Sets the icon name for self.

New in version 1.0.

set_title(title)
Parameters:

title (str or None) – the title of the page

Sets the title of self.

New in version 1.0.

Property Details

Handy.PreferencesPage.props.icon_name
Name:

icon-name

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The icon name for this page of preferences.

New in version 1.0.

Handy.PreferencesPage.props.title
Name:

title

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The title for this page of preferences.

New in version 1.0.