| Top |  |  |  |  | 
| ThunarShortcutsModel * | thunar_shortcuts_model_get_default () | 
| gboolean | thunar_shortcuts_model_has_bookmark () | 
| gboolean | thunar_shortcuts_model_iter_for_file () | 
| gboolean | thunar_shortcuts_model_drop_possible () | 
| void | thunar_shortcuts_model_add () | 
| void | thunar_shortcuts_model_move () | 
| void | thunar_shortcuts_model_remove () | 
| void | thunar_shortcuts_model_rename () | 
| void | thunar_shortcuts_model_set_busy () | 
| void | thunar_shortcuts_model_set_hidden () | 
| enum | ThunarShortcutsModelColumn | 
| #define | THUNAR_SHORTCUT_GROUP_DEVICES | 
| #define | THUNAR_SHORTCUT_GROUP_PLACES | 
| #define | THUNAR_SHORTCUT_GROUP_NETWORK | 
| #define | THUNAR_SHORTCUT_GROUP_HEADER | 
ThunarShortcutsModel *
thunar_shortcuts_model_get_default (void);
Returns the default ThunarShortcutsModel instance shared by all ThunarShortcutsView instances.
Call g_object_unref()
gboolean thunar_shortcuts_model_has_bookmark (ThunarShortcutsModel *model,GFile *file);
Returns TRUE if there is a bookmark (not a mount or volume) with
file
 as destination.
gboolean thunar_shortcuts_model_iter_for_file (ThunarShortcutsModel *model,ThunarFile *file,GtkTreeIter *iter);
Tries to lookup the GtkTreeIter, that belongs to a shortcut, which
refers to file
 and stores it to iter
. If no such GtkTreeIter was
found, FALSE will be returned and iter
 won't be changed. Else
TRUE will be returned and iter
 will be set appropriately.
| model | a ThunarShortcutsModel instance. | |
| file | a ThuanrFile instance. | |
| iter | pointer to a GtkTreeIter. | 
gboolean thunar_shortcuts_model_drop_possible (ThunarShortcutsModel *model,GtkTreePath *path);
Determines whether a drop is possible before the given path
, at the same depth
as path
. I.e., can we drop data at that location. path
 does not have to exist;
the return value will almost certainly be FALSE if the parent of path
 doesn't
exist, though.
void thunar_shortcuts_model_add (ThunarShortcutsModel *model,GtkTreePath *dst_path,gpointer file);
Adds the shortcut file
 to the model
 at dst_path
, unless file
 is
already present in model
 in which case no action is performed.
| model | ||
| dst_path | the destination path. | |
| file | the ThunarFile that should be added to the shortcuts list. | 
void thunar_shortcuts_model_move (ThunarShortcutsModel *model,GtkTreePath *src_path,GtkTreePath *dst_path);
Moves the shortcut at src_path
 to dst_path
, adjusting other
shortcut's positions as required.
void thunar_shortcuts_model_remove (ThunarShortcutsModel *model,GtkTreePath *path);
Removes the shortcut at path
 from the model
 and syncs to
on-disk storage. path
 must refer to a valid, user-defined
shortcut, as you cannot remove system-defined entities (they
are managed internally).
void thunar_shortcuts_model_rename (ThunarShortcutsModel *model,GtkTreeIter *iter,const gchar *name);
Renames the shortcut at iter
 to the new name
 in model
.
name
 may be NULL or an empty to reset the shortcut to
its default name.
void thunar_shortcuts_model_set_busy (ThunarShortcutsModel *model,ThunarDevice *device,gboolean busy);
void thunar_shortcuts_model_set_hidden (ThunarShortcutsModel *model,GtkTreePath *path,gboolean hidden);