RE: [gtkmm] TreeView && Popup Menu
- From: Murray Cumming Comneon com
- To: andrew solvo ru, toka freebits de
- Cc: gtkmm-list gnome org
- Subject: RE: [gtkmm] TreeView && Popup Menu
- Date: Wed, 25 Jun 2003 13:37:28 +0200
> From: Andrew E. Makeev [mailto:andrew solvo ru]
> Marcel Karras wrote:
>
> >Thank you so far.
> >The problem now is that I use Gtk::CellRendererToggle() in
> my treeview
> >and I can't suppress the toggling by right-clicking to
> mouse. Any ideas?
> >
> >
> >
> 1. try to connect your signal callback with after parameter
> set to false.
connect_notify() will do the same thing and is much clearer:
e.g.:
http://www.gtkmm.org/gtkmm2/docs/reference/html/classGlib_1_1SignalProxy2.ht
ml
> 2. when your callback is called you should return TRUE - that
> will stop
> signal processing any further.
The signal handler used with connect_notify() will have a void return value
so you don't need to worry about this.
Murray Cumming
murrayc usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]