nanogui: FLNX mods to fltk


Previous by date: 15 Feb 2001 22:39:16 -0000 Re: Japanese fonts support, Greg Haerr
Next by date: 15 Feb 2001 22:39:16 -0000 Re: FLNX mods to fltk, Jordan Crouse
Previous in thread:
Next in thread: 15 Feb 2001 22:39:16 -0000 Re: FLNX mods to fltk, Jordan Crouse

Subject: FLNX mods to fltk
From: Robert Hartley ####@####.####
Date: 15 Feb 2001 22:39:16 -0000
Message-Id: <3A8C5B3C.8F23E169@ics.com>

Hi,

I have been playing around with one of those Agenda VR3 Linux PDAs for a
day now.

So far it looks pretty cool.

I have come across a puzzle with the X11 version of FLTK that I hope
might already be solved in FLNX by you guys.

Could you please let me know if you modified FTLK so that each widget
had its own window, and if you have it setup so that only input type
windows are associated with them?

As it stands, FLTK is doing too much of the window management functions
compared to toolkits like Motif.  (I understand the reasons why,
windowing code abstraction and separation, etc)

My understadning of FLTK is as follows:
FLTK basically creates a single window into which it draws almost all
its widgets, so there is only a single event mask used.

In Motif (and others), each widget has its own X window (except for
gadgets), so it is pretty easy to see which widgets will get what type
of event.

This becomes important for hand writing recognition (HWR),  because it
would be so simple for the X server to just look at the event mask when
it changes focus to a new window, and then let the HWR applet know where
to send XKey events to.

On a battery powered PDA, code efficiency is important, so it would be
great if these unneeded events could be ignored before getting into the
users app.

I have half a mind to just create an X window for each widget, and then
change the input mask as appropriate for the type of widget it is.

Is this a "bad bad idea" you have already rejected, or would it be
useful the world at large?

Rob


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=  Robert Hartley                 Mail:         201 Broadway        =
=  Central Region Systems Engineer              Cambridge, MA 02139 =
=  Integrated Computer            Email:        ####@####.####    =
=  Solutions, Inc.                Web Site:     www.ics.com         =
=  Tech Support: ####@####.####  Phone:        800-800-4271        =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Visit the MotifZone (www.motifzone.org) for info on Motif!




Previous by date: 15 Feb 2001 22:39:16 -0000 Re: Japanese fonts support, Greg Haerr
Next by date: 15 Feb 2001 22:39:16 -0000 Re: FLNX mods to fltk, Jordan Crouse
Previous in thread:
Next in thread: 15 Feb 2001 22:39:16 -0000 Re: FLNX mods to fltk, Jordan Crouse


Powered by ezmlm-browse 0.20.