Synopsis
#define TBUTTON (x)
TButton;
TButton* create_tbutton (GList **wlist,
GdkPixmap *parent,
GdkGC *gc,
gint x,
gint y,
gint w,
gint h,
gint nux,
gint nuy,
gint pux,
gint puy,
gint nsx,
gint nsy,
gint psx,
gint psy,
void (*cb) (gboolean),
SkinPixmapId si);
void tbutton_set_toggled (TButton *tb,
gboolean toggled);
void free_tbutton (TButton *b);
Details
TBUTTON()
#define TBUTTON(x) ((TButton *)(x))
TButton
typedef struct {
Widget tb_widget;
gint tb_nux, tb_nuy, tb_pux, tb_puy, tb_nsx, tb_nsy, tb_psx, tb_psy;
gint tb_pressed, tb_inside, tb_selected;
void (*tb_push_cb) (gboolean);
SkinPixmapId tb_skin_index;
} TButton;
create_tbutton ()
TButton* create_tbutton (GList **wlist,
GdkPixmap *parent,
GdkGC *gc,
gint x,
gint y,
gint w,
gint h,
gint nux,
gint nuy,
gint pux,
gint puy,
gint nsx,
gint nsy,
gint psx,
gint psy,
void (*cb) (gboolean),
SkinPixmapId si);
wlist : |
|
parent : |
|
gc : |
|
x : |
|
y : |
|
w : |
|
h : |
|
nux : |
|
nuy : |
|
pux : |
|
puy : |
|
nsx : |
|
nsy : |
|
psx : |
|
psy : |
|
cb : |
|
si : |
|
| Returns : |
|
tbutton_set_toggled ()
void tbutton_set_toggled (TButton *tb,
gboolean toggled);
free_tbutton ()
void free_tbutton (TButton *b);