Top |
GtkAccelGroup * | accel-group | Write |
gboolean | directory-specific-settings | Read / Write |
char * | display-name | Read |
char * | full-parsed-path | Read |
GType * | model-type | Read / Write / Construct Only |
ThunarColumn | sort-column | Read / Write |
ThunarColumn | sort-column-default | Write / Construct Only |
GtkSortType | sort-order | Read / Write |
GtkSortType | sort-order-default | Write / Construct Only |
char * | statusbar-text | Read |
gboolean | thumbnail-draw-frames | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkScrolledWindow ╰── ThunarStandardView ├── ThunarAbstractIconView ╰── ThunarDetailsView
void
thunar_standard_view_context_menu (ThunarStandardView *standard_view
);
Invoked by derived classes (and only by derived classes!) whenever the user requests to open a context menu, e.g. by right-clicking on a file/folder or by using one of the context menu shortcuts.
void thunar_standard_view_queue_popup (ThunarStandardView *standard_view
,GdkEventButton *event
);
Schedules a context menu popup in response to a right-click button event. Right-click events need to be handled in a special way, as the user may also start a drag using the right mouse button and therefore this function schedules a timer, which - once expired - opens the context menu. If the user moves the mouse prior to expiration, a right-click drag (with GDK_ACTION_ASK) will be started instead.
void
thunar_standard_view_selection_changed
(ThunarStandardView *standard_view
);
Called by derived classes (and only by derived classes!) whenever the file selection changes.
Note, that this is also called internally whenever the number of
files in the standard_view
s model changes.
void thunar_standard_view_set_history (ThunarStandardView *standard_view
,ThunarHistory *history
);
replaces the history of this ThunarStandardView with the passed history
ThunarHistory *
thunar_standard_view_get_history (ThunarStandardView *standard_view
);
returns the ThunarHistory of this ThunarStandardView
ThunarHistory *
thunar_standard_view_copy_history (ThunarStandardView *standard_view
);
returns a copy of the ThunarHistory of this ThunarStandardView
The caller has to release the passed history with g_object_unref()
after use.
void thunar_standard_view_append_menu_items (ThunarStandardView *standard_view
,GtkMenu *menu
,GtkAccelGroup *accel_group
);
Appends widget-specific menu items to a GtkMenu and connects them to the passed GtkAccelGroup The concrete implementation depends on the concrete widget which is implementing this view
GtkWidget * thunar_standard_view_append_menu_item (ThunarStandardView *standard_view
,GtkMenu *menu
,ThunarStandardViewAction action
);
Adds the selected, widget specific GtkMenuItem to the passed GtkMenuShell
standard_view |
Instance of a ThunarStandardView |
|
menu |
GtkMenuShell to which the item should be added |
|
action |
ThunarStandardViewAction to select which item should be added |
void thunar_standard_view_set_searching (ThunarStandardView *standard_view
,gchar *search_query
);
If search_query
is not NULL a search is initialized for this view. If it is NULL and the view is displaying
the results of a previous search it reverts to its normal contents.
gchar *
thunar_standard_view_get_search_query (ThunarStandardView *standard_view
);
void
thunar_standard_view_update_statusbar_text
(ThunarStandardView *standard_view
);
void thunar_standard_view_save_view_type (ThunarStandardView *standard_view
,GType type
);
GType
thunar_standard_view_get_saved_view_type
(ThunarStandardView *standard_view
);
XfceGtkActionEntry *
thunar_standard_view_get_action_entries
(void
);
void
thunar_standard_view_queue_redraw (ThunarStandardView *standard_view
);
void thunar_standard_view_set_statusbar_text (ThunarStandardView *standard_view
,const gchar *text
);
void thunar_standard_view_transfer_selection (ThunarStandardView *standard_view
,ThunarStandardView *old_view
);
“accel-group”
property “accel-group” GtkAccelGroup *
accel-group.
Owner: ThunarStandardView
Flags: Write
“directory-specific-settings”
property “directory-specific-settings” gboolean
Whether to use directory specific settings.
Owner: ThunarStandardView
Flags: Read / Write
Default value: FALSE
“display-name”
property “display-name” char *
Display name of the current directory, for label text
Owner: ThunarStandardView
Flags: Read
Default value: NULL
“full-parsed-path”
property “full-parsed-path” char *
Full parsed path of the current directory, for label tooltip
Owner: ThunarStandardView
Flags: Read
Default value: NULL
“model-type”
property “model-type” GType *
Defines the GType of the model to be used. To be set by the different views for different models.
Owner: ThunarStandardView
Flags: Read / Write / Construct Only
Allowed values: void
“sort-column”
property“sort-column” ThunarColumn
The sort column currently used for this view.
Owner: ThunarStandardView
Flags: Read / Write
Default value: THUNAR_COLUMN_NAME
“sort-column-default”
property“sort-column-default” ThunarColumn
Only relevant for directory specific settings The sort column to use if no directory specific settings are found for a directory
Owner: ThunarStandardView
Flags: Write / Construct Only
Default value: THUNAR_COLUMN_NAME
“sort-order”
property “sort-order” GtkSortType
The sort order currently used for this view.
Owner: ThunarStandardView
Flags: Read / Write
Default value: GTK_SORT_ASCENDING
“sort-order-default”
property “sort-order-default” GtkSortType
Only relevant for directory specific settings The sort order to use if no directory specific settings are found for a directory
Owner: ThunarStandardView
Flags: Write / Construct Only
Default value: GTK_SORT_ASCENDING
“statusbar-text”
property “statusbar-text” char *
The text to be displayed in the status bar.
Owner: ThunarStandardView
Flags: Read
Default value: NULL
“thumbnail-draw-frames”
property “thumbnail-draw-frames” gboolean
Whether to draw black frames around thumbnails. This looks neat, but will delay the first draw a bit. May have an impact on older systems, on folders with many pictures.
Owner: ThunarStandardView
Flags: Read / Write
Default value: FALSE
“start-open-location”
signalvoid user_function (ThunarStandardView *thunarstandardview, char *arg1, gpointer user_data)
Flags: Run Last