huwenhuo
全部博文(23)
2011年(1)
2010年(2)
2009年(20)
zhujiang
kshark
__gatsby
老山688
fender01
gavincha
karma303
zhujian1
dd_4435
分类:
2009-09-26 20:46:04
Gtk::Alignment m_align(Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER, 0.0, 0.0); m_align.add(m_button); Gtk::Frame m_frame; m_frame.set_label("title"); m_frame.set_shadow_type(Gtk::SHADOW_ETCHED_OUT); Gtk::VPaned m_paned; //Gtk::HPaned m_paned; m_paned.add1(widget); m_paned.add2(widget); Gtk::Notebook m_notebook; m_notebook.append_page(widget, "title"); m_notebook.get_current_page();
Gtk::Alignment m_align(Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER, 0.0, 0.0); m_align.add(m_button); Gtk::Frame m_frame; m_frame.set_label("title"); m_frame.set_shadow_type(Gtk::SHADOW_ETCHED_OUT); Gtk::VPaned m_paned; //Gtk::HPaned m_paned; m_paned.add1(widget); m_paned.add2(widget); Gtk::Notebook m_notebook; m_notebook.append_page(widget, "title"); m_notebook.get_current_page
();
m_notebook.get_nth_page();
m_notebook.get_nth_page
Gtk::Widget* pWidget = m_Notebook.pages()[2].get_child();
::
(
)
Gtk::AspectFrame m_aspect("title", Gtk::ALIGN_CENTER, //x align Gtk::ALIGN_CENTER, //y align 2.0, //aspect ratio false) //ignore child aspect m_aspect.add(widget); Gtk::ScrolledWindow m_scrolledwin(); m_scrolledwin.set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS); m_scrolledwin.add(widget);
上一篇:button
下一篇:Gtk::Container
登录 注册