| Top |
| ThunarRenamerModel * | thunar_renamer_model_new () |
| ThunarRenamerMode | thunar_renamer_model_get_mode () |
| ThunarxRenamer * | thunar_renamer_model_get_renamer () |
| void | thunar_renamer_model_set_renamer () |
| void | thunar_renamer_model_insert () |
| void | thunar_renamer_model_reorder () |
| void | thunar_renamer_model_sort () |
| void | thunar_renamer_model_clear () |
| void | thunar_renamer_model_remove () |
| #define | thunar_renamer_model_append() |
| gboolean | can-rename | Read |
| gboolean | frozen | Read / Write |
| ThunarRenamerMode | mode | Read / Write |
| ThunarxRenamer * | renamer | Read / Write |
ThunarRenamerModel *
thunar_renamer_model_new (void);
Allocates a new ThunarRenamerModel instance.
ThunarRenamerMode
thunar_renamer_model_get_mode (ThunarRenamerModel *renamer_model);
Returns the ThunarRenamerMode currently set
for renamer_model
.
ThunarxRenamer *
thunar_renamer_model_get_renamer (ThunarRenamerModel *renamer_model);
Returns the ThunarxRenamer currently used by
the specified renamer_model
.
void thunar_renamer_model_set_renamer (ThunarRenamerModel *renamer_model,ThunarxRenamer *renamer);
Sets the renamer for renamer_model
to the
specified renamer
.
void thunar_renamer_model_insert (ThunarRenamerModel *renamer_model,ThunarFile *file,gint position);
Inserts the file
to the renamer_model
at position
.
renamer_model |
||
file |
the ThunarFile to add to |
|
position |
the position in the model. 0 is prepend, -1 is append. |
void thunar_renamer_model_reorder (ThunarRenamerModel *renamer_model,GList *tree_paths,gint position);
Reorder the treepaths in the model to their new postion in the list and sends an update to the treeview to reorder the list.
void thunar_renamer_model_sort (ThunarRenamerModel *renamer_model,GtkSortType sort_order);
Sort the entire model by the old filename.
void
thunar_renamer_model_clear (ThunarRenamerModel *renamer_model);
Clears the renamer_model
by removing all files
from it.
void thunar_renamer_model_remove (ThunarRenamerModel *renamer_model,GtkTreePath *path);
Removes the item identified by the given path
from
the renamer_model
.
The column ids provided by ThunarRenamerModel instances.
|
the column which tells whether there's a name conflict. |
||
|
Use to set the text to bold in case of a conflict |
||
|
the column with the ThunarFile. |
||
|
the column with the new name. |
||
|
the column with the old name. |
||
“can-rename” property “can-rename” gboolean
Whether the contents of the ThunarRenamerModel
can be renamed. This is TRUE if atleast one file
is in the model and no conflict is present.
Owner: ThunarRenamerModel
Flags: Read
Default value: FALSE
“frozen” property “frozen” gboolean
If a ThunarRenamerModel is frozen, no updates will
be processed for the model and the "can-rename"
property will always be FALSE.
Owner: ThunarRenamerModel
Flags: Read / Write
Default value: FALSE
“mode” property“mode” ThunarRenamerMode
The ThunarRenamerMode used by this ThunarRenamerModel.
Owner: ThunarRenamerModel
Flags: Read / Write
Default value: THUNAR_RENAMER_MODE_NAME
“renamer” property “renamer” ThunarxRenamer *
The ThunarxRenamer that should be used by this ThunarRenamerModel.
Owner: ThunarRenamerModel
Flags: Read / Write