On Mon, Apr 26, 2004 at 11:46:38AM +0200, Groeting Claus ICM Bocholt wrote:
> Hello PGUI-Developer/User !
> 
> I have some general question concerning application management.
> I saw in the configuration, that I have several options regarding
> App-management, but I don't 
> know exactly the difference between these options:
> 
> - Managed Rootless app manager

This is for "rootless" environments where every PicoGUI window is actually
managed by some host window management system. Currently the only time this
app manager should be used is when running in rootless mode with the X11 driver.

> - Panel app manager

This is the usual draggable panel system you see PicoGUI running by default

> - Null app manager

This puts no decorations or interactivity around applications, it just makes
them simple box widgets.

In both the panel and null app managers, you can resize and rearrange applications
just like any other widgets, by setting their size and side properties.
> 
> Currently I have a scenario, where I have several apps in one client
> registered at the pgserver using
> pgRegisterApp(PG_APP_NORMAL, "MyApp_1",0)
> pgRegisterApp(PG_APP_NORMAL, "MyApp_2",0)
> pgRegisterApp(PG_APP_NORMAL, "MyApp_3",0)
> 
> When I want to show for instance MyApp_2 instead of MyApp_1 I use 
> 
> pgSetWidget(pgFindWidget"MyApp_1",PG_WP_SIZE, 0,0);
> pgSetWidget(pgFindWidget"MyApp_2",PG_WP_SIZE, PG_WP_ALL, 0);

Hmm, where does PG_WP_ALL come from?

> 
> I there any possibility to bring an application to the top regardless, which
> APP is currently on the screen ?
> Or is there a better way to navigate between several Apps ?
> How can I toggle between Applications, when there are more than one Client ?

One solution that might work for you is to always keep all apps full-size, but
reorder them in the widget tree so that the active app splits off first and takes
all available space. I don't believe it's possible to rearrange root widgets
using pgAttachWidget however, so you might end up writing a custom app manager.

--Micah

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to