Re: InputOnly GtkEventBox (Was: 2.4 schedule)
- From: Gregory Merchan <merchan phys lsu edu>
- To: gtk-devel-list gnome org
- Subject: Re: InputOnly GtkEventBox (Was: 2.4 schedule)
- Date: Mon, 25 Aug 2003 18:31:06 -0500
On Mon, Aug 25, 2003 at 11:10:45PM +0200, Alexander Larsson wrote:
> 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. :)
Ah, well, I didn't know that the code was in use. But, still, if the use
were a special case such that the box contains nothing (just letting the
image of the parent be seen), then the hint would be a herring. Or, you
could have cancelling errors. :-)
Cheers,
Greg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]