[fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread Denton Thomas
Hi, all - I am trying to create a little widget/group made of an Fl_Input (or text editor) and a drop-down-menu-like suggestions box. The end goal is to make something similar to an AJAX-y suggestions box found on google, or the firefox sites suggestions, etc. It's easy for me to

Re: [fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread MacArthur, Ian (Selex ES, UK)
I am trying to create a little widget/group made of an Fl_Input (or text editor) and a drop-down-menu-like suggestions box. The end goal is to make something similar to an AJAX-y suggestions box found on google, or the firefox sites suggestions, etc. It's easy for me to create/fill/show a

Re: [fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread Denton Thomas
Sorry - I was a bit trigger-happy with the send button. Pseudo-code updated/finished: In short, I have something like the pseudo-code below. I'm happy to post my full test/draft if that helps. Maybe someone else has been through this before? Denton // a 'drop down or popup' box with

Re: [fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread Denton Thomas
Sorry - I was a bit trigger-happy with the send button. Pseudo-code updated/finished: In short, I have something like the pseudo-code below. I'm happy to post my full test/draft if that helps. Maybe someone else has been through this before? Denton // a 'drop down or popup' box with

Re: [fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread Albrecht Schlosser
On 11.01.2013 14:27, Denton Thomas wrote: I am trying to create a little widget/group made of an Fl_Input (or text editor) and a drop-down-menu-like suggestions box. The end goal is to make something similar to an AJAX-y suggestions box found on google, or the firefox sites suggestions,

Re: [fltk.general] Subwindow show/hide behavior

2013-01-11 Thread Christopher James Huff
On 2013-01-08 16:12:13 -0500, Manolo Gouy said: Yes, this is a Mac OS-specific bug. I have created STR#2915 for that, and believe it's now fixed in the svn repository with r.9788. Can you, please, confirm that? Sorry it took so long. Yes, I've confirmed it's fixed in r.9788.

Re: [fltk.general] Manage focus with Suggestions popup/win/menu

2013-01-11 Thread Denton Thomas
Using Fl_Window (Fl_Double_Window) + set_non_modal() is definitely easier, and does not hog input. Thanks for mentioning that, Ian. New problem, though. Test code is below. Regardless of what group/win type I use, mouse input will pass through the popup to the window/widgets below. This acts