Re: [gtkmm] GTKMM classes handling local variables



>MyClass::MyClass()
>{

----> create a Label

>	Label _label("Hello World");
>	m_box.pack_start(_label, PACK_SHRINK);
>	show_all_children);

------> delete Label as it goes out of scope

clear?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]