Re: [gtkmm] switching styles impossible?
- From: RevX gmx at
- To: Morten Brix Pedersen <morten wtf dk>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] switching styles impossible?
- Date: Fri, 26 Jul 2002 18:35:47 +0200 (MEST)
> 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]