Dazzle.EmptyState

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Dazzle.EmptyState Dazzle.EmptyState 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 Gtk.Bin->Dazzle.EmptyState 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_subtitle ()

get_title ()

set_icon_name (icon_name)

set_resource (resource)

set_subtitle (title)

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

The name of the icon to display

pixel-size

int

r/w

Pixel Size

resource

str

w

A resource path to use for the icon

subtitle

str

r/w/en

The subtitle of the empty state

title

str

r/w/en

The title of the empty state

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 Dazzle.EmptyState(**kwargs)
Bases:

Gtk.Bin

Abstract:

No

Structure:

Dazzle.EmptyStateClass

classmethod new()
Return type:

Gtk.Widget

get_icon_name()
Return type:

str

get_subtitle()
Return type:

str

get_title()
Return type:

str

set_icon_name(icon_name)
Parameters:

icon_name (str) –

set_resource(resource)
Parameters:

resource (str) –

set_subtitle(title)
Parameters:

title (str) –

set_title(title)
Parameters:

title (str) –

Property Details

Dazzle.EmptyState.props.icon_name
Name:

icon-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The name of the icon to display

Dazzle.EmptyState.props.pixel_size
Name:

pixel-size

Type:

int

Default Value:

128

Flags:

READABLE, WRITABLE

Pixel Size

Dazzle.EmptyState.props.resource
Name:

resource

Type:

str

Default Value:

None

Flags:

WRITABLE

A resource path to use for the icon

Dazzle.EmptyState.props.subtitle
Name:

subtitle

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The subtitle of the empty state

Dazzle.EmptyState.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The title of the empty state