Re: InputOnly GtkEventBox (Was: 2.4 schedule)



On Mon, Aug 25, 2003 at 03:41:04PM -0400, Havoc Pennington wrote:
> On Mon, Aug 25, 2003 at 02:00:44PM -0500, Gregory Merchan wrote:
> > On Mon, Aug 25, 2003 at 08:25:31PM +0200, Alexander Larsson wrote:
> > <snip>
> > > 
> > > I'd like to get the inputonly EventBox in too.
> > 
> > According to Xlib documentation, InputOnly windows cannot have inferiors.
> > 
> >   http://tronche.com/gui/x/xlib/window/XCreateWindow.html
> >   http://tronche.com/gui/x/xlib/window/attributes/
> > 
> > InputOnly event boxes would not be usable as the containers, of which they
> > are a subclass.
> > 
> 
> Not true, the contained widget's X window just isn't inside the 
> input only window. I believe e.g. GtkButton works this way already.

You're right. The event box would have to be a NO_WINDOW widget.
And I see at least the last patch Alexander posted does set the flag.


Oops,
Greg Merchan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]