gCAD3D 2.35
gui_gtk3/gtk_base.h
Go to the documentation of this file.
1 /* ../gui_gtk2/gtk_base.h
2 
3 
4 Modif:
5 2012-03-18 New; extracted from ut_gtk. RF.
6 
7 */
8 
9 
10 
11 void GUI_Init__ (char *fRC);
12 
13 MemObj GUI_Win__ (char *wtit, void *funcnam, char *opts);
14 int GUI_Win_go (MemObj *o_par);
15 int GUI_Win_ev_key (MemObj *o_par, void *fKey);
16 int GUI_Win_ev_button (MemObj *o_par, void *fButton);
17 int GUI_Win_up (MemObj *parentWin, MemObj *o_win, int typ);
18 char* GUI_Win_tit (void *gtkWin);
19 void GUI_Win_kill (MemObj *mo);
20 int GUI_main_quit ();
21 
22 MemObj GUI_box_h (MemObj *o_par, char *siz);
23 MemObj GUI_box_v (MemObj *o_par, char *siz);
24 MemObj GUI_box__ (MemObj *o_par, int typ, char *siz);
25 int GUI_w_pack_d (int *isx, int *isy, int *iex, int *iey, char *siz);
26 int GUI_w_pack_b (int pTyp, void *pObj, void *cObj,
27  int *isx, int *isy, int *iex, int *iey);
28 int GUI_w_pack2 (int pTyp, void *pObj, void *cObj, char *siz);
29 int GUI_w_pack1 (int pTyp, void *pObj, void *cObj, char *siz);
30 
31 
32 // #define GUI_box_h(o_par,hsiz,vsiz) GUI_box__(o_par,0,hsiz,vsiz)
33 // #define GUI_box_v(o_par,hsiz,vsiz) GUI_box__(o_par,1,hsiz,vsiz)
34 // MemObj GUI_box__ (MemObj *o_par, int typ, int hsiz, int vsiz);
35 
36 #define GUI_spc_h(o_par,hsiz) GUI_spc__(o_par,0,hsiz)
37 #define GUI_spc_v(o_par,vsiz) GUI_spc__(o_par,1,vsiz)
38 void GUI_spc__ (MemObj *o_par, int typ, int spc);
39 
40 #define GUI_sep_h(o_par,hsiz) GUI_sep__(o_par,0,hsiz)
41 #define GUI_sep_v(o_par,vsiz) GUI_sep__(o_par,1,vsiz)
42 void GUI_sep__ (MemObj *o_par, int typ, int border);
43 
44 
45 int GUI_is_alive (int winId);
46 int GUI_get_keys_mod ();
47 int GUI_update__ ();
48 
49 #define GUI_hide__(o_par) GUI_set_show(o_par,0)
50 #define GUI_show__(o_par) GUI_set_show(o_par,1)
51 int GUI_set_show (MemObj *mo, int mode);
52 int GUI_set_enable (MemObj *mo, int mode);
53 
54 
55 int GUI_timer__ (void *funcnam, int interval, void *data);
56 
57 
58 // INTERNAL:
59  int GUI_Win_exit (void *parent, MemObj um);
60  char* GUI_Win_tit (void *gtkWin);
61  int GUI_Win_key (void *parent, void *event, void *data);
62  int GUI_Win_button (void *parent, void *ev, void *data);
63  int GUI_packwn (void *parent, void *wi, int hsiz, int vsiz);
64  int GUI_siz_set (void *parent, int hSiz, int vSiz);
65  int GUI_cursor__ (MemObj *mo, int iCur);
66 
67  void** GUI_SETDAT_E (int ie);
68  void** GUI_SETDAT_EI (int ie, int ii);
69  void** GUI_SETDAT_ES (int ie, char *is);
70 
71  int GUI_OBJ_TYP (MemObj *mo);
72  int GUI_OBJ_SRC (MemObj *mo);
73 
74 // EOF
int typ
Definition: xa_tra.c:151
Definition: ut_umem.h:122
int GUI_Win_ev_button(MemObj *o_par, void *fButton)
Definition: gui_gtk2/gtk_base.c:750
int GUI_Win_ev_key(MemObj *o_par, void *fKey)
Definition: gui_gtk2/gtk_base.c:656
char mode
Definition: xa_tra.c:152
int GUI_Win_up(MemObj *parentWin, MemObj *o_win, int typ)
Definition: gui_gtk2/gtk_base.c:1011
int GUI_w_pack_b(int pTyp, void *pObj, void *cObj, int *isx, int *isy, int *iex, int *iey)
Definition: gui_gtk2/gtk_base.c:1588
int GUI_w_pack2(int pTyp, void *pObj, void *cObj, char *siz)
Definition: gui_gtk2/gtk_base.c:1498
void GUI_spc__(MemObj *o_par, int typ, int spc)
Definition: gui_gtk2/gtk_base.c:1759
int GUI_w_pack_d(int *isx, int *isy, int *iex, int *iey, char *siz)
Definition: gui_gtk2/gtk_base.c:1397
int GUI_OBJ_SRC(MemObj *mo)
Definition: gui_gtk2/gtk_base.c:2078
int GUI_timer__(void *funcnam, int interval, void *data)
Definition: gui_gtk2/gtk_base.c:1096
int GUI_set_enable(MemObj *mo, int mode)
Definition: gui_gtk2/gtk_base.c:1835
int GUI_cursor__(MemObj *mo, int iCur)
Definition: gui_gtk2/gtk_base.c:2006
MemObj GUI_Win__(char *wtit, void *funcnam, char *opts)
Definition: gui_gtk2/gtk_base.c:401
int GUI_Win_go(MemObj *o_par)
Definition: gui_gtk2/gtk_base.c:852
int GUI_main_quit()
Definition: gui_gtk2/gtk_base.c:621
int GUI_siz_set(void *parent, int hSiz, int vSiz)
Definition: gui_gtk2/gtk_base.c:1219
void GUI_Init__(char *fRC)
Definition: gui_gtk2/gtk_base.c:325
int GUI_update__()
Definition: gui_gtk2/gtk_base.c:1054
int GUI_is_alive(int winId)
Definition: gui_gtk2/gtk_base.c:951
void ** GUI_SETDAT_EI(int ie, int ii)
Definition: gui_gtk2/gtk_base.c:2154
int GUI_packwn(void *parent, void *wi, int hsiz, int vsiz)
Definition: gui_gtk2/gtk_base.c:1117
void ** GUI_SETDAT_E(int ie)
Definition: gui_gtk2/gtk_base.c:2093
int GUI_Win_exit(void *parent, MemObj um)
Definition: gui_gtk2/gtk_base.c:564
void GUI_Win_kill(MemObj *mo)
Definition: gui_gtk2/gtk_base.c:367
int GUI_get_keys_mod()
Definition: gui_gtk2/gtk_base.c:1889
char * GUI_Win_tit(void *gtkWin)
Definition: gui_gtk2/gtk_base.c:254
int GUI_set_show(MemObj *mo, int mode)
Definition: gui_gtk2/gtk_base.c:1861
int GUI_Win_key(void *parent, void *event, void *data)
Definition: gui_gtk2/gtk_base.c:707
int GUI_w_pack1(int pTyp, void *pObj, void *cObj, char *siz)
Definition: gui_gtk2/gtk_base.c:1519
void ** GUI_SETDAT_ES(int ie, char *is)
Definition: gui_gtk2/gtk_base.c:2121
MemObj GUI_box__(MemObj *o_par, int typ, char *siz)
Definition: gui_gtk2/gtk_base.c:1291
MemObj GUI_box_v(MemObj *o_par, char *siz)
Definition: gui_gtk2/gtk_base.c:1273
int GUI_OBJ_TYP(MemObj *mo)
Definition: gui_gtk2/gtk_base.c:2063
MemObj GUI_box_h(MemObj *o_par, char *siz)
Definition: gui_gtk2/gtk_base.c:1254
void GUI_sep__(MemObj *o_par, int typ, int border)
Definition: gui_gtk2/gtk_base.c:1795
int GUI_Win_button(void *parent, void *ev, void *data)
Definition: gui_gtk2/gtk_base.c:802