Re: [gtkmm] switching styles impossible?



> Try something like:
> 
>     Gdk_Color color("white");
>     Gtk::Style *style = Gtk::Style::create();
>     style->set_fg(GTK_STATE_NORMAL, color);
>     button.set_style(*style);

I tried this (already) with 
Style *style = Style::create();
but it still segfaults as long as button->show() is
processed first.

Have you tried your example above or is there
some 'important' code before this I should know?
Thanks,
Michael. 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net




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