AgsGui.FileWidget¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
|
|
|
Properties¶
- Inherited:
Gtk.Box (4), Gtk.Widget (34), Gtk.Accessible (1), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The app generic path |
||
r/w |
The app home path |
||
r/w |
The bookmark filename |
||
r/w |
The current path |
||
r/w |
The default bundle |
||
r/w |
The default path |
||
r/w |
The file magic executable |
||
r/w |
The home path |
||
r/w |
The recently used filename |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
action_group |
r |
||
action_menu_button |
r |
||
action_popover |
r |
||
action_popup |
r |
||
app_generic_path |
r |
||
app_home_path |
r |
||
bookmark |
r |
||
bookmark_box |
r |
||
bookmark_filename |
r |
||
box |
r |
||
center_vbox |
r |
||
current_file_filter |
r |
||
current_path |
r |
||
default_bundle |
r |
||
default_path |
r |
||
file_action |
r |
||
file_filter |
r |
||
file_filter_drop_down |
r |
||
file_filter_suffix |
r |
||
file_magic_executable |
r |
||
filename_factory |
r |
||
filename_key_selection |
r |
||
filename_multi_selection |
r |
||
filename_scrolled_window |
r |
||
filename_single_selection |
r |
||
filename_view |
r |
||
flags |
r |
||
home_path |
r |
||
left_vbox |
r |
||
location |
r |
||
location_box |
r |
||
location_drop_down |
r |
||
location_entry |
r |
||
location_separator |
r |
||
preview |
r |
||
recently_used |
r |
||
recently_used_filename |
r |
||
recently_used_link |
r |
||
right_vbox |
r |
||
sandbox_path |
r |
||
vbox |
r |
Class Details¶
- class AgsGui.FileWidget(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
the new
AgsGui.FileWidget
- Return type:
Creates a new instance of
AgsGui.FileWidget
.New in version 6.6.0.
- add_bookmark(bookmark_location)¶
- Parameters:
bookmark_location (
str
) – the bookmark location
Add bookmark_location to bookmark with button_text.
New in version 6.6.0.
- add_location(button_action, button_text)¶
-
Add button_action to location with button_text.
New in version 6.6.0.
- create_dir(dir_path)¶
- Parameters:
dir_path (
str
) – the directory path
Create directory dir_path.
New in version 6.6.0.
- get_app_generic_path()¶
- Returns:
the app generic path as string
- Return type:
Get app generic path of self.
New in version 6.6.0.
- get_app_home_path()¶
- Returns:
the app home path as string
- Return type:
Get app home path of self.
New in version 6.6.0.
- get_bookmark()¶
- Returns:
the bookmark
GLib.HashTable
- Return type:
Get bookmark from self.
New in version 6.6.0.
- get_bookmark_filename()¶
- Returns:
the bookmark filename as string
- Return type:
Get bookmark filename of self.
New in version 6.6.0.
- get_current_path()¶
- Returns:
the current path as string
- Return type:
Get current path of self.
New in version 6.6.0.
- get_default_bundle()¶
- Returns:
the default bundle as string
- Return type:
Get default bundle of self.
New in version 6.6.0.
- get_default_path()¶
- Returns:
the default path as string
- Return type:
Get default path of self.
New in version 6.6.0.
- get_file_magic_executable()¶
- Returns:
the file magic executable as string
- Return type:
Get file magic executable of self.
New in version 6.6.0.
- get_filename()¶
- Returns:
the filename as string
- Return type:
Get filename of self.
New in version 6.6.0.
- get_filenames()¶
- Returns:
the filename as string
- Return type:
[
str
]
Get filenames of self.
New in version 6.6.0.
- get_home_path()¶
- Returns:
the home path as string
- Return type:
Get home path of self.
New in version 6.6.0.
- get_location()¶
- Returns:
the location
GLib.HashTable
- Return type:
Get location from self.
New in version 6.6.0.
- get_recently_used()¶
- Returns:
the recently used string vector
- strv_length:
the string vector length
- Return type:
Get recently used from self.
New in version 6.6.0.
- get_recently_used_filename()¶
- Returns:
the home path as string
- Return type:
Get recently used filename of self.
New in version 6.6.0.
- read_bookmark()¶
Read bookmarks from bookmark-filename.
New in version 6.6.0.
- read_recently_used()¶
Read recently-used from recently-used-filename.
New in version 6.6.0.
- refresh()¶
Refresh self due to current path change.
New in version 6.6.0.
- remove_bookmark(bookmark_location)¶
- Parameters:
bookmark_location (
str
) – the bookmark location
Remove bookmark_location from bookmark with button_text.
New in version 6.6.0.
- remove_location(button_action)¶
- Parameters:
button_action (
str
) – the button action
Remove button_action from location with button_text.
New in version 6.6.0.
- set_app_generic_path(app_generic_path)¶
- Parameters:
app_generic_path (
str
) – the app generic path
Set app_generic_path of self.
New in version 6.6.0.
- set_app_home_path(app_home_path)¶
- Parameters:
app_home_path (
str
) – the app home path
Set app_home_path of self.
New in version 6.6.0.
- set_bookmark_filename(bookmark_filename)¶
- Parameters:
bookmark_filename (
str
) – the bookmark filename
Set bookmark_filename of self.
New in version 6.6.0.
- set_current_path(current_path)¶
- Parameters:
current_path (
str
) – the current path
Set current_path of self.
New in version 6.6.0.
- set_default_bundle(default_bundle)¶
- Parameters:
default_bundle (
str
) – the default bundle
Set default_bundle of self.
New in version 6.6.0.
- set_default_path(default_path)¶
- Parameters:
default_path (
str
) – the default path
Set default_path of self.
New in version 6.6.0.
- set_file_action(file_action)¶
- Parameters:
file_action (
int
) – the file action
Set file_action of self.
New in version 6.6.0.
- set_file_filter(file_filter)¶
- Parameters:
file_filter (
int
) – the file filter
Set file_filter of self.
New in version 6.6.0.
- set_file_magic_executable(file_magic_executable)¶
- Parameters:
file_magic_executable (
str
) – the file magic executable
Set file_magic_executable of self.
New in version 6.6.0.
- set_home_path(home_path)¶
- Parameters:
home_path (
str
) – the home path
Set home_path of self.
New in version 6.6.0.
- set_recently_used_filename(recently_used_filename)¶
- Parameters:
recently_used_filename (
str
) – the recently used filename
Set recently_used_filename of self.
New in version 6.6.0.
- test_file_action(file_action)¶
- Parameters:
file_action (
int
) – the file action- Returns:
- Return type:
Test file_action of self.
New in version 6.6.0.
- test_file_filter(file_filter)¶
- Parameters:
file_filter (
int
) – the file filter- Returns:
- Return type:
Test file_filter of self.
New in version 6.6.0.
- test_flags(flags)¶
-
Test flags of self.
New in version 6.6.0.
- write_bookmark()¶
Write bookmarks from bookmark-filename.
New in version 6.6.0.
- write_recently_used()¶
Write recently_useds from recently_used-filename.
New in version 6.6.0.
- do_create_dir(dir_path) virtual¶
- Parameters:
dir_path (
str
) – the directory path
Create directory dir_path.
New in version 6.6.0.
- do_refresh() virtual¶
Refresh file_widget due to current path change.
New in version 6.6.0.
Signal Details¶
- AgsGui.FileWidget.signals.create_dir(file_widget, dir_path)¶
- Signal Name:
create-dir
- Flags:
- Parameters:
file_widget (
AgsGui.FileWidget
) – The object which received the signaldir_path (
str
) – the directory path
The
::create-dir
signal notifies about creating directory.New in version 6.6.0.
- AgsGui.FileWidget.signals.refresh(file_widget)¶
- Signal Name:
refresh
- Flags:
- Parameters:
file_widget (
AgsGui.FileWidget
) – The object which received the signal
The
::refresh
signal notifies about filesystem change.New in version 6.6.0.
Property Details¶
- AgsGui.FileWidget.props.app_generic_path¶
-
The app generic path.
New in version 6.6.0.
- AgsGui.FileWidget.props.app_home_path¶
-
The app home path.
New in version 6.6.0.
- AgsGui.FileWidget.props.bookmark_filename¶
-
The recently used filename.
New in version 6.6.0.
- AgsGui.FileWidget.props.current_path¶
-
The current path.
New in version 6.6.0.
- AgsGui.FileWidget.props.default_bundle¶
-
The default bundle.
New in version 6.6.0.
- AgsGui.FileWidget.props.default_path¶
-
The default path.
New in version 6.6.0.
- AgsGui.FileWidget.props.file_magic_executable¶
-
The file magic executable.
New in version 6.6.0.
- AgsGui.FileWidget.props.home_path¶
-
The home path.
New in version 6.6.0.