gCAD3D 2.40
gui_gtk2/gtk_tree_it.h
Go to the documentation of this file.
1 // create Tree with icon + text.
2 
3 // prereqisite:
4 // #include "../xa/xa_ico.h" // ICO_PT,
5 
6 
7 
8 #ifdef _LP64
9  // Linux64
10 typedef struct {char iter[32];} TreeNode;
11  // 32=sizeof(GtkTreeIter)
12 #else
13  // Linux32
14 typedef struct {char iter[16];} TreeNode;
15  // 16=sizeof(GtkTreeIter)
16 #endif
17 
18 
19 
20 MemObj GUI_tree1__ (MemObj *o_par, void *selCB, char *opts);
21 
22  // int GUI_tree1_row_add (char *nodeChd,
23  int GUI_tree1_row_add (TreeNode *nodeChd,
24  MemObj *mo,
25  TreeNode *nodePar,
26  int icoNr, char *txt, int mode);
27 
28  int GUI_tree1_row_set (MemObj *mo, TreeNode *row,
29  int ico, char *txt, int mode);
30 
31  int GUI_tree1_childs_set (MemObj *mo, TreeNode *it, int mode);
33 
35  char *txt, TreeNode *itPar, MemObj *mo);
36 
37  int GUI_tree1_expand__ (MemObj *mo, TreeNode *it);
39 
40  int GUI_tree1_childNr (MemObj *mo, TreeNode *it);
41  int GUI_tree1_lev (MemObj *mo, TreeNode *it);
42  int GUI_tree1_par (TreeNode *itPar, MemObj *mo, TreeNode *itChild);
43  int GUI_tree1_ndPos (char *ndPos, MemObj *mo, TreeNode *it);
44  int GUI_tree1_cmp_row (MemObj *mo, TreeNode *it1, TreeNode *it2);
45 
46  int GUI_tree1_cbSel (void *selection, MemObj mo);
47  int GUI_tree1_cbMouse (void *parent, void *ev, MemObj mo);
48 
49  int GUI_tree1_remove__ (MemObj *mo, TreeNode *it);
50  int GUI_tree1_clear (MemObj *mo);
51 
52  int GUI_tree1_decode (MemObj *mo);
53 
54 
61 
62 
63 // see Ico_icoNr_typ
64 
65 // EOF
static int icoNr
Definition: gui_gtk2/gtk_image.c:74
int GUI_tree1_clear(MemObj *mo)
Definition: gui_gtk2/gtk_tree_it.c:518
Definition: ut_umem.h:119
int GUI_tree1_cmp_row(MemObj *mo, TreeNode *it1, TreeNode *it2)
Definition: gui_gtk2/gtk_tree_it.c:834
int GUI_tree1_remove__(MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:623
char mode
Definition: xa_tra.c:152
int GUI_tree1_childs_set(MemObj *mo, TreeNode *it, int mode)
Definition: gui_gtk2/gtk_tree_it.c:876
int GUI_tree1_row_add(TreeNode *nodeChd, MemObj *mo, TreeNode *nodePar, int icoNr, char *txt, int mode)
Definition: gui_gtk2/gtk_tree_it.c:465
Definition: gui_gtk2/gtk_tree_it.h:14
int GUI_tree1_childs_remove(MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:641
int GUI_tree1_decode(MemObj *mo)
Definition: gui_gtk2/gtk_tree_it.c:436
int GUI_tree1_ndPos(char *ndPos, MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:769
int GUI_tree1_lev(MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:805
int GUI_tree1_cbMouse(void *parent, void *ev, MemObj mo)
Definition: gui_gtk2/gtk_tree_it.c:1012
int GUI_tree1_par(TreeNode *itPar, MemObj *mo, TreeNode *itChild)
Definition: gui_gtk2/gtk_tree_it.c:751
int GUI_tree1_iter_string(TreeNode *it, char *txt, TreeNode *itPar, MemObj *mo)
Definition: gui_gtk2/gtk_tree_it.c:535
int GUI_tree1_row_set(MemObj *mo, TreeNode *row, int ico, char *txt, int mode)
Definition: gui_gtk2/gtk_tree_it.c:346
int GUI_tree1_cbSel(void *selection, MemObj mo)
Definition: gui_gtk2/gtk_tree_it.c:926
int GUI_tree1_expand__(MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:696
MemObj GUI_tree1__(MemObj *o_par, void *selCB, char *opts)
Definition: gui_gtk2/gtk_tree_it.c:116
int GUI_tree1_childNr(MemObj *mo, TreeNode *it)
Definition: gui_gtk2/gtk_tree_it.c:602
int GUI_tree1_unselect_all(MemObj *mo)
Definition: gui_gtk2/gtk_tree_it.c:678