typecast from Gtk::Widget to Gtk::Toolbar?



Gtk::UIManager::get_widget("/Toolbar") returns a Gtk::Widget, but I
want to set the toolbar style, can I typecast Gtk::Widget to
Gtk::Toolbar so that I can use Gtk::Toolbar::set_toolbar_style()?

--
My blog: http://ihome.ust.hk/~cs_snx/blog/

Dell Inspiron 600m
Pentium-M 1.6G
512MB, 60G
ATI 9000 Mobility



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