diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-20 23:13:27 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-21 13:33:45 -0500 |
commit | a64ffa2958ed747238128120a0297246ac708477 (patch) | |
tree | a610883e756608ba5f301605432a45d69124ff2d /gtk/gtktreesortable.h | |
parent | 123fa640d26494b7583c03ad02808e6622ad8846 (diff) | |
download | gtk+-a64ffa2958ed747238128120a0297246ac708477.tar.gz |
docs: add docs for GtkTreeSortableIface
Diffstat (limited to 'gtk/gtktreesortable.h')
-rw-r--r-- | gtk/gtktreesortable.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtktreesortable.h b/gtk/gtktreesortable.h index 4c46845f10..ae3cabee8a 100644 --- a/gtk/gtktreesortable.h +++ b/gtk/gtktreesortable.h @@ -71,10 +71,28 @@ typedef gint (* GtkTreeIterCompareFunc) (GtkTreeModel *model, gpointer user_data); +/** + * GtkTreeSortableIface: + * @sort_column_changed: Signal emitted when the sort column or sort + * order of sortable is changed. + * @get_sort_column_id: Fills in sort_column_id and order with the + * current sort column and the order. + * @set_sort_column_id: Sets the current sort column to be + * sort_column_id. + * @set_sort_func: Sets the comparison function used when sorting to + * be sort_func. + * @set_default_sort_func: Sets the default comparison function used + * when sorting to be sort_func. + * @has_default_sort_func: %TRUE if the model has a default sort + * function. + */ struct _GtkTreeSortableIface { + /*< private >*/ GTypeInterface g_iface; + /*< public >*/ + /* signals */ void (* sort_column_changed) (GtkTreeSortable *sortable); |