Re: [fltk.development] [RFE] STR #2942: Buttons keep the same color when clicked

2013-04-08 Thread Albrecht Schlosser
[STR Closed w/o Resolution] Link: http://www.fltk.org/str.php?L2942 Version: 1.3-feature Fix Version: 1.3-current No, sorry. We won't set anything (e.g. selection_color) w/o the user explicitly requesting it. This would also break apps that have the colors set as-is. The usual default is to

Re: [fltk.development] RFC: method to find top level window?

2013-04-08 Thread Albrecht Schlosser
On 06.04.2013 07:55, Greg Ercolano wrote: Is there a method that returns the top-level window manager window for the current widget? window() is not it; this just returns the parent window which won't be the top-level window when there are windows within windows, eg: Fl_Window *top =

Re: [fltk.development] RFC: method to find top level window?

2013-04-08 Thread Greg Ercolano
On 04/08/13 15:32, Albrecht Schlosser wrote: On 06.04.2013 07:55, Greg Ercolano wrote: BTW: toplevel_window() doesn't look bad, but what about top_window(). Less typing ;-) Yes, what I based 'toplevel_window()' on was that in our code, the term 'top-level' is used fairly