Thanks, this example is perfect and simple. > TSalm wrote: >> Is there a way to have a checkbox column in a browser ? > > Offhand, I don't think so.. at least not in FLTK1 > without a bit of hackery. > > However, depending on your needs, one clean approach > could be this one: > http://seriss.com/people/erco/fltk/#ScrollableWidgetBrowser > > This won't work if you need the 'selection' behavior > of a browser (which is probably a bit incompatible with > a checkbox sitation anyway) > > Basically from that example, the 'fixed' section would be > your checkbox widget, and the 'stretch' portion would be > your browser text. ie: > > > // dialog > // ---------------------------------------------- > // | scroll | > // | -------------------------------------- | > // | | checkbox | text... | ^| | > // | |__________|________________________|--| | > // | | checkbox | text... | | | > // | |__________|________________________| | | > // | | checkbox | text... | | | > // | |__________|________________________| | | > // | | checkbox | text... | | | > // | |__________|________________________| | | > // | | checkbox | text... | | | > // | |__________|________________________| | | > // | | checkbox | text... | | | > // | |__________|________________________| | | > // | | checkbox | text... | | | > // | |__________|________________________|__| | > // | |___________________________________| v| | > // | -- | > // |____________________________________________|
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

