AgsGui.FileDialog

g AgsGui.FileDialog AgsGui.FileDialog 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.FileDialog

Subclasses:

None

Methods

Inherited:

Gtk.Window (62), Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), Gtk.Buildable (1), Gtk.Native (6), Gtk.Root (3)

Structs:

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

class

new (transient_for, title)

get_download_link ()

get_file_widget ()

response (response_id)

set_flags (flags)

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_id)

Properties

Inherited:

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

Name

Type

Flags

Short Description

file-widget

int

r/w

The file widget

Signals

Inherited:

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

Name

Short Description

response

The ::response signal notifies about window interaction.

Fields

Inherited:

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

Name

Type

Access

Description

activate_button

Gtk.Button

r

download_link

Gtk.LinkButton

r

file_widget

AgsGui.FileWidget

r

flags

int

r

vbox

Gtk.Box

r

window

Gtk.Window

r

Class Details

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

Gtk.Window

Abstract:

No

Structure:

AgsGui.FileDialogClass

classmethod new(transient_for, title)
Parameters:
Returns:

the new AgsGui.FileDialog

Return type:

AgsGui.FileDialog

Creates a new instance of AgsGui.FileDialog.

New in version 6.6.0.

Returns:

the Gtk.LinkButton or None

Return type:

Gtk.LinkButton

Get download link of self.

New in version 7.2.8.

get_file_widget()
Returns:

the AgsGui.FileWidget

Return type:

AgsGui.FileWidget

Get widget of self.

New in version 6.6.0.

response(response_id)
Parameters:

response_id (int) – the response id

Response self due to user action.

New in version 6.6.0.

set_flags(flags)
Parameters:

flags (int) – the flags

Set flags of self.

New in version 7.2.8.

test_flags(flags)
Parameters:

flags (int) – the flags

Returns:

True if flags set, otherwise False

Return type:

bool

Test flags of self.

New in version 7.2.8.

unset_flags(flags)
Parameters:

flags (int) – the flags

Set flags of self.

New in version 7.2.8.

do_response(response_id) virtual
Parameters:

response_id (int) – the response id

Response file_dialog due to user action.

New in version 6.6.0.

Signal Details

AgsGui.FileDialog.signals.response(file_dialog, object)
Signal Name:

response

Flags:

RUN_LAST

Parameters:

The ::response signal notifies about window interaction.

New in version 6.6.0.

Property Details

AgsGui.FileDialog.props.file_widget
Name:

file-widget

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE

The file widget.

New in version 6.6.0.