Reason for previous question

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

Not all widgets has region.

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.

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

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.