Re: [glade--]TreeView and button_press_event
Christof Petig <[email protected]> Fri, 16 Apr 2004 09:07:56 +0200
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
Fabrice Colin schrieb:
> Hello all,
>
> I am experiencing a problem with TreeView handling of
> button_press_event. Basically, the handler is never called if the
> signal is connected to with connect().
>
> There is a gtkmm bug report on the subject here :
> http://bugzilla.gnome.org/show_bug.cgi?id=89780
> Basically, one needs to either use a subclass of TreeView, or connect
> to the signal with connect_notify().
>
> As glademm generates code that makes use of connect(), I was wondering
> if it would be possible to change it so that it uses connect_notify() ?
> At the moment, I need to edit the _glade.cc|hh files every time I
> rebuild my Glade project...
>
> Let me know if I am missing something, or if what I am suggesting
> doesn't make sense ;-)
You always have the option to connect the signal yourself in the ctor.
Besides that I never heard of connect_notify() - can you explain the
difference?
Christof
PS: Sorry for the delay - vacations and stress at work (and many
unresolved autotool problems with glademm)