creatring Glib::RefPtr from plain pointer
- From: <test_account tutanota de>
- To: Gtkmm List <gtkmm-list gnome org>
- Subject: creatring Glib::RefPtr from plain pointer
- Date: Thu, 22 Jan 2015 00:25:45 +0000 (UTC)
Hi, I need someone to explain this:
this is correct:
Glib::RefPtr<Gtk::Menu> pMenuPopup = Gtk::manage(new Gtk::Menu(menu));
it this correct to? if not why not?
Glib::RefPtr<Gtk::Menu> pMenuPopup = Glib::RefPtr<Gtk::Menu>(new Gtk::Menu(menu));
thanks!
~Brute
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]