summaryrefslogtreecommitdiff
path: root/packages/gtk+/gtk+-2.6.4-1.osso7/gtkbutton.h.diff
blob: 4c233f905b0c8a9c7d6c6fa4db80d829de5a1593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- gtk+-2.6.4/gtk/gtkbutton.h	2004-11-15 22:56:28.000000000 +0200
+++ gtk+-2.6.4/gtk/gtkbutton.h	2005-04-06 16:19:36.264025392 +0300
@@ -134,6 +134,20 @@
 					    const gchar   *main_detail,
 					    const gchar   *default_detail);
 
+/* Osso addition : Button attach flags */
+typedef enum {
+  OSSO_GTK_BUTTON_ATTACH_NORTH =    1 << 0,
+  OSSO_GTK_BUTTON_ATTACH_EAST =     1 << 1,
+  OSSO_GTK_BUTTON_ATTACH_SOUTH =    1 << 2,
+  OSSO_GTK_BUTTON_ATTACH_WEST =     1 << 3,
+  OSSO_GTK_BUTTON_ATTACH_ENUM_END = 1 << 4
+} OssoGtkButtonAttachFlags;
+
+extern const gchar *osso_gtk_button_attach_details [OSSO_GTK_BUTTON_ATTACH_ENUM_END];
+
+void osso_gtk_button_set_detail_from_attach_flags (GtkButton *button,
+						   OssoGtkButtonAttachFlags flags);
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */