[lazarus] GTK team: please specify!

Marc Weustink marc at dommelstein.net
Mon Nov 3 17:30:33 EST 2003


At 18:36 3-11-2003, Mattias Gaertner wrote:
>On Mon, 03 Nov 2003 01:32:28 +0100
>Marc Weustink <marc at dommelstein.net> wrote:

[snip]

> > Just found out that clipping can be set by gdk though
> > gdk_gc_set_subwindow. Options are:
> >    GDK_CLIP_BY_CHILDREN  only draw onto the window itself.
> >    GDK_INCLUDE_INFERIORS Draw onto the window and child windows.
>
>Yes, that's what I found out on sunday. I already got a running version with
>this, but I need some time for clean up.

Ah, I was looking for transparency in GDK2 and saw this function. And I 
also found out why we didnt use it before, it's so well documented in GDK1 ;)

> > >Where does that leave us?
> > >
> > >OTOH, it is possible to create transparent window in the win32 interface.
> > >
> > >Is it too in gtk?
> >
> > GDK can it. gdk_window_shape_combine_mask and co
>
>It depends how you define "Transparency".

Ehm, I didn't try it, but I assumed something like you define some areas of 
a window wich are visible and the other part you dont see. Something like 
Xeyes.
 From your reply I guess we're talking about transparent black or something ?

Marc






More information about the Lazarus mailing list