medit/moo/mooutils/moohelp.h
2007-11-22 16:07:19 -06:00

29 lines
1.1 KiB
C

#ifndef MOO_HELP_H
#define MOO_HELP_H
#include <gtk/gtkdialog.h>
#define MOO_HELP_ID_CONTENTS "contents"
#define MOO_HELP_ID_INDEX "index"
typedef gboolean (*MooHelpFunc) (GtkWidget *widget,
gpointer data);
gboolean moo_help_open (GtkWidget *widget);
void moo_help_open_any (GtkWidget *widget);
void moo_help_open_id (const char *id,
GtkWidget *parent);
void moo_help_set_id (GtkWidget *widget,
const char *id);
void moo_help_set_func (GtkWidget *widget,
gboolean (*func) (GtkWidget*));
void moo_help_set_func_full (GtkWidget *widget,
MooHelpFunc func,
gpointer func_data,
GDestroyNotify notify);
void moo_help_connect_keys (GtkWidget *widget);
#endif /* MOO_HELP_H */