1 # data file for the Fltk User Interface Designer (fluid)
5 Function {button_cb(Fl_Button *b, void *)} {
6 comment {Buttons test callback} open private return_type void
9 sprintf(msg, "Label: '%s'\\nValue: %d", b->label(),b->value());
12 printf("%s\\n",msg);} {selected
19 xywh {463 67 369 214} type Double visible
23 tooltip {Normal button (callback called only when released)} xywh {20 10 160 30} labelsize 13
24 code0 {o->callback((Fl_Callback*) button_cb);}
28 tooltip {Normal button with callback called when changed (push and released)} xywh {20 44 160 30} labelsize 13 when 1
29 code0 {o->callback((Fl_Callback*) button_cb);}
32 label {Fl_Return_Button &B}
33 tooltip {Button with Return key as default shortcut} xywh {20 78 160 30} labelsize 13
34 code0 {o->callback((Fl_Callback*) button_cb);}
37 label {Fl_Light_Button &C}
38 tooltip {Button with toggle state and a visual indicator of the current state} xywh {20 113 160 30} labelsize 13
39 code0 {o->callback((Fl_Callback*) button_cb);}
42 label {Fl_Check_Button &D}
43 tooltip {Check button with toggle state} xywh {20 148 160 30} down_box DOWN_BOX labelsize 13
44 code0 {o->callback((Fl_Callback*) button_cb);}
47 label {Fl_Round_Button &E}
48 tooltip {Round Button with toggle state} xywh {20 178 160 30} down_box ROUND_DOWN_BOX labelsize 13
49 code0 {o->callback((Fl_Callback*) button_cb);}
52 xywh {190 10 70 120} box THIN_UP_FRAME
56 tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 10 70 30} type Radio down_box ROUND_DOWN_BOX
57 code0 {o->callback((Fl_Callback*) button_cb);}
61 tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 40 70 30} type Radio down_box ROUND_DOWN_BOX
62 code0 {o->callback((Fl_Callback*) button_cb);}
66 tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 70 70 30} type Radio down_box ROUND_DOWN_BOX
67 code0 {o->callback((Fl_Callback*) button_cb);}
71 tooltip {Radio button, only one button is set at a time, in the corresponding group.} xywh {190 100 70 30} type Radio down_box ROUND_DOWN_BOX
72 code0 {o->callback((Fl_Callback*) button_cb);}
76 xywh {270 10 90 120} box THIN_UP_BOX
80 tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 20 20 20} type Radio selection_color 1 align 8
84 tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 45 20 20} type Radio selection_color 1 align 8
88 tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 70 20 20} type Radio selection_color 1 align 8
92 tooltip {Custom look button, only one button is set at a time, in the corresponding group.} xywh {280 95 20 20} type Radio selection_color 1 align 8
97 xywh {190 148 170 62} type Multiline align 133 textsize 12