Re: sigc::mem_fun and Glib::RefPtr

2012-10-05 Thread Kjell Ahlstedt
All this seems incredibly complicated. Bug 495762 mentions an easier way. See especially comment 9. https://bugzilla.gnome.org/show_bug.cgi?id=495762#c9 It's cryptic. I haven't tested it myself, but I suppose someone else has. Glib::RefPtrMyClass c; ...

Re: sigc::mem_fun and Glib::RefPtr

2012-10-05 Thread Horváth Imre
Thank you, it works! Regards, Imre Horvath 2012. 10. 5, péntek keltezéssel 10.38-kor Kjell Ahlstedt ezt írta: All this seems incredibly complicated. Bug 495762 mentions an easier way. See especially comment 9. https://bugzilla.gnome.org/show_bug.cgi?id=495762#c9 It's cryptic. I haven't

Re: sigc::mem_fun and Glib::RefPtr

2012-10-05 Thread klaus triendl
Am Fri, 05 Oct 2012 10:38:20 +0200 schrieb Kjell Ahlstedt kjell.ahlst...@bredband.net: All this seems incredibly complicated. Bug 495762 mentions an easier way. See especially comment 9. https://bugzilla.gnome.org/show_bug.cgi?id=495762#c9 It's cryptic. I haven't tested it myself, but I

Re: sigc::mem_fun and Glib::RefPtr

2012-10-05 Thread Florian Philipp
Am 05.10.2012 11:32, schrieb klaus triendl: Am Fri, 05 Oct 2012 10:38:20 +0200 schrieb Kjell Ahlstedt kjell.ahlst...@bredband.net: All this seems incredibly complicated. Bug 495762 mentions an easier way. See especially comment 9. https://bugzilla.gnome.org/show_bug.cgi?id=495762#c9

Re: sigc::mem_fun and Glib::RefPtr

2012-10-05 Thread klaus triendl
Am Fri, 05 Oct 2012 12:27:01 +0200 schrieb Florian Philipp li...@binarywings.net: Am 05.10.2012 11:32, schrieb klaus triendl: Yes, it's easier but all you do is to fetch the c-pointer from the RefPtr. But you loose the reference counting: if the variable 'c' goes out of scope you end up

Re: How can I show tooltips from menuitems in the statusbar

2012-10-05 Thread Moh B.
On Tue, 2012-10-02 at 10:36 +0200, Juan Angel Moreno wrote: Hi! I want to show the tooltips that each of my menuitems has, in the statusbar of a window. How can I do this?? Greetings jamf ___ Hi, these are the crazy tips to get tooltips

Re: How can I show tooltips from menuitems in the statusbar

2012-10-05 Thread Ian Martin
On 06/10/12 13:20, Moh B. wrote: On Tue, 2012-10-02 at 10:36 +0200, Juan Angel Moreno wrote: Hi! I want to show the tooltips that each of my menuitems has, in the statusbar of a window. How can I do this?? Greetings jamf ___ Hi, these are the