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

2013-01-21 Thread Denton Thomas
On 2013.01.15, Albrecht wrote: > (1) saves the current group, which would otherwise become the window's > parent group. > (2) resets the current group before window creation > (3) reverts (2). > > Sorry, I don't have the time to do my own tests, so please try this > and tell us, if it changes the b

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

2013-01-15 Thread Albrecht Schlosser
[sorry, if this is a double post - I clicked the wrong send button] On 13.01.2013 19:22, Ian MacArthur wrote: > > On 12 Jan 2013, at 03:17, Denton Thomas wrote: > >> Using Fl_Window (Fl_Double_Window) + set_non_modal() is definitely easier, >> and does not hog input. Thanks for mentioning that, I

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

2013-01-13 Thread Ian MacArthur
On 12 Jan 2013, at 03:17, Denton Thomas wrote: > 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

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 li

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] 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

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

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/sh

[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 create/fill/s