summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui_api.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-08-11 22:20:51 +0200
committerGravatar waker <wakeroid@gmail.com>2013-08-11 22:20:51 +0200
commit0e8455b9a41602485909e5178e3ab352514f8a3e (patch)
tree527d2652a29fc2c7934f838b379a2b3f2552a90e /plugins/gtkui/gtkui_api.h
parentfb9f99b52de319497918e4d862350595da965c1c (diff)
gtkui: fixed naming of some public constants; added non-expandable widget flag support
Diffstat (limited to 'plugins/gtkui/gtkui_api.h')
-rw-r--r--plugins/gtkui/gtkui_api.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/gtkui/gtkui_api.h b/plugins/gtkui/gtkui_api.h
index 9f11ed9b..b6ac7f58 100644
--- a/plugins/gtkui/gtkui_api.h
+++ b/plugins/gtkui/gtkui_api.h
@@ -25,14 +25,17 @@
#ifndef __GTKUI_API_H
#define __GTKUI_API_H
-#define GTKUI_API_VERSION 0
+#define DDB_GTKUI_API_VERSION 0
#if GTK_CHECK_VERSION(3,0,0)
-#define GTKUI_PLUGIN_ID "gtkui3_1"
+#define DDB_GTKUI_PLUGIN_ID "gtkui3_1"
#else
-#define GTKUI_PLUGIN_ID "gtkui_1"
+#define DDB_GTKUI_PLUGIN_ID "gtkui_1"
#endif
+// this flag tells that the widget should be added to h/vboxes with expand=FALSE
+#define DDB_GTKUI_WIDGET_FLAG_NON_EXPANDABLE 0x00000001
+
typedef struct ddb_gtkui_widget_s {
const char *type;
char *name;