mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Massive reorder/cleanup of a lot of the code. Some documentation added.
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the code. Some documentation added.
This commit is contained in:
parent
7e9b154f0c
commit
c4f26ae336
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
|
||||
code. Some documentation added.
|
||||
|
||||
2001-04-27 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
|
||||
|
5274
gtk/gtktreeview.c
5274
gtk/gtktreeview.c
File diff suppressed because it is too large
Load Diff
@ -49,11 +49,9 @@ typedef enum
|
||||
typedef struct _GtkTreeView GtkTreeView;
|
||||
typedef struct _GtkTreeViewClass GtkTreeViewClass;
|
||||
typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate;
|
||||
|
||||
typedef struct _GtkTreeSelection GtkTreeSelection;
|
||||
typedef struct _GtkTreeSelectionClass GtkTreeSelectionClass;
|
||||
|
||||
|
||||
struct _GtkTreeView
|
||||
{
|
||||
GtkContainer parent;
|
||||
@ -92,12 +90,19 @@ typedef gboolean (* GtkTreeViewDraggableFunc) (GtkTreeView *tree_view,
|
||||
typedef void (* GtkTreeViewMappingFunc) (GtkTreeView *tree_view,
|
||||
GtkTreePath *path,
|
||||
gpointer user_data);
|
||||
typedef gboolean (* GtkTreeViewDroppableFunc) (GtkTreeView *tree_view,
|
||||
GdkDragContext *context,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewDropPosition *pos,
|
||||
gpointer user_data);
|
||||
|
||||
|
||||
|
||||
/* Creators */
|
||||
GtkType gtk_tree_view_get_type (void);
|
||||
GtkWidget *gtk_tree_view_new (void);
|
||||
GtkWidget *gtk_tree_view_new_with_model (GtkTreeModel *model);
|
||||
|
||||
/* Accessors */
|
||||
GtkTreeModel *gtk_tree_view_get_model (GtkTreeView *tree_view);
|
||||
void gtk_tree_view_set_model (GtkTreeView *tree_view,
|
||||
GtkTreeModel *model);
|
||||
@ -114,6 +119,11 @@ void gtk_tree_view_set_headers_visible (GtkTreeView
|
||||
void gtk_tree_view_columns_autosize (GtkTreeView *tree_view);
|
||||
void gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view,
|
||||
gboolean setting);
|
||||
void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view,
|
||||
gboolean setting);
|
||||
gboolean gtk_tree_view_get_rules_hint (GtkTreeView *tree_view);
|
||||
|
||||
/* Column funtions */
|
||||
gint gtk_tree_view_append_column (GtkTreeView *tree_view,
|
||||
GtkTreeViewColumn *column);
|
||||
gint gtk_tree_view_remove_column (GtkTreeView *tree_view,
|
||||
@ -126,17 +136,16 @@ gint gtk_tree_view_insert_column_with_attributes (GtkTreeView
|
||||
gchar *title,
|
||||
GtkCellRenderer *cell,
|
||||
...);
|
||||
GtkTreeViewColumn *gtk_tree_view_get_column (GtkTreeView *tree_view,
|
||||
gint n);
|
||||
void gtk_tree_view_move_column (GtkTreeView *tree_view,
|
||||
GtkTreeViewColumn *column,
|
||||
GtkTreeViewColumn *base_column,
|
||||
gint side);
|
||||
GtkTreeViewColumn *gtk_tree_view_get_column (GtkTreeView *tree_view,
|
||||
gint n);
|
||||
gint left);
|
||||
void gtk_tree_view_set_expander_column (GtkTreeView *tree_view,
|
||||
gint col);
|
||||
gint gtk_tree_view_get_expander_column (GtkTreeView *tree_view);
|
||||
|
||||
|
||||
/* Actions */
|
||||
void gtk_tree_view_scroll_to_point (GtkTreeView *tree_view,
|
||||
gint tree_x,
|
||||
@ -146,6 +155,21 @@ void gtk_tree_view_scroll_to_cell (GtkTreeView
|
||||
GtkTreeViewColumn *column,
|
||||
gfloat row_align,
|
||||
gfloat col_align);
|
||||
void gtk_tree_view_row_activated (GtkTreeView *tree_view,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column);
|
||||
void gtk_tree_view_expand_all (GtkTreeView *tree_view);
|
||||
void gtk_tree_view_collapse_all (GtkTreeView *tree_view);
|
||||
gboolean gtk_tree_view_expand_row (GtkTreeView *tree_view,
|
||||
GtkTreePath *path,
|
||||
gboolean open_all);
|
||||
gboolean gtk_tree_view_collapse_row (GtkTreeView *tree_view,
|
||||
GtkTreePath *path);
|
||||
void gtk_tree_view_map_expanded_rows (GtkTreeView *tree_view,
|
||||
GtkTreeViewMappingFunc func,
|
||||
gpointer data);
|
||||
|
||||
/* Layout information */
|
||||
gboolean gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,
|
||||
GdkWindow *window,
|
||||
gint x,
|
||||
@ -162,20 +186,6 @@ void gtk_tree_view_get_background_area (GtkTreeView
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column,
|
||||
GdkRectangle *rect);
|
||||
void gtk_tree_view_expand_all (GtkTreeView *tree_view);
|
||||
void gtk_tree_view_collapse_all (GtkTreeView *tree_view);
|
||||
gboolean gtk_tree_view_expand_row (GtkTreeView *tree_view,
|
||||
GtkTreePath *path,
|
||||
gboolean open_all);
|
||||
gboolean gtk_tree_view_collapse_row (GtkTreeView *tree_view,
|
||||
GtkTreePath *path);
|
||||
void gtk_tree_view_row_activated (GtkTreeView *tree_view,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewColumn *column);
|
||||
void gtk_tree_view_map_expanded_rows (GtkTreeView *tree_view,
|
||||
GtkTreeViewMappingFunc func,
|
||||
gpointer data);
|
||||
|
||||
void gtk_tree_view_get_visible_rect (GtkTreeView *tree_view,
|
||||
GdkRectangle *visible_rect);
|
||||
void gtk_tree_view_widget_to_tree_coords (GtkTreeView *tree_view,
|
||||
@ -189,21 +199,7 @@ void gtk_tree_view_tree_to_widget_coords (GtkTreeView *tree_view,
|
||||
gint *wx,
|
||||
gint *wy);
|
||||
|
||||
void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view,
|
||||
gboolean setting);
|
||||
gboolean gtk_tree_view_get_rules_hint (GtkTreeView *tree_view);
|
||||
|
||||
|
||||
/* Drag-and-Drop support */
|
||||
/* this func can change "pos" if it likes, in addition to returning
|
||||
* true/false for whether a drop is possible
|
||||
*/
|
||||
typedef gboolean (* GtkTreeViewDroppableFunc) (GtkTreeView *tree_view,
|
||||
GdkDragContext *context,
|
||||
GtkTreePath *path,
|
||||
GtkTreeViewDropPosition *pos,
|
||||
gpointer user_data);
|
||||
|
||||
void gtk_tree_view_set_rows_drag_source (GtkTreeView *tree_view,
|
||||
GdkModifierType start_button_mask,
|
||||
const GtkTargetEntry *targets,
|
||||
@ -217,7 +213,6 @@ void gtk_tree_view_set_rows_drag_dest (GtkTreeView *tree_vi
|
||||
GdkDragAction actions,
|
||||
GtkTreeViewDroppableFunc location_droppable_func,
|
||||
gpointer user_data);
|
||||
|
||||
void gtk_tree_view_unset_rows_drag_source (GtkTreeView *tree_view);
|
||||
void gtk_tree_view_unset_rows_drag_dest (GtkTreeView *tree_view);
|
||||
|
||||
@ -236,8 +231,6 @@ gboolean gtk_tree_view_get_dest_row_at_pos (GtkTreeView *tree_vi
|
||||
GdkPixmap *gtk_tree_view_create_row_drag_icon (GtkTreeView *tree_view,
|
||||
GtkTreePath *path);
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Loading…
Reference in New Issue
Block a user