Top |
ThunarFile * | current-directory | Read / Write |
gboolean | directory-specific-settings | Read / Write |
ThunarZoomLevel | zoom-level | Read / Write |
gboolean | reload | Action |
gboolean | tab-change | Action |
gboolean | zoom-in | Action |
gboolean | zoom-out | Action |
gboolean | zoom-reset | Action |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── ThunarWindow
ThunarFile *
thunar_window_get_current_directory (ThunarWindow *window
);
Queries the ThunarFile instance, which represents the directory
currently displayed within window
. NULL
is returned if window
is not currently associated with any directory.
void thunar_window_set_current_directory (ThunarWindow *window
,ThunarFile *current_directory
);
GList * thunar_window_get_directories (ThunarWindow *window
,gint *active_page
);
gboolean thunar_window_set_directories (ThunarWindow *window
,gchar **uris
,gint active_page
);
void thunar_window_update_directories (ThunarWindow *window
,ThunarFile *old_directory
,ThunarFile *new_directory
);
void
thunar_window_notebook_toggle_split_view
(ThunarWindow *window
);
Toggles the split-view functionality for window
.
void thunar_window_notebook_open_new_tab (ThunarWindow *window
,ThunarFile *directory
);
void thunar_window_notebook_add_new_tab (ThunarWindow *window
,ThunarFile *directory
,ThunarNewTabBehavior behavior
);
void thunar_window_notebook_remove_tab (ThunarWindow *window
,gint tab
);
Removes tab
page from the currently selected notebook.
void thunar_window_notebook_set_current_tab (ThunarWindow *window
,gint tab
);
Switches to the tab
page in the currently selected notebook.
void
thunar_window_paned_notebooks_switch (ThunarWindow *window
);
gboolean
thunar_window_has_shortcut_sidepane (ThunarWindow *window
);
gboolean
thunar_window_has_tree_view_sidepane (ThunarWindow *window
);
void thunar_window_append_menu_item (ThunarWindow *window
,GtkMenuShell *menu
,ThunarWindowAction action
);
Adds the selected, widget specific GtkMenuItem to the passed GtkMenuShell
window |
Instance of a ThunarWindow |
|
menu |
GtkMenuShell to which the item should be added |
|
action |
ThunarWindowAction to select which item should be added |
ThunarActionManager *
thunar_window_get_action_manager (ThunarWindow *window
);
void thunar_window_redirect_menu_tooltips_to_statusbar (ThunarWindow *window
,GtkMenu *menu
);
All tooltips of the provided GtkMenu and any submenu will not be shown directly any more. Instead they will be shown in the status bar of the passed ThunarWindow
window |
a ThunarWindow instance. |
|
menu |
GtkMenu for which all tooltips should be shown in the statusbar |
const XfceGtkActionEntry * thunar_window_get_action_entry (ThunarWindow *window
,ThunarWindowAction action
);
returns a reference to the requested XfceGtkActionEntry
window |
Instance of a ThunarWindow |
|
action |
ThunarWindowAction for which the XfceGtkActionEntry is requested |
void thunar_window_open_files_in_location (ThunarWindow *window
,GList *files_to_select
);
void thunar_window_show_and_select_files (ThunarWindow *window
,GList *files_to_select
);
Visually selects the files, given by the list. If the files are being restored from the trash folder new tabs are opened and then the files are selected.
gboolean
thunar_window_action_cancel_search (ThunarWindow *window
);
void thunar_window_toolbar_toggle_item_visibility (ThunarWindow *window
,gint index
);
void thunar_window_toolbar_swap_items (ThunarWindow *window
,gint index_a
,gint index_b
);
void
thunar_window_reconnect_accelerators (ThunarWindow *window
);
Used to recreate the accelerator group when the accelerator map changes. This way the open windows can use the updated shortcuts.
void
thunar_window_queue_redraw (ThunarWindow *window
);
Method to trigger a redraw of the window
“current-directory”
property“current-directory” ThunarFile *
The directory currently displayed within this ThunarWindow
or NULL
.
Owner: ThunarWindow
Flags: Read / Write
“directory-specific-settings”
property “directory-specific-settings” gboolean
Whether to use directory specific settings.
Owner: ThunarWindow
Flags: Read / Write
Default value: FALSE
“zoom-level”
property“zoom-level” ThunarZoomLevel
The ThunarZoomLevel applied to the ThunarView currently shown within this window.
Owner: ThunarWindow
Flags: Read / Write
Default value: THUNAR_ZOOM_LEVEL_100_PERCENT
“reload”
signalgboolean user_function (ThunarWindow *window, gboolean arg1, gpointer user_data)
Emitted whenever the user requests to reload the contents of the currently displayed folder.
window |
a ThunarWindow instance. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“tab-change”
signalgboolean user_function (ThunarWindow *window, int idx, gpointer user_data)
Emitted whenever the user uses a Alt+N combination to switch tabs.
window |
a ThunarWindow instance. |
|
idx |
tab index, |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“zoom-in”
signalgboolean user_function (ThunarWindow *window, gpointer user_data)
Emitted whenever the user requests to zoom in. This is an internal signal used to bind the action to keys.
window |
a ThunarWindow instance. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“zoom-out”
signalgboolean user_function (ThunarWindow *window, gpointer user_data)
Emitted whenever the user requests to zoom out. This is an internal signal used to bind the action to keys.
window |
a ThunarWindow instance. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
“zoom-reset”
signalgboolean user_function (ThunarWindow *window, gpointer user_data)
Emitted whenever the user requests reset the zoom level. This is an internal signal used to bind the action to keys.
window |
a ThunarWindow instance. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action