Reason for previous question

bridged with qnx.gui
Post Reply
Kevin Stallard

Reason for previous question

Post by Kevin Stallard » Wed Jul 04, 2007 9:36 pm

I'm having trouble seeing a widget using the region viewer utility. The
widget will draw itself on the screen, but there is no corresponding region
rectangle in the region viewer.

Kind of like a vampire looking into a mirror. You know the vampire is
there, but you can't see it from the reflection in the mirror....

Thanks
Kevin

qnxloader

RE: Reason for previous question

Post by qnxloader » Thu Jul 05, 2007 7:49 am

Not all widgets has region.

maschoen

RE: Reason for previous question

Post by maschoen » Thu Jul 05, 2007 9:49 am

You might find it instructive to keep in mind that regions are dealt
with by the Photon kernel. Issues like whether a keyboard event is
detected by a region are handled in a process outside of the user's
process. Widgets on the other hand, are handled by code in the
user's process. Their code is found in an application library.

It therefore would be possible, at least in principle, to have a
completely different set of widgets on top of the Photon kernel.
Windows are a special case in that they require a window manager to
interact with. Killing the window manager after starting a number
of photon applications can also be instructive as to how things all
fit together. At least it was when I tried it under QNX 4.

David Gibbs

Re: Reason for previous question

Post by David Gibbs » Thu Jul 05, 2007 5:12 pm

qnxloader <tygtim@mail-dot-ru.no-spam.invalid> wrote:
Not all widgets has region.
In fact, most widgets don't have their own region. They only get
one if they need it.

-David
--
David Gibbs
QNX Training Services
dagibbs@qnx.com

Kevin Stallard

Re: Reason for previous question

Post by Kevin Stallard » Thu Jul 05, 2007 11:50 pm

Yes, I have an application that currently runs w/o the windows manager.
It is interesting....

Thanks
Kevin
"maschoen" <maschoen@pobox-dot-com.no-spam.invalid> wrote in message
news:f6ier1$2rh$1@inn.qnx.com...
You might find it instructive to keep in mind that regions are dealt
with by the Photon kernel. Issues like whether a keyboard event is
detected by a region are handled in a process outside of the user's
process. Widgets on the other hand, are handled by code in the
user's process. Their code is found in an application library.

It therefore would be possible, at least in principle, to have a
completely different set of widgets on top of the Photon kernel.
Windows are a special case in that they require a window manager to
interact with. Killing the window manager after starting a number
of photon applications can also be instructive as to how things all
fit together. At least it was when I tried it under QNX 4.

Post Reply

Return to “qnx.gui”