On 31 May 2008, at 10:47, Adam wrote: > Hi! > How can I put region over a widget?
(I'm more a fltk-1.1 person, so this answer may have some bias - but I *think* this is the same...) It may depend on what you want to do with your "region", to some extent. If, for example, you want to put a right-click context menu that covers your widget, you simply create a menu_button that covers the entire area, then set the box_type for the menu_button to be FL_NO_BOX (or fltk-2 no_box equivalent.) Then the menu button will detect the clicks, but since it has no box, it will never be drawn, allowing the underlying widgets to "show through". Is that the sort of thing you wanted? -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

