> Yes, I goggled that page while searching for existing solution to my
> problem... so there is no default easy way to do such design then.
If you really want to override resize, then you need to subclass -
that's the C++ way, of course.
However, you can get the behaviour I think you described (I'm not sure I
understood what exactly you are trying to do) simply by nesting groups
and by control of the resizable object within each nested group.
I don't have fltk-2 on this particular machine, but here's a fltk-1.1.9
fluid file that shows what I think you were wanting...
# data file for the Fltk User Interface Designer (fluid)
version 1.0109
header_name {.h}
code_name {.cxx}
Function {} {open
} {
Fl_Window {} {open
xywh {400 74 322 411} type Double resizable visible
} {
Fl_Group {} {open
xywh {0 0 105 410}
} {
Fl_Group {} {open
xywh {5 5 100 400} box DOWN_BOX resizable
} {}
}
Fl_Group {} {open
xywh {105 0 105 410}
} {
Fl_Group {} {open
xywh {110 5 100 400} box DOWN_BOX resizable
} {}
}
Fl_Group {} {open
xywh {210 0 105 410}
} {
Fl_Group {} {open selected
xywh {215 5 100 400} box DOWN_BOX resizable
} {}
}
}
}
--
Ian
SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk