|
|
Hi,
I need to change label of the Fl_Button while runtime.
So as an initial step I copied label to a char * and send to ->label but it
doesn't display it.
Fl_Button *o;
o->label("reference image");
displays reference image as label, But.
char reflabel[10] = "reference image";
o->label(reflabel);
doesn't show any label on the button..
Could someone please direct me what I can do?
I simply want to display name of current reference image without any callback,
the label of which updates with user changing reference image. Is there a better
widget than Fl_Button.
Thanks.
Suja.
[ Direct Link to Message ] | |
|
| |