help hook



Hi,

Owen suggested a function to add a global help hook:

 typedef void (* GtkHelpFunc) (GtkWidget *widget_to_help_with, 
                               gpointer   user_data);

 gtk_install_help_hook (GtkHelpFunc func, gpointer user_data);

(Well, he suggested that it take a string name of the widget to help 
on; the instance seems potentially useful to me though.)

This would be called for the "Help" buttons on GtkColorSelection,
GtkFileSelection, etc.

The help buttons for those widgets would be visible/invisible by
default according to whether there was a help hook installed.

The idea is that gnome_init() would add the help hook.

Objections?

Havoc




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