Function
GimpUihelp_connect
Declaration [src]
void
gimp_help_connect (
  GtkWidget* widget,
  const gchar* tooltip,
  GimpHelpFunc help_func,
  const gchar* help_id,
  gpointer help_data,
  GDestroyNotify help_data_destroy
)
Description [src]
Note that this function is automatically called by all libgimp dialog constructors. You only have to call it for windows/dialogs you created “manually”.
Most of the time, what you want to call for non-windows widgets is
simply gimp_help_set_help_data(). Yet if you need to set up an
help_func, call gimp_help_connect instead. Note that gimp_help_set_help_data
is implied, so you don’t have to call it too.
Parameters
- widget
- 
            Type: GtkWidgetThe widget you want to connect the help accelerator for. Will be a GtkWindowin most cases.The data is owned by the caller of the function. 
- tooltip
- 
            Type: const gchar*The text for this widget’s tooltip. For windows, you usually want to set NULL.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. 
- help_func
- 
            Type: GimpHelpFuncThe function which will be called if the user presses “F1”. 
- help_id
- 
            Type: const gchar*The help_idwhich will be passed tohelp_func.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. 
- help_data
- 
            Type: gpointerThe help_datapointer which will be passed tohelp_func.The argument can be NULL.The data is owned by the caller of the function. 
- help_data_destroy
- 
            Type: GDestroyNotifyDestroy function for help_data.