[Gambas-user] Can you put a big box into a small one?

Benoît Minisini gambas at ...1...
Sat Sep 4 14:32:47 CEST 2010


> 2010/9/3 Benoît Minisini <gambas at ...1...>:
> > Controls are always clipped by their container, because they are windows
> > inside windows, and this is how X-Window works.
> > 
> > *But* (there is always a *but*), now QT4 and GTK+ do not create one
> > window for each control. They manage the imbrication internally. So
> > technically they can make a control draw outside of its frame. But this
> > is generally avoided.
> > 
> > Regards,
> > 
> > --
> > Benoît Minisini
> 
> But, is possible to do that in Gambas or this behaviour indicates a
> problem in my code?

The rule is: a control never draws outside of its frame, even if some specific 
cases it is technically possible (i.e. the container cannot forbid that).

Regards,

-- 
Benoît Minisini




More information about the User mailing list