Re: How to set style in a GTK+ 2 widget's realize function?

2018-11-16 Thread Paul Davis
I can't answer your question. But I can say that we never use gtk_style*. Instead we just parse the RC file that includes "widget/style" associations, and then we use gtk_widget_set_name() on our widgets to get them to use the right style. On Fri, Nov 16, 2018 at 5:32 AM Brent W. Baccala wrote:

How to set style in a GTK+ 2 widget's realize function?

2018-11-16 Thread Brent W. Baccala
Hi - I've got a GTK+ 2 "external" widget (gtkdatabox from gtkdatabox.sf.net) that isn't displaying right after I've patched it to compile with GSEAL_ENABLED. The relevant code in the older version was: widget->style = gtk_style_attach (widget->style, widget->window); which we changed to: