Thunarx.PropertyPage¶
- 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 |
|
class |
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
Text of the page’s label |
||
r/w |
A widget to display in place of the usual page label |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Thunarx.PropertyPage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(label)¶
- Parameters:
label (
str) – the text to use as the label of the page.- Returns:
the newly allocated
Thunarx.PropertyPagewidget.- Return type:
Allocates a new
Thunarx.PropertyPagewidget and sets its label to the specified label. If label isNone, the label is omitted.
- classmethod new_with_label_widget(label_widget)¶
- Parameters:
label_widget (
Gtk.Widget) – aGtk.Widget, which should be used as label.- Returns:
the newly allocated
Thunarx.PropertyPagewidget.- Return type:
Allocates a new
Thunarx.PropertyPagewidget and sets its label to the specified label_widget.
- get_label()¶
- Returns:
the text in the label or
Noneif there was no label widget or the label widget was not aGtk.Label. The returned string is owned by the self and must not be modified or freed.- Return type:
If the self's label widget is a
Gtk.Label, returns the text in the label widget (the self will have aGtk.Labelfor the label widget if a non-Noneargument was passed toThunarx.PropertyPage.new()).
- get_label_widget()¶
- Returns:
the label widget or
Noneif there is none.- Return type:
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¶
-
Text of the page’s label
- Thunarx.PropertyPage.props.label_widget¶
- Name:
label-widget- Type:
- Default Value:
- Flags:
A widget to display in place of the usual page label