OpenQNX :: The QNX Community Portal

Oct 06, 2008 - 07:05 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 43 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Kevin Stallard
Post subject: Reason for previous question  PostPosted: Jul 04, 2007 - 09:36 PM
Guest





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
 
   
Reply with quote Back to top
qnxloader
Post subject: RE: Reason for previous question  PostPosted: Jul 05, 2007 - 07:05 AM
Senior Member


Joined: Oct 06, 2003
Posts: 149

Not all widgets has region.
 
 View user's profile Send private message  
Reply with quote Back to top
maschoen
Post subject: RE: Reason for previous question  PostPosted: Jul 05, 2007 - 08:13 AM
QNX Master


Joined: Jun 25, 2003
Posts: 1095

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.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
David Gibbs
Post subject: Re: Reason for previous question  PostPosted: Jul 05, 2007 - 05:12 PM
Guest





qnxloader <tygtim@mail-dot-ru.no-spam.invalid> wrote:
Quote:
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
 
   
Reply with quote Back to top
Kevin Stallard
Post subject: Re: Reason for previous question  PostPosted: Jul 05, 2007 - 11:50 PM
Guest





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...
Quote:
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.
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.