> To make lots of buttons in Fluid is easy..

        Make a button, set up the callback and all the properties
        you want for that button (color, style, etc).

        Then select it and hit ^C then ^V. Now you have two buttons
        with the same props.

        Highlight the two and ^C/^V so that you have four.

        Now highlight the four, hit ^C, then repeatedly hit
        ^V several times, so that you can quickly place
        four buttons at a time quickly into a grid.

        Then you can hand tweak each button assigning
        a different label to each button and let your call back
        look at the widget's label() to determine which button was hit.

>

This is what i was originally was going to do, probably still will now
its just if i was not using fluid and writing myself then i would always have 
done this with a loop as you also suggested as no way would
fill a class definition with 26 items the same for something like this haah, 
but then the functionality is there, i wont need to look at all
the button code and a single callback will accomplish the logic. So i
think that sounds best.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to