Libxfce4ui.TitledDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Dialog (14), Gtk.Window (119), 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 |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
subtitle |
Style Properties¶
- Inherited:
Signals¶
Fields¶
Class Details¶
- class Libxfce4ui.TitledDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque struct with only private fields.
- classmethod new()¶
- Returns:
the newly allocated
Libxfce4ui.TitledDialog.- Return type:
Allocates a new
Libxfce4ui.TitledDialoginstance.
- add_action_widget(child, response_id)¶
- Parameters:
child (
Gtk.Widget) – an activatable widget.response_id (
int) – response ID for child.
This function is a replacement for
Gtk.Dialog.add_action_widget.Children with
Gtk.ResponseType.HELPwill be added to the secondary group of children (seeGtk.ButtonBox.set_child_secondaryfor reference).New in version 4.16.
- add_button(button_text, response_id)¶
- Parameters:
- Returns:
the
Gtk.Buttonwidget that was added.- Return type:
This function is a replacement for
Gtk.Dialog.add_button.Buttons with
Gtk.ResponseType.HELPwill be added to the secondary group of children (seeGtk.ButtonBox.set_child_secondaryfor reference).New in version 4.16.
- create_action_area()¶
This function is a no-op since 4.19.3.
New in version 4.16.
Deprecated since version 4.19.3.
- get_subtitle()¶
-
Returns the subtitle of the self, or
Noneif no subtitle is displayed in the self. This is just a convenience function aroundGtk.HeaderBar.get_subtitle.
- set_default_response(response_id)¶
- Parameters:
response_id (
int) – a response ID
Sets the last widget in the dialog’s action area with the given response_id as the default widget for the dialog. Pressing “Enter” normally activates the default widget.
This function is a replacement for
Gtk.Dialog.set_default_response, which does not work withLibxfce4ui.TitledDialog.New in version 4.16.
- set_subtitle(subtitle)¶
-
Sets the subtitle displayed by self to subtitle; if subtitle is
Noneno subtitle will be displayed by the self. This is just a convenience function aroundGtk.HeaderBar.set_subtitlewhen dialogs use header bars. Otherwise a simple label and separator are shown at the top of dialog.