aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-markup.h
blob: 15524189f64ca281c2cd46e627b35f73f680a855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef EGG_MARKUP_H
#define EGG_MARKUP_H

#include <gtk/gtk.h>
#include <egg-action.h>
#include <egg-action-group.h>


/* this stuff can go away once I am finished with the merge code */

typedef void (*EggWidgetFunc) (GtkWidget *widget,
                   const gchar *type,
                   const gchar *name,
                   gpointer user_data);

gboolean egg_create_from_string (EggActionGroup *action_group,
                 EggWidgetFunc widget_func,
                 gpointer user_data,
                 GtkAccelGroup *accel_group,
                 const gchar *buffer, guint length,
                 GError **error);

gboolean egg_create_from_file   (EggActionGroup *action_group,
                 EggWidgetFunc widget_func,
                 gpointer user_data,
                 GtkAccelGroup *accel_group,
                 const gchar *filename,
                 GError **error);

#endif