aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbusmenu-glib/server.h')
-rw-r--r--libdbusmenu-glib/server.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/libdbusmenu-glib/server.h b/libdbusmenu-glib/server.h
index 11ce085..a883ab2 100644
--- a/libdbusmenu-glib/server.h
+++ b/libdbusmenu-glib/server.h
@@ -33,6 +33,7 @@ License version 3 and version 2.1 along with this program. If not, see
#include <glib-object.h>
#include "menuitem.h"
+#include "types.h"
G_BEGIN_DECLS
@@ -92,6 +93,7 @@ G_BEGIN_DECLS
* String to access property #DbusmenuServer:version
*/
#define DBUSMENU_SERVER_PROP_VERSION "version"
+#define DBUSMENU_SERVER_PROP_TEXT_DIRECTION "text-direction"
typedef struct _DbusmenuServerPrivate DbusmenuServerPrivate;
@@ -144,9 +146,13 @@ struct _DbusmenuServer {
DbusmenuServerPrivate * priv;
};
-GType dbusmenu_server_get_type (void);
-DbusmenuServer * dbusmenu_server_new (const gchar * object);
-void dbusmenu_server_set_root (DbusmenuServer * self, DbusmenuMenuitem * root);
+GType dbusmenu_server_get_type (void);
+DbusmenuServer * dbusmenu_server_new (const gchar * object);
+void dbusmenu_server_set_root (DbusmenuServer * server,
+ DbusmenuMenuitem * root);
+DbusmenuTextDirection dbusmenu_server_get_text_direction (DbusmenuServer * server);
+void dbusmenu_server_set_text_direction (DbusmenuServer * server,
+ DbusmenuTextDirection dir);
/**
SECTION:server