Top |
ThunarColumnModel * | thunar_column_model_get_default () |
void | thunar_column_model_exchange () |
ThunarColumn | thunar_column_model_get_column_for_iter () |
const ThunarColumn * | thunar_column_model_get_column_order () |
const gchar * | thunar_column_model_get_column_name () |
gboolean | thunar_column_model_get_column_visible () |
void | thunar_column_model_set_column_visible () |
gint | thunar_column_model_get_column_width () |
void | thunar_column_model_set_column_width () |
ThunarColumnModel *
thunar_column_model_get_default (void
);
Returns the default, shared ThunarColumnModel instance.
The caller is responsible to free the returned
object using g_object_unref()
when no longer
needed.
void thunar_column_model_exchange (ThunarColumnModel *column_model
,GtkTreeIter *iter1
,GtkTreeIter *iter2
);
Exchanges the columns at iter1
and iter2
in column_model
.
ThunarColumn thunar_column_model_get_column_for_iter (ThunarColumnModel *column_model
,GtkTreeIter *iter
);
Returns the ThunarColumn for the given iter
in
column_model
.
const ThunarColumn *
thunar_column_model_get_column_order (ThunarColumnModel *column_model
);
Returns the current ThunarColumn order for column_model
.
const gchar * thunar_column_model_get_column_name (ThunarColumnModel *column_model
,ThunarColumn column
);
Returns the user visible name for the column
in
the column_model
.
gboolean thunar_column_model_get_column_visible (ThunarColumnModel *column_model
,ThunarColumn column
);
Returns TRUE
if the column
should be displayed
in the details view.
void thunar_column_model_set_column_visible (ThunarColumnModel *column_model
,ThunarColumn column
,gboolean visible
);
Changes the visibility of the column
to visible
in
column_model
.
gint thunar_column_model_get_column_width (ThunarColumnModel *column_model
,ThunarColumn column
);
Returns the fixed column width for column
in
column_model
.
void thunar_column_model_set_column_width (ThunarColumnModel *column_model
,ThunarColumn column
,gint width
);
Sets the fixed width for column
in column_model
to width
.
“columns-changed”
signalvoid user_function (ThunarColumnModel *column_model, gpointer user_data)
Emitted by column_model
whenever the
order of the columns or the visibility
of a column in column_model
is changed.
Flags: Run Last