Should get_style_property() be deprecated? / ambiguous "style properties" vs. "widget style properties"
Style properties are deprecated and universally frowned upon in GTK 3 and removed in GTK 4, but gtk_style_context_get_style_property()
is not deprecated, so e.g. a user on IRC last night was porting to GTK 3 and about to start using style properties, which would've obviously been bad. Shouldn't this function clearly indicate that you shouldn't be trying to use/read style properties?
There is also the issue that we also have gtk_style_context_get_property()
et al., to get CSS properties, which we refer to typically as "widget style properties", but it's pretty darn unclear that those are fine but the other "style properties" are bad. I know we can't really refer to 'CSS properties' specifically, because GtkStyleContext
need not use CSS in some theoretical implementation, but perhaps there is a better way to disambiguate here? I guess this only really matters in GTK 3 though since there's no other type of property to confuse in master.