>
> > I am running my code on Ubuntu 10.04.2 LTS (Lucid Lynx),=20
> > 32-bit version.
> >=20
> > I think you are probably right. Earlier today, I wrote=20
> > another program with the ncurses library to see how I can go=20
> > around this problem and it seems that when I resize the=20
> > terminal running that code, it also seems to not receive=20
> > keyboard events.
>
> Yup - it is quite common for GUI updates and event delivery to block
> during window move/resize operations, and this is in the domain of the
> WM rather than fltk, so there's not much we can do about it, in general.
>
> And even if it does work for you on one system/WM combination, there's
> no guarantee that it will work for others.
>
> > So would this be a dead end? Any suggestions?
>
> Not sure - can you describe what you are trying to achieve, maybe
> someone knows a way to get there...
>
> Receiving/processing events whilst the window is resizing is *not* a
> very common scenario though, so you may be pushing the edges of what's
> feasible.
>
>
> SELEX Galileo Ltd
> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS=
> 14 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.
> ********************************************************************
>

First of all, thanks for your replies so far.

My current setup is as such: I have a Fl_Window which, in turn, is made up of a 
Fl_Tile with multiple Fl_Box's. Usually, when I increase the width of the main 
window, only the width of the right-most Fl_Box increases.

I am trying to achieve the following: What I thought I could is, while I am 
resizing the window, if I press down on the CTRL key, the main window will 
change size in steps (using the size_range() function) and I can set the widths 
of all of the Fl_Box's to the same value. And if I stopped pressing CTRL key, 
then I would continue changing only the size of the right-most Fl_Box.

Basically, I just wanted to have two different modes of resizing and the 
ability to change between modes while I am resizing.

Thank you.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to