Re: InputOnly GtkEventBox (Was: 2.4 schedule)



On Mon, 2003-08-25 at 21:53, Gregory Merchan wrote:
> 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.

The fact that the code actually exists and works is also a hint that it
might work. :)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a genetically engineered hunchbacked grifter who hides his scarred face 
behind a mask. She's a supernatural streetsmart fairy princess prone to fits 
of savage, blood-crazed rage. They fight crime! 




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