Add more messages to the deprecation warnings

Point to replacement types for the old GtkTree* API.
This commit is contained in:
Emmanuele Bassi 2022-10-20 12:42:27 +01:00
parent e045e798a2
commit e05157437f
5 changed files with 142 additions and 142 deletions

View File

@ -74,23 +74,23 @@ struct _GtkTreeDragSourceIface
GtkTreePath *path); GtkTreePath *path);
}; };
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource)
GType gtk_tree_drag_source_get_type (void) G_GNUC_CONST; GType gtk_tree_drag_source_get_type (void) G_GNUC_CONST;
/* Returns whether the given row can be dragged */ /* Returns whether the given row can be dragged */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource)
gboolean gtk_tree_drag_source_row_draggable (GtkTreeDragSource *drag_source, gboolean gtk_tree_drag_source_row_draggable (GtkTreeDragSource *drag_source,
GtkTreePath *path); GtkTreePath *path);
/* Deletes the given row, or returns FALSE if it can't */ /* Deletes the given row, or returns FALSE if it can't */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource)
gboolean gtk_tree_drag_source_drag_data_delete (GtkTreeDragSource *drag_source, gboolean gtk_tree_drag_source_drag_data_delete (GtkTreeDragSource *drag_source,
GtkTreePath *path); GtkTreePath *path);
/* Fills in selection_data with type selection_data->target based on /* Fills in selection_data with type selection_data->target based on
* the row denoted by path, returns TRUE if it does anything * the row denoted by path, returns TRUE if it does anything
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource)
GdkContentProvider * GdkContentProvider *
gtk_tree_drag_source_drag_data_get (GtkTreeDragSource *drag_source, gtk_tree_drag_source_drag_data_get (GtkTreeDragSource *drag_source,
GtkTreePath *path); GtkTreePath *path);
@ -129,20 +129,20 @@ struct _GtkTreeDragDestIface
const GValue *value); const GValue *value);
}; };
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDropTarget)
GType gtk_tree_drag_dest_get_type (void) G_GNUC_CONST; GType gtk_tree_drag_dest_get_type (void) G_GNUC_CONST;
/* Inserts a row before dest which contains data in selection_data, /* Inserts a row before dest which contains data in selection_data,
* or returns FALSE if it can't * or returns FALSE if it can't
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDropTarget)
gboolean gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest, gboolean gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest,
GtkTreePath *dest, GtkTreePath *dest,
const GValue *value); const GValue *value);
/* Returns TRUE if we can drop before path; path may not exist. */ /* Returns TRUE if we can drop before path; path may not exist. */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDropTarget)
gboolean gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest, gboolean gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest,
GtkTreePath *dest_path, GtkTreePath *dest_path,
const GValue *value); const GValue *value);
@ -151,11 +151,11 @@ gboolean gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest,
/* The selection data would normally have target type GTK_TREE_MODEL_ROW in this /* The selection data would normally have target type GTK_TREE_MODEL_ROW in this
* case. If the target is wrong these functions return FALSE. * case. If the target is wrong these functions return FALSE.
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource and GtkDropTarget)
GdkContentProvider * GdkContentProvider *
gtk_tree_create_row_drag_content (GtkTreeModel *tree_model, gtk_tree_create_row_drag_content (GtkTreeModel *tree_model,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkDragSource and GtkDropTarget)
gboolean gtk_tree_get_row_drag_data (const GValue *value, gboolean gtk_tree_get_row_drag_data (const GValue *value,
GtkTreeModel **tree_model, GtkTreeModel **tree_model,
GtkTreePath **path); GtkTreePath **path);

View File

@ -192,57 +192,57 @@ struct _GtkTreeModelIface
/* GtkTreePath operations */ /* GtkTreePath operations */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_new (void); GtkTreePath *gtk_tree_path_new (void);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_new_from_string (const char *path); GtkTreePath *gtk_tree_path_new_from_string (const char *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_new_from_indices (int first_index, GtkTreePath *gtk_tree_path_new_from_indices (int first_index,
...); ...);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_new_from_indicesv (int *indices, GtkTreePath *gtk_tree_path_new_from_indicesv (int *indices,
gsize length); gsize length);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
char *gtk_tree_path_to_string (GtkTreePath *path); char *gtk_tree_path_to_string (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_new_first (void); GtkTreePath *gtk_tree_path_new_first (void);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_path_append_index (GtkTreePath *path, void gtk_tree_path_append_index (GtkTreePath *path,
int index_); int index_);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_path_prepend_index (GtkTreePath *path, void gtk_tree_path_prepend_index (GtkTreePath *path,
int index_); int index_);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int gtk_tree_path_get_depth (GtkTreePath *path); int gtk_tree_path_get_depth (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int *gtk_tree_path_get_indices (GtkTreePath *path); int *gtk_tree_path_get_indices (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int *gtk_tree_path_get_indices_with_depth (GtkTreePath *path, int *gtk_tree_path_get_indices_with_depth (GtkTreePath *path,
int *depth); int *depth);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_path_free (GtkTreePath *path); void gtk_tree_path_free (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_path_copy (const GtkTreePath *path); GtkTreePath *gtk_tree_path_copy (const GtkTreePath *path);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_path_get_type (void) G_GNUC_CONST; GType gtk_tree_path_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int gtk_tree_path_compare (const GtkTreePath *a, int gtk_tree_path_compare (const GtkTreePath *a,
const GtkTreePath *b); const GtkTreePath *b);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_path_next (GtkTreePath *path); void gtk_tree_path_next (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_path_prev (GtkTreePath *path); gboolean gtk_tree_path_prev (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_path_up (GtkTreePath *path); gboolean gtk_tree_path_up (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_path_down (GtkTreePath *path); void gtk_tree_path_down (GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, gboolean gtk_tree_path_is_ancestor (GtkTreePath *path,
GtkTreePath *descendant); GtkTreePath *descendant);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_path_is_descendant (GtkTreePath *path, gboolean gtk_tree_path_is_descendant (GtkTreePath *path,
GtkTreePath *ancestor); GtkTreePath *ancestor);
@ -256,147 +256,147 @@ gboolean gtk_tree_path_is_descendant (GtkTreePath *path,
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_row_reference_get_type (void) G_GNUC_CONST; GType gtk_tree_row_reference_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeRowReference *gtk_tree_row_reference_new (GtkTreeModel *model, GtkTreeRowReference *gtk_tree_row_reference_new (GtkTreeModel *model,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeRowReference *gtk_tree_row_reference_new_proxy (GObject *proxy, GtkTreeRowReference *gtk_tree_row_reference_new_proxy (GObject *proxy,
GtkTreeModel *model, GtkTreeModel *model,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath *gtk_tree_row_reference_get_path (GtkTreeRowReference *reference); GtkTreePath *gtk_tree_row_reference_get_path (GtkTreeRowReference *reference);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeModel *gtk_tree_row_reference_get_model (GtkTreeRowReference *reference); GtkTreeModel *gtk_tree_row_reference_get_model (GtkTreeRowReference *reference);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference); gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeRowReference *gtk_tree_row_reference_copy (GtkTreeRowReference *reference); GtkTreeRowReference *gtk_tree_row_reference_copy (GtkTreeRowReference *reference);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_row_reference_free (GtkTreeRowReference *reference); void gtk_tree_row_reference_free (GtkTreeRowReference *reference);
/* These two functions are only needed if you created the row reference with a /* These two functions are only needed if you created the row reference with a
* proxy object */ * proxy object */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_row_reference_inserted (GObject *proxy, void gtk_tree_row_reference_inserted (GObject *proxy,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_row_reference_deleted (GObject *proxy, void gtk_tree_row_reference_deleted (GObject *proxy,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_row_reference_reordered (GObject *proxy, void gtk_tree_row_reference_reordered (GObject *proxy,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter, GtkTreeIter *iter,
int *new_order); int *new_order);
/* GtkTreeIter operations */ /* GtkTreeIter operations */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeIter * gtk_tree_iter_copy (GtkTreeIter *iter); GtkTreeIter * gtk_tree_iter_copy (GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_iter_free (GtkTreeIter *iter); void gtk_tree_iter_free (GtkTreeIter *iter);
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_iter_get_type (void) G_GNUC_CONST; GType gtk_tree_iter_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_model_get_type (void) G_GNUC_CONST; GType gtk_tree_model_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model); GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int gtk_tree_model_get_n_columns (GtkTreeModel *tree_model); int gtk_tree_model_get_n_columns (GtkTreeModel *tree_model);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model,
int index_); int index_);
/* Iterator movement */ /* Iterator movement */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
const char *path_string); const char *path_string);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
char * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model, char * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model, GtkTreePath * gtk_tree_model_get_path (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_get_value (GtkTreeModel *tree_model, void gtk_tree_model_get_value (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
int column, int column,
GValue *value); GValue *value);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_previous (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_previous (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
GtkTreeIter *parent); GtkTreeIter *parent);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
int gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, int gtk_tree_model_iter_n_children (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
GtkTreeIter *parent, GtkTreeIter *parent,
int n); int n);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
GtkTreeIter *child); GtkTreeIter *child);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_ref_node (GtkTreeModel *tree_model, void gtk_tree_model_ref_node (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_unref_node (GtkTreeModel *tree_model, void gtk_tree_model_unref_node (GtkTreeModel *tree_model,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_get (GtkTreeModel *tree_model, void gtk_tree_model_get (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
...); ...);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_get_valist (GtkTreeModel *tree_model, void gtk_tree_model_get_valist (GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
va_list var_args); va_list var_args);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_foreach (GtkTreeModel *model, void gtk_tree_model_foreach (GtkTreeModel *model,
GtkTreeModelForeachFunc func, GtkTreeModelForeachFunc func,
gpointer user_data); gpointer user_data);
/* Signals */ /* Signals */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_row_changed (GtkTreeModel *tree_model, void gtk_tree_model_row_changed (GtkTreeModel *tree_model,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_row_inserted (GtkTreeModel *tree_model, void gtk_tree_model_row_inserted (GtkTreeModel *tree_model,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model, void gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter); GtkTreeIter *iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_row_deleted (GtkTreeModel *tree_model, void gtk_tree_model_row_deleted (GtkTreeModel *tree_model,
GtkTreePath *path); GtkTreePath *path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model, void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter, GtkTreeIter *iter,
int *new_order); int *new_order);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GListModel)
void gtk_tree_model_rows_reordered_with_length (GtkTreeModel *tree_model, void gtk_tree_model_rows_reordered_with_length (GtkTreeModel *tree_model,
GtkTreePath *path, GtkTreePath *path,
GtkTreeIter *iter, GtkTreeIter *iter,

View File

@ -105,48 +105,48 @@ struct _GtkTreeModelFilterClass
/* base */ /* base */
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_model_filter_get_type (void) G_GNUC_CONST; GType gtk_tree_model_filter_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreeModel *gtk_tree_model_filter_new (GtkTreeModel *child_model, GtkTreeModel *gtk_tree_model_filter_new (GtkTreeModel *child_model,
GtkTreePath *root); GtkTreePath *root);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_set_visible_func (GtkTreeModelFilter *filter, void gtk_tree_model_filter_set_visible_func (GtkTreeModelFilter *filter,
GtkTreeModelFilterVisibleFunc func, GtkTreeModelFilterVisibleFunc func,
gpointer data, gpointer data,
GDestroyNotify destroy); GDestroyNotify destroy);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_set_modify_func (GtkTreeModelFilter *filter, void gtk_tree_model_filter_set_modify_func (GtkTreeModelFilter *filter,
int n_columns, int n_columns,
GType *types, GType *types,
GtkTreeModelFilterModifyFunc func, GtkTreeModelFilterModifyFunc func,
gpointer data, gpointer data,
GDestroyNotify destroy); GDestroyNotify destroy);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_set_visible_column (GtkTreeModelFilter *filter, void gtk_tree_model_filter_set_visible_column (GtkTreeModelFilter *filter,
int column); int column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreeModel *gtk_tree_model_filter_get_model (GtkTreeModelFilter *filter); GtkTreeModel *gtk_tree_model_filter_get_model (GtkTreeModelFilter *filter);
/* conversion */ /* conversion */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
gboolean gtk_tree_model_filter_convert_child_iter_to_iter (GtkTreeModelFilter *filter, gboolean gtk_tree_model_filter_convert_child_iter_to_iter (GtkTreeModelFilter *filter,
GtkTreeIter *filter_iter, GtkTreeIter *filter_iter,
GtkTreeIter *child_iter); GtkTreeIter *child_iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_convert_iter_to_child_iter (GtkTreeModelFilter *filter, void gtk_tree_model_filter_convert_iter_to_child_iter (GtkTreeModelFilter *filter,
GtkTreeIter *child_iter, GtkTreeIter *child_iter,
GtkTreeIter *filter_iter); GtkTreeIter *filter_iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreePath *gtk_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter, GtkTreePath *gtk_tree_model_filter_convert_child_path_to_path (GtkTreeModelFilter *filter,
GtkTreePath *child_path); GtkTreePath *child_path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreePath *gtk_tree_model_filter_convert_path_to_child_path (GtkTreeModelFilter *filter, GtkTreePath *gtk_tree_model_filter_convert_path_to_child_path (GtkTreeModelFilter *filter,
GtkTreePath *filter_path); GtkTreePath *filter_path);
/* extras */ /* extras */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter); void gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_filter_clear_cache (GtkTreeModelFilter *filter); void gtk_tree_model_filter_clear_cache (GtkTreeModelFilter *filter);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeModelFilter, g_object_unref)

View File

@ -58,30 +58,30 @@ struct _GtkTreeModelSortClass
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_model_sort_get_type (void) G_GNUC_CONST; GType gtk_tree_model_sort_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreeModel *gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model); GtkTreeModel *gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreeModel *gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model); GtkTreeModel *gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreePath *gtk_tree_model_sort_convert_child_path_to_path (GtkTreeModelSort *tree_model_sort, GtkTreePath *gtk_tree_model_sort_convert_child_path_to_path (GtkTreeModelSort *tree_model_sort,
GtkTreePath *child_path); GtkTreePath *child_path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
gboolean gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sort, gboolean gtk_tree_model_sort_convert_child_iter_to_iter (GtkTreeModelSort *tree_model_sort,
GtkTreeIter *sort_iter, GtkTreeIter *sort_iter,
GtkTreeIter *child_iter); GtkTreeIter *child_iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
GtkTreePath *gtk_tree_model_sort_convert_path_to_child_path (GtkTreeModelSort *tree_model_sort, GtkTreePath *gtk_tree_model_sort_convert_path_to_child_path (GtkTreeModelSort *tree_model_sort,
GtkTreePath *sorted_path); GtkTreePath *sorted_path);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_sort_convert_iter_to_child_iter (GtkTreeModelSort *tree_model_sort, void gtk_tree_model_sort_convert_iter_to_child_iter (GtkTreeModelSort *tree_model_sort,
GtkTreeIter *child_iter, GtkTreeIter *child_iter,
GtkTreeIter *sorted_iter); GtkTreeIter *sorted_iter);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_sort_reset_default_sort_func (GtkTreeModelSort *tree_model_sort); void gtk_tree_model_sort_reset_default_sort_func (GtkTreeModelSort *tree_model_sort);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
void gtk_tree_model_sort_clear_cache (GtkTreeModelSort *tree_model_sort); void gtk_tree_model_sort_clear_cache (GtkTreeModelSort *tree_model_sort);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkFilterListModel)
gboolean gtk_tree_model_sort_iter_is_valid (GtkTreeModelSort *tree_model_sort, gboolean gtk_tree_model_sort_iter_is_valid (GtkTreeModelSort *tree_model_sort,
GtkTreeIter *iter); GtkTreeIter *iter);

View File

@ -80,117 +80,117 @@ typedef void (* GtkTreeCellDataFunc) (GtkTreeViewColumn *tree_column,
GDK_AVAILABLE_IN_ALL GDK_AVAILABLE_IN_ALL
GType gtk_tree_view_column_get_type (void) G_GNUC_CONST; GType gtk_tree_view_column_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkTreeViewColumn *gtk_tree_view_column_new (void); GtkTreeViewColumn *gtk_tree_view_column_new (void);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkTreeViewColumn *gtk_tree_view_column_new_with_area (GtkCellArea *area); GtkTreeViewColumn *gtk_tree_view_column_new_with_area (GtkCellArea *area);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const char *title, GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const char *title,
GtkCellRenderer *cell, GtkCellRenderer *cell,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell, GtkCellRenderer *cell,
gboolean expand); gboolean expand);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell, GtkCellRenderer *cell,
gboolean expand); gboolean expand);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer, GtkCellRenderer *cell_renderer,
const char *attribute, const char *attribute,
int column); int column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer, GtkCellRenderer *cell_renderer,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_cell_data_func (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer, GtkCellRenderer *cell_renderer,
GtkTreeCellDataFunc func, GtkTreeCellDataFunc func,
gpointer func_data, gpointer func_data,
GDestroyNotify destroy); GDestroyNotify destroy);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer); GtkCellRenderer *cell_renderer);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_spacing (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_spacing (GtkTreeViewColumn *tree_column,
int spacing); int spacing);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_spacing (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_spacing (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column,
gboolean visible); gboolean visible);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column,
gboolean resizable); gboolean resizable);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column,
GtkTreeViewColumnSizing type); GtkTreeViewColumnSizing type);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column); GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_x_offset (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_x_offset (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_fixed_width (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_fixed_width (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column,
int fixed_width); int fixed_width);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column,
int min_width); int min_width);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column,
int max_width); int max_width);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_max_width (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_max_width (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_clicked (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_clicked (GtkTreeViewColumn *tree_column);
/* Options for manipulating the column headers /* Options for manipulating the column headers
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column,
const char *title); const char *title);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
const char * gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column); const char * gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column,
gboolean expand); gboolean expand);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column,
gboolean clickable); gboolean clickable);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column,
GtkWidget *widget); GtkWidget *widget);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkWidget *gtk_tree_view_column_get_widget (GtkTreeViewColumn *tree_column); GtkWidget *gtk_tree_view_column_get_widget (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_alignment (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_alignment (GtkTreeViewColumn *tree_column,
float xalign); float xalign);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
float gtk_tree_view_column_get_alignment (GtkTreeViewColumn *tree_column); float gtk_tree_view_column_get_alignment (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column,
gboolean reorderable); gboolean reorderable);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column);
@ -198,52 +198,52 @@ gboolean gtk_tree_view_column_get_reorderable (GtkTreeViewCol
/* You probably only want to use gtk_tree_view_column_set_sort_column_id. The /* You probably only want to use gtk_tree_view_column_set_sort_column_id. The
* other sorting functions exist primarily to let others do their own custom sorting. * other sorting functions exist primarily to let others do their own custom sorting.
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column,
int sort_column_id); int sort_column_id);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
int gtk_tree_view_column_get_sort_column_id (GtkTreeViewColumn *tree_column); int gtk_tree_view_column_get_sort_column_id (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_sort_indicator (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_sort_indicator (GtkTreeViewColumn *tree_column,
gboolean setting); gboolean setting);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_get_sort_indicator (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_get_sort_indicator (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_set_sort_order (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_set_sort_order (GtkTreeViewColumn *tree_column,
GtkSortType order); GtkSortType order);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkSortType gtk_tree_view_column_get_sort_order (GtkTreeViewColumn *tree_column); GtkSortType gtk_tree_view_column_get_sort_order (GtkTreeViewColumn *tree_column);
/* These functions are meant primarily for interaction between the GtkTreeView and the column. /* These functions are meant primarily for interaction between the GtkTreeView and the column.
*/ */
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column,
GtkTreeModel *tree_model, GtkTreeModel *tree_model,
GtkTreeIter *iter, GtkTreeIter *iter,
gboolean is_expander, gboolean is_expander,
gboolean is_expanded); gboolean is_expanded);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column,
int *x_offset, int *x_offset,
int *y_offset, int *y_offset,
int *width, int *width,
int *height); int *height);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column); gboolean gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_focus_cell (GtkTreeViewColumn *tree_column, void gtk_tree_view_column_focus_cell (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell); GtkCellRenderer *cell);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column, gboolean gtk_tree_view_column_cell_get_position (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell_renderer, GtkCellRenderer *cell_renderer,
int *x_offset, int *x_offset,
int *width); int *width);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
void gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkWidget *gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column); GtkWidget *gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column);
GDK_DEPRECATED_IN_4_10 GDK_DEPRECATED_IN_4_10_FOR(GtkColumnView and GtkColumnViewColumn)
GtkWidget *gtk_tree_view_column_get_button (GtkTreeViewColumn *tree_column); GtkWidget *gtk_tree_view_column_get_button (GtkTreeViewColumn *tree_column);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkTreeViewColumn, g_object_unref)