Re: appmgr_focus does not show the app
Pieter Grimmerink <[email protected]> Wed, 25 Feb 2004 12:02:32 +0100
| Newsgroups | gmane.comp.video.picogui.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 24 February 2004 18:16, Pieter Grimmerink wrote: > I've written a prio-based application manager. > The application with the highest priority is focused with appmgr_focus. > > However, when I call appmgr_focus, the application is not displayed. > Instead, the latest application that was registered is still shown. > > Is there some way to change the currently displayed application, and force > the focused application to be shown? For anyone who is interested, in the meantime I solved this by doing widget_set(w, PG_WP_SIDE, PG_S_BOTTOM); widget_set(w, PG_WP_SIZE,0); for all the rootwindows of applications that should be hidden, and widget_set(w,PG_WP_SIZE, PG_S_ALL); appmgr_focus(appmgr_findapp(w)); for the application with the highest priority, that should be focused and displayed. Regards, Pieter ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click