AgsGui.InputDialog¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Window (62), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Window (5), Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9), Gtk.ShortcutManager (2)
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
cancel |
r |
||
flags |
r |
||
input_box |
r |
||
message |
r |
||
ok |
r |
||
spin_button_input |
r |
||
spin_button_label |
r |
||
string_input |
r |
||
text |
r |
||
vbox |
r |
||
window |
r |
Class Details¶
- class AgsGui.InputDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(title, transient_for)¶
- Parameters:
title (
str
) – the titletransient_for (
Gtk.Window
) – the transient for
- Returns:
a new
AgsGui.InputDialog
- Return type:
Creates an
AgsGui.InputDialog
New in version 4.0.0.
- get_entry()¶
- Returns:
the entry widget
- Return type:
The
Gtk.Entry
to get input from.New in version 6.6.0.
- get_spin_button()¶
- Returns:
the spin button widget
- Return type:
The
Gtk.SpinButton
to get input from.New in version 6.6.0.
- response(response)¶
- Parameters:
response (
int
) – the response
Emit signal
AgsGui.InputDialog
::response
().New in version 6.6.0.
- set_spin_button_label(label)¶
- Parameters:
label (
str
) – the spin button label
Set label of spin button.
New in version 6.6.0.
- test_flags(flags)¶
- Parameters:
flags (
int
) – the flags- Returns:
- Return type:
Test flags to be set.
New in version 4.0.0.
- do_response(response) virtual¶
- Parameters:
response (
int
) – the response
Emit signal
AgsGui.InputDialog
::response
().New in version 6.6.0.
Signal Details¶
- AgsGui.InputDialog.signals.response(input_dialog, response)¶
- Signal Name:
response
- Flags:
- Parameters:
input_dialog (
AgsGui.InputDialog
) – The object which received the signalresponse (
int
) – the response
The
::response
signal notifies adjustment value changed.New in version 6.6.0.