Date: Wed, 12 Nov 2003 12:01:26 +0100 From: Claudio Sacerdoti Coen To: Olivier Andrieu Cc: lablgtk at kaba.or.jp Subject: Re: GTree row selection event Message-ID: <20031112110126.GA24987 at cs.unibo.it> References: <20031107100532.GA17659 at cs.unibo.it> <20031110104118V.garrigue at kurims.kyoto-u.ac.jp> <20031110105058.GA19281 at cs.unibo.it> <16306.4493.522709.269560 at akasha.ijm.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16306.4493.522709.269560 at akasha.ijm.jussieu.fr> > It quite easy to construct an event_ops object even if the widget > class does not provide an #event method : Yes, I know. This is the way I have already been using for a while to intercept the button_pressed event. [Even if I didn't know anything about the NO_WINDOW flag: I just did it on a per-widget base] Anyway, since a couple of students of mine already asked me how to obtain an event_ops from a generic widget, I think that this function should be inserted in lablgtk2 (with type -> event_ops). Cheers, C.S.C. -- ---------------------------------------------------------------- Real name: Claudio Sacerdoti Coen PhD Student in Computer Science at University of Bologna E-mail: sacerdot@cs.unibo.it http://www.cs.unibo.it/~sacerdot ----------------------------------------------------------------