/* LIBPIKA - The PIKA Library * Copyright (C) 1995 Spencer Kimball and Peter Mattis * * pikahelpui.h * Copyright (C) 2000-2003 Michael Natterer * * This library is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see * . */ #if !defined (__PIKA_WIDGETS_H_INSIDE__) && !defined (PIKA_WIDGETS_COMPILATION) #error "Only can be included directly." #endif #ifndef __PIKA_HELP_UI_H__ #define __PIKA_HELP_UI_H__ G_BEGIN_DECLS /* For information look into the C source or the html documentation */ /* the standard pika help function */ void pika_standard_help_func (const gchar *help_id, gpointer help_data); /* connect the help callback of a window */ void pika_help_connect (GtkWidget *widget, PikaHelpFunc help_func, const gchar *help_id, gpointer help_data, GDestroyNotify help_data_destroy); /* set help data for non-window widgets */ void pika_help_set_help_data (GtkWidget *widget, const gchar *tooltip, const gchar *help_id); /* set help data with markup for non-window widgets */ void pika_help_set_help_data_with_markup (GtkWidget *widget, const gchar *tooltip, const gchar *help_id); /* activate the context help inspector */ void pika_context_help (GtkWidget *widget); /** * PIKA_HELP_ID: * * The #GQuark used to attach PIKA help IDs to widgets. * * Since: 2.2 **/ #define PIKA_HELP_ID (pika_help_id_quark ()) GQuark pika_help_id_quark (void) G_GNUC_CONST; G_END_DECLS #endif /* __PIKA_HELP_UI_H__ */