GtkSettings example?



I'd like to make images appear on buttons, particularly buttons produced from stock items.

Navigating the Gtk Reference Manual has made it clear that I somehow need to activate the "gtk-button-images" property of the GtkSettings object for my screen.

However, this class appears woefully under-documented, and it's not at all clear how to do this. Could someone give me an example to work from?

gtk_settings_set_long_property() seems like my best bet, although I'd really prefer there were a bool version of the function; and I have no idea what the origin parameter is supposed to be.



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