AgsGui.InputDialog

g AgsGui.InputDialog AgsGui.InputDialog GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget Gtk.Native Gtk.Native GObject.GInterface->Gtk.Native Gtk.Root Gtk.Root GObject.GInterface->Gtk.Root Gtk.ShortcutManager Gtk.ShortcutManager GObject.GInterface->Gtk.ShortcutManager GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Gtk.Window Gtk.Window Gtk.Native->Gtk.Window Gtk.Root->Gtk.Window Gtk.ShortcutManager->Gtk.Window Gtk.Widget->Gtk.Window Gtk.Window->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:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new (title, transient_for)

get_entry ()

get_spin_button ()

response (response)

set_flags (flags)

set_message (message)

set_spin_button_label (label)

set_text (text)

test_flags (flags)

unset_flags (flags)

Virtual Methods

Inherited:

Gtk.Window (5), Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9), Gtk.ShortcutManager (2)

do_response (response)

Properties

Inherited:

Gtk.Window (25), Gtk.Widget (34), Gtk.Accessible (1)

Signals

Inherited:

Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)

Name

Short Description

response

The ::response signal notifies adjustment value changed.

Fields

Inherited:

Gtk.Window (5), Gtk.Widget (13), GObject.Object (1)

Name

Type

Access

Description

cancel

Gtk.Button

r

flags

int

r

input_box

Gtk.Box

r

message

Gtk.Label

r

ok

Gtk.Button

r

spin_button_input

Gtk.SpinButton

r

spin_button_label

Gtk.Label

r

string_input

Gtk.Entry

r

text

Gtk.Label

r

vbox

Gtk.Box

r

window

Gtk.Window

r

Class Details

class AgsGui.InputDialog(*args, **kwargs)
Bases:

Gtk.Window

Abstract:

No

Structure:

AgsGui.InputDialogClass

classmethod new(title, transient_for)
Parameters:
  • title (str) – the title

  • transient_for (Gtk.Window) – the transient for

Returns:

a new AgsGui.InputDialog

Return type:

AgsGui.InputDialog

Creates an AgsGui.InputDialog

New in version 4.0.0.

get_entry()
Returns:

the entry widget

Return type:

Gtk.Entry

The Gtk.Entry to get input from.

New in version 6.6.0.

get_spin_button()
Returns:

the spin button widget

Return type:

Gtk.SpinButton

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_flags(flags)
Parameters:

flags (int) – the flags

Set flags.

New in version 4.0.0.

set_message(message)
Parameters:

message (str) –

Set informal message.

New in version 6.10.0.

set_spin_button_label(label)
Parameters:

label (str) – the spin button label

Set label of spin button.

New in version 6.6.0.

set_text(text)
Parameters:

text (str) – the text

Set informal text.

New in version 6.6.0.

test_flags(flags)
Parameters:

flags (int) – the flags

Returns:

True if flags is set, otherwise False

Return type:

bool

Test flags to be set.

New in version 4.0.0.

unset_flags(flags)
Parameters:

flags (int) – the flags

Unset flags.

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:

RUN_LAST

Parameters:
  • input_dialog (AgsGui.InputDialog) – The object which received the signal

  • response (int) – the response

The ::response signal notifies adjustment value changed.

New in version 6.6.0.