Thunarx.PropertyPage

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 Thunarx.PropertyPage Thunarx.PropertyPage Gtk.Bin->Thunarx.PropertyPage 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 (label)

class

new_with_label_widget (label_widget)

get_label ()

get_label_widget ()

set_label (label)

set_label_widget (label_widget)

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

label

str

r/w

Text of the page’s label

label-widget

Gtk.Widget

r/w

A widget to display in place of the usual page label

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 Thunarx.PropertyPage(**kwargs)
Bases:

Gtk.Bin

Abstract:

No

Structure:

Thunarx.PropertyPageClass

classmethod new(label)
Parameters:

label (str) – the text to use as the label of the page.

Returns:

the newly allocated Thunarx.PropertyPage widget.

Return type:

Gtk.Widget

Allocates a new Thunarx.PropertyPage widget and sets its label to the specified label. If label is None, the label is omitted.

classmethod new_with_label_widget(label_widget)
Parameters:

label_widget (Gtk.Widget) – a Gtk.Widget, which should be used as label.

Returns:

the newly allocated Thunarx.PropertyPage widget.

Return type:

Gtk.Widget

Allocates a new Thunarx.PropertyPage widget and sets its label to the specified label_widget.

get_label()
Returns:

the text in the label or None if there was no label widget or the label widget was not a Gtk.Label. The returned string is owned by the self and must not be modified or freed.

Return type:

str

If the self's label widget is a Gtk.Label, returns the text in the label widget (the self will have a Gtk.Label for the label widget if a non-None argument was passed to Thunarx.PropertyPage.new()).

get_label_widget()
Returns:

the label widget or None if there is none.

Return type:

Gtk.Widget

Returns the label widget for the self. See Thunarx.PropertyPage.set_label_widget().

set_label(label)
Parameters:

label (str) – the text to use as the label of the page.

Sets the text of the label. If label is None, the current label is removed.

set_label_widget(label_widget)
Parameters:

label_widget (Gtk.Widget) – the new label widget.

Sets the label widget for the self. This is the widget that will appear in the notebook header for the self.

Property Details

Thunarx.PropertyPage.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Text of the page’s label

Thunarx.PropertyPage.props.label_widget
Name:

label-widget

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE

A widget to display in place of the usual page label