![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|---|---|---|---|
#define PBUTTON (x) PButton; PButton* create_pbutton (GList **wlist,GdkPixmap *parent,GdkGC *gc,gint x,gint y,gint w,gint h,gint nx,gint ny,gint px,gint py,void (*push_cb) (void), SkinPixmapId si); PButton* create_pbutton_ex (GList **wlist,GdkPixmap *parent,GdkGC *gc,gint x,gint y,gint w,gint h,gint nx,gint ny,gint px,gint py,void (*push_cb) (void),void (*release_cb) (void), SkinPixmapId si1, SkinPixmapId si2);void free_pbutton (PButton *b);void pbutton_set_skin_index (PButton *b, SkinPixmapId si);void pbutton_set_skin_index1 (PButton *b, SkinPixmapId si);void pbutton_set_skin_index2 (PButton *b, SkinPixmapId si);void pbutton_set_button_data (PButton *b,gint nx,gint ny,gint px,gint py);
typedef struct { Widget pb_widget; gint pb_nx, pb_ny; gint pb_px, pb_py; gboolean pb_pressed; gboolean pb_inside; gboolean pb_allow_draw; void (*pb_push_cb) (void); void (*pb_release_cb) (void); SkinPixmapId pb_skin_index1, pb_skin_index2; } PButton;
PButton* create_pbutton (GList **wlist,GdkPixmap *parent,GdkGC *gc,gint x,gint y,gint w,gint h,gint nx,gint ny,gint px,gint py,void (*push_cb) (void), SkinPixmapId si);
wlist : |
|
parent : |
|
gc : |
|
x : |
|
y : |
|
w : |
|
h : |
|
nx : |
|
ny : |
|
px : |
|
py : |
|
push_cb : |
|
si : |
|
Returns : |
PButton* create_pbutton_ex (GList **wlist,GdkPixmap *parent,GdkGC *gc,gint x,gint y,gint w,gint h,gint nx,gint ny,gint px,gint py,void (*push_cb) (void),void (*release_cb) (void), SkinPixmapId si1, SkinPixmapId si2);
wlist : |
|
parent : |
|
gc : |
|
x : |
|
y : |
|
w : |
|
h : |
|
nx : |
|
ny : |
|
px : |
|
py : |
|
push_cb : |
|
release_cb : |
|
si1 : |
|
si2 : |
|
Returns : |
void pbutton_set_button_data (PButton *b,gint nx,gint ny,gint px,gint py);
b : |
|
nx : |
|
ny : |
|
px : |
|
py : |