Re: creatring Glib::RefPtr from plain pointer

2015-01-22 Thread Murray Cumming
On Thu, 2015-01-22 at 00:25 +, test_acco...@tutanota.de wrote: Hi, I need someone to explain this: this is correct: Glib::RefPtrGtk::Menu pMenuPopup = Gtk::manage(new Gtk::Menu(menu)); No, and I doubt it would compile. it this correct to? if not why not? Glib::RefPtrGtk::Menu

Re: how to set a callback function to an icon in an entry ?

2015-01-22 Thread Jonas Platte
Looking at the documentation for GdkEventButton [1], it seems like it lets you detect whether the icon was only clicked once, double-clicked or activated in another way. If you only want a simple click handler, I assume you can ignore the parameter, or if you want a bit cleaner code, leave the

Re: [repeat] mouse icon during application startup

2015-01-22 Thread test_account
Hello, I'm not sure why none of you guys didn't wand to help me out with this question, anyway I found a solution myself. the problem is that when icons are missing gtkmm based application start up will be slow and also  new applications will hang. I opened an issue here: