AMITK Reference Manual | ||||
---|---|---|---|---|
Top | Description |
enum AmitkTreeViewMode; AmitkTreeView; GtkWidget* amitk_tree_view_new (AmitkTreeViewMode tree_mode, AmitkPreferences *preferences, GtkWidget *progress_dialog); void amitk_tree_view_set_study (AmitkTreeView *tree_view, AmitkStudy *study); void amitk_tree_view_expand_object (AmitkTreeView *tree_view, AmitkObject *object); void amitk_tree_view_set_active_object (AmitkTreeView *tree_view, AmitkObject *object); GList * amitk_tree_view_get_multiple_selection_objects (AmitkTreeView *tree_view);
typedef enum { AMITK_TREE_VIEW_MODE_MAIN, AMITK_TREE_VIEW_MODE_MULTIPLE_SELECTION, AMITK_TREE_VIEW_MODE_NUM } AmitkTreeViewMode;
typedef struct { GtkTreeView tree_view; AmitkTreeViewMode mode; AmitkStudy * study; AmitkObject * active_object; AmitkPreferences * preferences; GtkWidget * progress_dialog; GtkTreeViewColumn * select_column[AMITK_VIEW_MODE_NUM]; AmitkViewMode prev_view_mode; gint mouse_x; /* the current mouse position */ gint mouse_y; GtkTreePath * current_path; /* drag-n-drop info */ gboolean drag_begin_possible; gint press_x; gint press_y; AmitkObject * src_object; /* not referenced */ AmitkObject * dest_object; /* not referenced */ GtkTargetList * drag_list; } AmitkTreeView;
GtkWidget* amitk_tree_view_new (AmitkTreeViewMode tree_mode, AmitkPreferences *preferences, GtkWidget *progress_dialog);
|
|
|
|
|
|
Returns : |
void amitk_tree_view_set_study (AmitkTreeView *tree_view, AmitkStudy *study);
|
|
|
void amitk_tree_view_expand_object (AmitkTreeView *tree_view, AmitkObject *object);
|
|
|
void amitk_tree_view_set_active_object (AmitkTreeView *tree_view, AmitkObject *object);
|
|
|
GList * amitk_tree_view_get_multiple_selection_objects (AmitkTreeView *tree_view);
|
|
Returns : |