annotate support.h @ 10:5e282003f0c1

minor changes; besser indenting
author meillo@marmaro.de
date Thu, 04 Mar 2010 13:54:17 +0100
parents 80535e4deaa4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
1 #include <gtk/gtk.h>
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
2
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
3 /* Public Functions */
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
4
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
5 /*
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
6 * This function returns a widget in a component created by Glade.
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
7 * Call it with the toplevel widget in the component (i.e. a window/dialog),
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
8 * or alternatively any widget in the component, and the name of the widget
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
9 * you want returned.
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
10 */
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
11 GtkWidget* lookup_widget(GtkWidget* widget, const gchar* widget_name);
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
12
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
13
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
14 /* Use this function to set the directory containing installed pixmaps. */
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
15 void add_pixmap_directory(const gchar* directory);
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
16
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
17
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
18 /* Private Functions */
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
19
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
20
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
21 /* This is used to create the pixmaps used in the interface. */
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
22 GtkWidget* create_pixmap(GtkWidget* widget, const gchar* filename);
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
23
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
24 /* This is used to create the pixbufs used in the interface. */
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
25 GdkPixbuf* create_pixbuf(const gchar* filename);
0
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
26
ca9155129253 initial commit
meillo@marmaro.de
parents:
diff changeset
27 /* This is used to set ATK action descriptions. */
1
80535e4deaa4 nicer code formating
meillo@marmaro.de
parents: 0
diff changeset
28 void glade_set_atk_action_description(AtkAction* action, const gchar* action_name, const gchar* description);