GTK2 API: GtkFontSelecionDialog buttons




Hi;

I'm trying to use the GtkFontSelectionDialog API in GTK2.
To act on "OK" or "Apply", one would presumably do something like:

gtk_signal_connect (fsd->ok_button, "clicked", ok_func, fsd);

where fsd is the pointer to the font dialog.
However, the API reference says, GtkFontSelectionDialog is an opaque struct and client code should never access the members.

Is this a bug in the doc, or am I missing something?  What is the "officially recommended" way to act on those buttons?

Boris

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