Re: style_get_property giving wrong answer?



Hi,

Are you using C or Python? If this is specific to Python, there is a bug
logged for it here: https://bugzilla.gnome.org/show_bug.cgi?id=701058.
Is your mention of "gtk_widget_get_property" a mistake? as it should
be "gtk_widget_style_get_property"
in the C API.

-Simon


On Fri, Jun 28, 2013 at 11:58 AM, Conscious User <conscioususer gmail com>wrote:


I'm using gtk_widget_get_property to get the "toggle-spacing"
of a GtkMenuItem. However, it seems to be returning 0 even
though, visually, the spacing is clearly non-zero. What could
be causing this?

This is happening in Ubuntu 13.04 (GTK 3.6), and didn't happen
in previous versions. Does not seem to happen with other style
properties either.


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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