Re: [gtkmm] switching styles impossible?



On Fri, 2002-08-02 at 19:15, RevX gmx at wrote:
> Hi,
> 
> here are the results of my 'investigations':
> It is possible to switch styles after the widget got show()'n
> BUT it is not possible any more when the main programme (loop)
> got run(). This means as soon as your GUI is ready for user
> input there's no way to switch styles any more. This also means
> that it is impossible to have a (custom-colored) togglebutton with custom or
> (pseudo-)disabled PRELIGHTing for both states (pressed and released).
> 
> That's it. If I were unclear or someone can prove I'm wrong I'd
> be pleased to hear.
> Cheers,
> Michael.

1. Have you tried gtkmm2?
2. Is this a gtkmm, or GTK+ problem?

> > I'm using gtkmm 1.2.8 and I'd like to know if it's possible to
> > apply a style to a widget (ie. a button) AFTER the widget
> > got show()'n?! And if yes, how? Is it possible to switch
> > styles for a widget? (I've tried to simply apply a style
> > to a button after the ctor call but that just leads to a segfault.)
> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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