22 #ifndef __EDELIB_XSETTINGSCLIENT_H__
23 #define __EDELIB_XSETTINGSCLIENT_H__
25 #include "XSettingsCommon.h"
40 typedef void (*XSettingsCallback)(
const char* name, XSettingsAction action, XSettingsSetting* setting,
void* data);
112 XSettingsCallback settings_cb;
113 void* settings_cb_data;
115 void check_manager_window(
void);
116 void read_settings(
void);
138 bool init(Display* dpy,
int screen, XSettingsCallback cb = 0,
void* data = 0);
152 static bool manager_running(Display* dpy,
int screen);
159 void callback(XSettingsCallback cb,
void* data = 0);
164 int process_xevent(
const XEvent* xev);
171 void set(
const char* name,
int val);
178 void set(
const char* name,
const char* val);
188 void set(
const char* name,
unsigned short red,
unsigned short green,
unsigned short blue,
unsigned short alpha);
193 void manager_notify(
void);
XSettingsAction
Flags telling what was done with setting.
Definition: XSettingsClient.h:33
One of the settings changed.
Definition: XSettingsClient.h:35
Main data shared between client and manager.
Definition: XSettingsCommon.h:122
One of the settings deleted.
Definition: XSettingsClient.h:36
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
New setting added.
Definition: XSettingsClient.h:34
Client part of XSETTINGS protocol.
Definition: XSettingsClient.h:109