Quoting kitkat <[EMAIL PROTECTED]>:

> Hi,
> 
> first thanks to Micah and Sean for your quick reply .
> The PG_SZMODE_CNTFRACT-hint fit my needs perfectly.
> Sorry, I've overlooked this property.
> 
> Here are some other questions I would like to ask:
> 
> LayoutManagement:
> -----------------
> I'm combining widget-boxes to realze a more complex dialog.
> The background I've set to transparent mode so the frame of the box
> isn't
> shown. This work's well in general but with nested widget-boxes I've
> the
> problem that each nested container ocupies some space around it.
> This is a big alignment problem because the widgets added to the
> nested
> container have a kind of 'visual relation' (alignment) to widgets added
> to
> other containers.
> 
> (It's hard to describe this problem by words - if you like to i'll add
> a
> little screenshot to my next posting ?).
> 
> A solution for me would be to set the containers border to 0.
> Can I do that ?
> Another solution would be to provide a layout-manager like the
> 'GridBagLayout' in java.  Any other ideas ?

Sorry about the slow reply to this message. I've been busy lately.

I just added the PG_WP_MARGIN property for box widgets. By default the box
widget gets its margin from the theme, but this lets you override it and specify
the margin in pixels.

> 
> 
> WindowManager:
> ---------------
> I really like the way picoGui handles multiple windows. It's a perfect
> solution for portabel/embedded systems. There is just one little
> extension
> I'm missing:
> In the border of a window you've the three buttons (close, rotate, ..)

Hehe. Just something funny I noticed- people always refer to the panelbuttons as
close, rotate, and... um... that other one :)
Officially the other button is called "zoom". It's hard to explain what it does.
I'll make some ascii illustration:

.-----------.
|   |   C   |
| A |       |
|   |-------|
|   |   B   |
`-----------'

In this picture, the areas "A" and "B" are application panels. "C" is the
background. Clicking the zoom button for the "B" application turns the layout
into:

.-----------.
|   |   C   |
| A |       |
|-----------|
|      B    |
`-----------'

In the future the zoom button will also allow making an app fullscreen, but for
now it moves the app higher up in the divtree.

> and
> the name of the application. It would be great if the
> application-label
> could be changed to a kind of combobox. If the application starts up
> the
> application-name is shown. If the user touchs the combo it shows a list
> of
> all other running applications. By selection the user can jump to one
> of
> this other apps.
> My Psion does task-switching in this way and it's of great help.
> What do you think ?

This could be an interesting alternative (or addition) to the zoom button. When
you choose another app from the bar, the two apps switch positions. Anyone else
have an opinion on this also?


> 
> 
> Close Application:
> ------------------
> If the user closes an application by the windows 'close'-button I've
> no
> chance to prevent him from doing that.
> I'm able to get the information that an app has been closed
> (PG_WE_CLOSE-event) but I can not show a 'Data changed - want to save
> before
> closing the app?'-dialog, so all data is lost.
> How can I get this behavior ?

If you set an event handler for the PG_WP_CLOSE event, you can display this
dialog box. Returning '1' from an event handler prevents processing any further
handlers for the event. Since exiting on close is a built-in event handler,
returning 1 will prevent closing the app.

> 
> 
> Thank's in advance for any help. I can asure you that I always have a
> closer
> look at the documentation and code first and also at the mailing list
> before
> I post a question.
> 
> Best regards and thanks for your time, kitkat >:)

Sorry it took so long!

> 
> 
> 
> 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel
> 



--
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to