[[lazarus] GTK Z order & fixed frame]

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Mon Aug 23 10:09:11 EDT 1999




-----Original Message-----
From: Samuel Liddicott [mailto:sam at campbellsci.co.uk]
Sent: Monday, August 23, 1999 5:34 AM
To: lazarus at miraclec.com
Subject: RE: [[lazarus] GTK Z order & fixed frame]




> -----Original Message-----
> From: Baeseman, Cliff [mailto:Cliff.Baeseman at greenheck.com]
> Sent: 20 August 1999 06:16 PM
> To: lazarus at miraclec.com
> Subject: RE: [[lazarus] GTK Z order & fixed frame]
>
>
> The form automatically has a fixed widget attached to it when you add a
> control to the form. The fixed widget is applied to the form and the
> controls is placed on by x y position and then it is sized.
>
> When a form is streched the form tells the children to reset the position
> and size on the parents fixed widget.
>
> This is a very good approach. Myself and shane fought a ugly battle with
> control positioning before arriving at the current solution.

I agree it is a very good solution.  The fact that you get multiple handles
refering to different parts of the form is annoying... and may break API
stuff that sets a windowed controls parent handle to be the parent form's
handle.... but hey this API stuff usually goes on INSIDE components not
applications and components will take some porting.  Besides there is no
reason to expect the API widget routines and handles uses to be nearly
similar to the windows API model.

Err... do child widgets also have a fixed widget attached when they have a
child widget added?  I mean is this TWinControl behaviour or just TForm
behaviour.  I think it should be TWinControl behaviour.

If they are of widget type container.



Does GTK have any z order functions?  Does it even have z order (Surely it
must have...)
Perhaps the order is the gtk-add'd order?

Sam

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list