Top |
gboolean | thunar_view_get_loading () |
gboolean | thunar_view_get_show_hidden () |
void | thunar_view_set_show_hidden () |
ThunarZoomLevel | thunar_view_get_zoom_level () |
void | thunar_view_set_zoom_level () |
void | thunar_view_reset_zoom_level () |
void | thunar_view_reload () |
gboolean | thunar_view_get_visible_range () |
void | thunar_view_scroll_to_file () |
GList * | thunar_view_get_selected_files () |
void | thunar_view_set_selected_files () |
gboolean | loading | Read |
gboolean | show-hidden | Read / Write |
ThunarZoomLevel | zoom-level | Read / Write |
gboolean
thunar_view_get_loading (ThunarView *view
);
Tells whether the given ThunarView is currently loading or layouting its contents.
gboolean
thunar_view_get_show_hidden (ThunarView *view
);
Returns TRUE
if hidden and backup files are shown
in view
. Else FALSE
is returned.
void thunar_view_set_show_hidden (ThunarView *view
,gboolean show_hidden
);
If show_hidden
is TRUE
then view
will display hidden and
backup files, else those files will be hidden from the user
interface.
ThunarZoomLevel
thunar_view_get_zoom_level (ThunarView *view
);
Returns the ThunarZoomLevel currently used for the view
.
void thunar_view_set_zoom_level (ThunarView *view
,ThunarZoomLevel zoom_level
);
Sets the zoom level used for view
to zoom_level
.
void
thunar_view_reset_zoom_level (ThunarView *view
);
Resets the zoom level of view
to the default
ThunarZoomLevel for view
.
void thunar_view_reload (ThunarView *view
,gboolean reload_info
);
Tells view
to reread the currently displayed folder
contents from the underlying media. If reload_info is
TRUE, it will reload information for all files too.
gboolean thunar_view_get_visible_range (ThunarView *view
,ThunarFile **start_file
,ThunarFile **end_file
);
Sets start_file
and end_file
to be the first and last visible
ThunarFile.
The files should be freed with g_object_unref()
when no
longer needed.
view |
a ThunarView instance. |
|
start_file |
return location for start of region, or |
|
end_file |
return location for end of region, or |
void thunar_view_scroll_to_file (ThunarView *view
,ThunarFile *file
,gboolean select_file
,gboolean use_align
,gfloat row_align
,gfloat col_align
);
Tells view
to scroll to the file
. If view
is currently
loading, it'll remember to scroll to file
later when
the contents are loaded.
view |
a ThunarView instance. |
|
file |
the ThunarFile to scroll to. |
|
select_file |
|
|
use_align |
whether to use alignment arguments. |
|
row_align |
the vertical alignment. |
|
col_align |
the horizontal alignment. |
void thunar_view_set_selected_files (ThunarView *view
,GList *path_list
);
“loading”
property “loading” gboolean
Indicates whether the given ThunarView is currently loading or
layouting its contents. Implementations should invoke
on this property whenever they start to load
the contents and then once they have finished loading.g_object_notify()
Other modules can use this property to display some kind of user visible notification about the loading state, e.g. a progress bar or an animated image.
Owner: ThunarView
Flags: Read
Default value: FALSE
“show-hidden”
property “show-hidden” gboolean
Tells whether to display hidden and backup files in the ThunarView or whether to hide them.
Owner: ThunarView
Flags: Read / Write
Default value: FALSE
“zoom-level”
property“zoom-level” ThunarZoomLevel
The ThunarZoomLevel at which the items within this ThunarView should be displayed.
Owner: ThunarView
Flags: Read / Write
Default value: THUNAR_ZOOM_LEVEL_100_PERCENT