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



maybe with a Gtk::Toolbar * p_toolbar = dynamic_cast<Gtk::Toolbar
*>( Gtk::UIManager::get_widget("/Toolbar") ) ; ?

cheers,

plors

On Wed, 2006-01-11 at 01:12 +0800, ZeeGeek wrote:
> 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
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




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