summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-09-30 16:01:34 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-09-30 16:29:50 -0400
commitcf846e9b32bbb0daff3b06a9e98c024f1710ef19 (patch)
tree80bff250bb73b85e6ba8bf8f7223699ad70976ae
parent8a3b1272f9d1d526b1f5d6e08fe2841fb580b4c2 (diff)
colorclass: remove remote editor, make base api public
the remote editor needs to be rewritten to use x11 client messages and wayland shell extensions at some point. need to make this stable now to use in e20 release
-rw-r--r--src/bin/test_colorclass.c2
-rw-r--r--src/lib/Makefile.am7
-rw-r--r--src/lib/elm_color_class.c127
-rw-r--r--src/lib/elm_color_class.h14
-rw-r--r--src/lib/elm_color_class.xml28
5 files changed, 70 insertions, 108 deletions
diff --git a/src/bin/test_colorclass.c b/src/bin/test_colorclass.c
index 724098270..d110d23d8 100644
--- a/src/bin/test_colorclass.c
+++ b/src/bin/test_colorclass.c
@@ -12,7 +12,7 @@ test_colorclass()
12 win = elm_win_util_standard_add("colorclass", "Color Classes"); 12 win = elm_win_util_standard_add("colorclass", "Color Classes");
13 elm_win_autodel_set(win, EINA_TRUE); 13 elm_win_autodel_set(win, EINA_TRUE);
14 14
15 cc = elm_color_class_editor_add(win, 0); 15 cc = elm_color_class_editor_add(win);
16 elm_win_resize_object_add(win, cc); 16 elm_win_resize_object_add(win, cc);
17 evas_object_size_hint_weight_set(cc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 17 evas_object_size_hint_weight_set(cc, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
18 evas_object_size_hint_align_set(cc, EVAS_HINT_FILL, EVAS_HINT_FILL); 18 evas_object_size_hint_align_set(cc, EVAS_HINT_FILL, EVAS_HINT_FILL);
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 999faef61..268b43a96 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -508,17 +508,10 @@ libelementary_la_LIBADD = \
508libelementary_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 508libelementary_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
509 509
510EXTRA_DIST = \ 510EXTRA_DIST = \
511elm_color_class.xml \
512elm_factory.h \ 511elm_factory.h \
513elm_factory.c \ 512elm_factory.c \
514elm_intro.h.in 513elm_intro.h.in
515 514
516$(COLORCLASS_GEN): elm_color_class.xml
517 @cd $(top_builddir)/src/lib && \
518 @eldbus_codegen@ $(abs_top_srcdir)/src/lib/elm_color_class.xml
519elm_color_class.c: $(COLORCLASS_GEN)
520
521
522elm_eolian_files = \ 515elm_eolian_files = \
523elm_access.eo \ 516elm_access.eo \
524elm_actionslider.eo \ 517elm_actionslider.eo \
diff --git a/src/lib/elm_color_class.c b/src/lib/elm_color_class.c
index 9c1b38451..ac9abeb5f 100644
--- a/src/lib/elm_color_class.c
+++ b/src/lib/elm_color_class.c
@@ -5,11 +5,10 @@
5#include <Elementary.h> 5#include <Elementary.h>
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_color_class.h" 7#include "elm_color_class.h"
8#include "eldbus_elementary_colorclass.h"
9 8
10static Eldbus_Proxy *cc_proxy; 9//static Eldbus_Proxy *cc_proxy;
11static Ecore_Event_Handler *h1; 10//static Ecore_Event_Handler *h1;
12static Ecore_Event_Handler *h2; 11//static Ecore_Event_Handler *h2;
13 12
14typedef struct Colorclass 13typedef struct Colorclass
15{ 14{
@@ -28,7 +27,7 @@ typedef struct Colorclass_UI
28 Evas_Object *reset; 27 Evas_Object *reset;
29 Evas_Object *cs; 28 Evas_Object *cs;
30 29
31 uint64_t winid; 30 //uint64_t winid;
32 Ecore_Timer *timer; 31 Ecore_Timer *timer;
33 32
34 Colorclass *current; //actually Elm_Color_Overlay 33 Colorclass *current; //actually Elm_Color_Overlay
@@ -37,7 +36,7 @@ typedef struct Colorclass_UI
37 Eina_Bool change_reset : 1; 36 Eina_Bool change_reset : 1;
38 Eina_Bool exist : 1; 37 Eina_Bool exist : 1;
39} Colorclass_UI; 38} Colorclass_UI;
40 39#if 0
41typedef enum 40typedef enum
42{ 41{
43 COLORCLASS_SIGNAL_EDIT, 42 COLORCLASS_SIGNAL_EDIT,
@@ -55,6 +54,7 @@ static const Eldbus_Signal colorclass_editor_signals[] =
55 54
56static Eina_Inlist *remote_ccuis; 55static Eina_Inlist *remote_ccuis;
57static Eldbus_Service_Interface *remote_iface; 56static Eldbus_Service_Interface *remote_iface;
57#endif
58static Elm_Color_Class_Name_Cb tl_cb; 58static Elm_Color_Class_Name_Cb tl_cb;
59static Elm_Color_Class_List_Cb list_cb; 59static Elm_Color_Class_List_Cb list_cb;
60 60
@@ -80,7 +80,7 @@ _colorclass_cc_update(Colorclass_UI *cc, int num)
80 0, 0, 0, 0, 80 0, 0, 0, 0,
81 0, 0, 0, 0); 81 0, 0, 0, 0);
82} 82}
83 83#if 0
84static void 84static void
85_dbus_signal_changed(Colorclass_UI *cc) 85_dbus_signal_changed(Colorclass_UI *cc)
86{ 86{
@@ -103,7 +103,7 @@ _dbus_signal_changed(Colorclass_UI *cc)
103 eldbus_message_iter_container_close(iter, array); 103 eldbus_message_iter_container_close(iter, array);
104 eldbus_service_signal_send(remote_iface, msg); 104 eldbus_service_signal_send(remote_iface, msg);
105} 105}
106 106#endif
107static void 107static void
108_colorclass_select(void *data, Evas_Object *obj EINA_UNUSED, const char *sig, const char *src EINA_UNUSED) 108_colorclass_select(void *data, Evas_Object *obj EINA_UNUSED, const char *sig, const char *src EINA_UNUSED)
109{ 109{
@@ -134,9 +134,9 @@ _colorclass_changed(void *data, Evas_Object *obj EINA_UNUSED, void *event_info E
134 134
135 elm_colorselector_color_get(cc->cs, (int*)&cc->current->color[cc->num].r, (int*)&cc->current->color[cc->num].g, 135 elm_colorselector_color_get(cc->cs, (int*)&cc->current->color[cc->num].r, (int*)&cc->current->color[cc->num].g,
136 (int*)&cc->current->color[cc->num].b, (int*)&cc->current->color[cc->num].a); 136 (int*)&cc->current->color[cc->num].b, (int*)&cc->current->color[cc->num].a);
137 if (cc->winid && remote_iface) 137 //if (cc->winid && remote_iface)
138 _dbus_signal_changed(cc); 138 //_dbus_signal_changed(cc);
139 else 139 //else
140 edje_color_class_set(cc->current->name, 140 edje_color_class_set(cc->current->name,
141 cc->current->color[0].r, cc->current->color[0].g, cc->current->color[0].b, cc->current->color[0].a, 141 cc->current->color[0].r, cc->current->color[0].g, cc->current->color[0].b, cc->current->color[0].a,
142 cc->current->color[1].r, cc->current->color[1].g, cc->current->color[1].b, cc->current->color[1].a, 142 cc->current->color[1].r, cc->current->color[1].g, cc->current->color[1].b, cc->current->color[1].a,
@@ -157,17 +157,17 @@ _colorclass_reset(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EIN
157 Colorclass color; 157 Colorclass color;
158 158
159 if (!cc->current) return; 159 if (!cc->current) return;
160 if (cc->winid && remote_iface) 160 //if (cc->winid && remote_iface)
161 { 161 //{
162 Eldbus_Message *msg; 162 //Eldbus_Message *msg;
163 163
164 msg = eldbus_service_signal_new(remote_iface, COLORCLASS_SIGNAL_RESET); 164 //msg = eldbus_service_signal_new(remote_iface, COLORCLASS_SIGNAL_RESET);
165 eldbus_message_arguments_append(msg, "t", cc->winid); 165 //eldbus_message_arguments_append(msg, "t", cc->winid);
166 eldbus_message_arguments_append(msg, "s", cc->current->name); 166 //eldbus_message_arguments_append(msg, "s", cc->current->name);
167 eldbus_service_signal_send(remote_iface, msg); 167 //eldbus_service_signal_send(remote_iface, msg);
168 cc->change_reset = 1; 168 //cc->change_reset = 1;
169 return; 169 //return;
170 } 170 //}
171 edje_color_class_del(cc->current->name); 171 edje_color_class_del(cc->current->name);
172 edje_color_class_get(cc->current->name, 172 edje_color_class_get(cc->current->name,
173 (int*)&color.color[0].r, (int*)&color.color[0].g, (int*)&color.color[0].b, (int*)&color.color[0].a, 173 (int*)&color.color[0].r, (int*)&color.color[0].g, (int*)&color.color[0].b, (int*)&color.color[0].a,
@@ -279,17 +279,17 @@ _colorclass_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
279 Colorclass_UI *cc = data; 279 Colorclass_UI *cc = data;
280 280
281 _colorclass_save(cc); 281 _colorclass_save(cc);
282 if (cc->winid) 282 //if (cc->winid)
283 remote_ccuis = eina_inlist_remove(remote_ccuis, EINA_INLIST_GET(cc)); 283 //remote_ccuis = eina_inlist_remove(remote_ccuis, EINA_INLIST_GET(cc));
284 if (cc->winid && remote_iface && (!remote_ccuis)) 284 //if (cc->winid && remote_iface && (!remote_ccuis))
285 { 285 //{
286 Eldbus_Connection *conn; 286 //Eldbus_Connection *conn;
287 287
288 conn = eldbus_service_connection_get(remote_iface); 288 //conn = eldbus_service_connection_get(remote_iface);
289 eldbus_name_release(conn, ELM_COLOR_CLASS_METHOD_BASE, NULL, NULL); 289 //eldbus_name_release(conn, ELM_COLOR_CLASS_METHOD_BASE, NULL, NULL);
290 ELM_SAFE_FREE(remote_iface, eldbus_service_interface_unregister); 290 //ELM_SAFE_FREE(remote_iface, eldbus_service_interface_unregister);
291 eldbus_connection_unref(conn); 291 //eldbus_connection_unref(conn);
292 } 292 //}
293 free(cc); 293 free(cc);
294} 294}
295 295
@@ -307,7 +307,7 @@ _colorclass_item_del(Edje_Color_Class *ecc, Evas_Object *obj EINA_UNUSED)
307 eina_stringshare_del(ecc->desc); 307 eina_stringshare_del(ecc->desc);
308 free(ecc); 308 free(ecc);
309} 309}
310 310#if 0
311static void 311static void
312_dbus_request_name_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED) 312_dbus_request_name_cb(void *data, const Eldbus_Message *msg, Eldbus_Pending *pending EINA_UNUSED)
313{ 313{
@@ -513,7 +513,7 @@ _dbus_reset(void *d EINA_UNUSED, int t EINA_UNUSED, Elementary_Colorclass_Reset_
513 eldbus_proxy_send(cc_proxy, msg, NULL, NULL, -1); 513 eldbus_proxy_send(cc_proxy, msg, NULL, NULL, -1);
514 return ECORE_CALLBACK_RENEW; 514 return ECORE_CALLBACK_RENEW;
515} 515}
516 516#endif
517static Elm_Genlist_Item_Class itc = 517static Elm_Genlist_Item_Class itc =
518{ 518{
519 .item_style = "default", 519 .item_style = "default",
@@ -523,7 +523,7 @@ static Elm_Genlist_Item_Class itc =
523 }, 523 },
524 .version = ELM_GENLIST_ITEM_CLASS_VERSION 524 .version = ELM_GENLIST_ITEM_CLASS_VERSION
525}; 525};
526 526#if 0
527static Colorclass_UI * 527static Colorclass_UI *
528_dbus_ccui_find(uint64_t winid) 528_dbus_ccui_find(uint64_t winid)
529{ 529{
@@ -627,29 +627,29 @@ _dbus_timeout(Colorclass_UI *cc)
627 elm_object_text_set(cc->ly, "Application was unable to provide color scheme info"); 627 elm_object_text_set(cc->ly, "Application was unable to provide color scheme info");
628 return EINA_FALSE; 628 return EINA_FALSE;
629} 629}
630 630#endif
631/* internal */ void 631/* internal */ void
632elm_color_class_init(void) 632elm_color_class_init(void)
633{ 633{
634 eldbus_init(); 634 //eldbus_init();
635 cc_proxy = elementary_colorclass_proxy_get(eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SESSION), ELM_COLOR_CLASS_METHOD_BASE, NULL); 635 //cc_proxy = elementary_colorclass_proxy_get(eldbus_connection_get(ELDBUS_CONNECTION_TYPE_SESSION), ELM_COLOR_CLASS_METHOD_BASE, NULL);
636 h1 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_EDIT_EVENT, (Ecore_Event_Handler_Cb)_dbus_edit, NULL); 636 //h1 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_EDIT_EVENT, (Ecore_Event_Handler_Cb)_dbus_edit, NULL);
637 h2 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_CHANGED_EVENT, (Ecore_Event_Handler_Cb)_dbus_changed, NULL); 637 //h2 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_CHANGED_EVENT, (Ecore_Event_Handler_Cb)_dbus_changed, NULL);
638 h2 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_RESET_EVENT, (Ecore_Event_Handler_Cb)_dbus_reset, NULL); 638 //h2 = ecore_event_handler_add(ELEMENTARY_COLORCLASS_RESET_EVENT, (Ecore_Event_Handler_Cb)_dbus_reset, NULL);
639} 639}
640 640
641void 641void
642elm_color_class_shutdown(void) 642elm_color_class_shutdown(void)
643{ 643{
644 Eldbus_Connection *conn = eldbus_object_connection_get(eldbus_proxy_object_get(cc_proxy)); 644 //Eldbus_Connection *conn = eldbus_object_connection_get(eldbus_proxy_object_get(cc_proxy));
645 ELM_SAFE_FREE(cc_proxy, eldbus_proxy_unref); 645 //ELM_SAFE_FREE(cc_proxy, eldbus_proxy_unref);
646 eldbus_connection_unref(conn); 646 //eldbus_connection_unref(conn);
647 ecore_event_handler_del(h1); 647 //ecore_event_handler_del(h1);
648 ecore_event_handler_del(h2); 648 //ecore_event_handler_del(h2);
649 h1 = h2 = NULL; 649 //h1 = h2 = NULL;
650 eldbus_shutdown(); 650 //eldbus_shutdown();
651} 651}
652 652#if 0
653static const Eldbus_Method colorclass_editor_methods[] = 653static const Eldbus_Method colorclass_editor_methods[] =
654{ 654{
655 { "SendCC", ELDBUS_ARGS({"t", "Window ID"}, {"b", "reset"}, {"a(ssa(iiii))", "Array of color classes"}), NULL, _dbus_send_cc, 0}, 655 { "SendCC", ELDBUS_ARGS({"t", "Window ID"}, {"b", "reset"}, {"a(ssa(iiii))", "Array of color classes"}), NULL, _dbus_send_cc, 0},
@@ -661,9 +661,9 @@ static const Eldbus_Service_Interface_Desc base_desc =
661{ 661{
662 ELM_COLOR_CLASS_METHOD_BASE, colorclass_editor_methods, colorclass_editor_signals, NULL, NULL, NULL 662 ELM_COLOR_CLASS_METHOD_BASE, colorclass_editor_methods, colorclass_editor_signals, NULL, NULL, NULL
663}; 663};
664 664#endif
665EAPI Evas_Object * 665EAPI Evas_Object *
666elm_color_class_editor_add(Evas_Object *obj, uint64_t winid) 666elm_color_class_editor_add(Evas_Object *obj)
667{ 667{
668 Evas_Object *ly, *bt, *gl, *cs; 668 Evas_Object *ly, *bt, *gl, *cs;
669 Colorclass_UI *cc; 669 Colorclass_UI *cc;
@@ -674,7 +674,7 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
674 674
675 cc = calloc(1, sizeof(Colorclass_UI)); 675 cc = calloc(1, sizeof(Colorclass_UI));
676 if (!cc) return NULL; 676 if (!cc) return NULL;
677 if (!winid) 677 //if (!winid)
678 { 678 {
679 it = edje_color_class_active_iterator_new(); 679 it = edje_color_class_active_iterator_new();
680 EINA_ITERATOR_FOREACH(it, ecc) 680 EINA_ITERATOR_FOREACH(it, ecc)
@@ -701,6 +701,7 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
701 } 701 }
702 eina_iterator_free(it); 702 eina_iterator_free(it);
703 } 703 }
704#if 0
704 else 705 else
705 { 706 {
706 if (!remote_iface) 707 if (!remote_iface)
@@ -716,6 +717,7 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
716 remote_ccuis = eina_inlist_append(remote_ccuis, EINA_INLIST_GET(cc)); 717 remote_ccuis = eina_inlist_append(remote_ccuis, EINA_INLIST_GET(cc));
717 } 718 }
718 cc->winid = winid; 719 cc->winid = winid;
720#endif
719 cc->ly = ly = elm_layout_add(obj); 721 cc->ly = ly = elm_layout_add(obj);
720 if (!elm_layout_theme_set(ly, "layout", "colorclass", "base")) 722 if (!elm_layout_theme_set(ly, "layout", "colorclass", "base"))
721 CRI("Failed to set layout!"); 723 CRI("Failed to set layout!");
@@ -747,14 +749,15 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
747 EINA_LIST_FREE(ccs, ecc) 749 EINA_LIST_FREE(ccs, ecc)
748 elm_genlist_item_append(gl, &itc, ecc, NULL, 0, NULL, NULL); 750 elm_genlist_item_append(gl, &itc, ecc, NULL, 0, NULL, NULL);
749 751
750 if (winid) 752 //if (winid)
751 { 753 //{
752 /* FIXME: translate */ 754 ///* FIXME: translate */
753 elm_object_text_set(ly, "Loading color scheme..."); 755 //elm_object_text_set(ly, "Loading color scheme...");
754 elm_object_signal_emit(ly, "elm,state,info", "elm"); 756 //elm_object_signal_emit(ly, "elm,state,info", "elm");
755 elm_object_signal_emit(ly, "elm,state,remote", "elm"); 757 //elm_object_signal_emit(ly, "elm,state,remote", "elm");
756 } 758 //}
757 else if (list_cb) 759 //else
760 if (list_cb)
758 { 761 {
759 ccs = list_cb(); 762 ccs = list_cb();
760 EINA_LIST_FREE(ccs, ecc) 763 EINA_LIST_FREE(ccs, ecc)
@@ -762,7 +765,7 @@ elm_color_class_editor_add(Evas_Object *obj, uint64_t winid)
762 if (test) 765 if (test)
763 { 766 {
764 if (eina_hash_find(test, ecc->name)) continue; 767 if (eina_hash_find(test, ecc->name)) continue;
765 eina_hash_add(test, ecc->name, ecc2); 768 eina_hash_add(test, ecc->name, ecc);
766 } 769 }
767 elm_genlist_item_sorted_insert(gl, &itc, ecc, NULL, 0, (Eina_Compare_Cb)_colorclass_sort, NULL, NULL); 770 elm_genlist_item_sorted_insert(gl, &itc, ecc, NULL, 0, (Eina_Compare_Cb)_colorclass_sort, NULL, NULL);
768 } 771 }
diff --git a/src/lib/elm_color_class.h b/src/lib/elm_color_class.h
index 0baeae8f4..cbcd6a35e 100644
--- a/src/lib/elm_color_class.h
+++ b/src/lib/elm_color_class.h
@@ -1,6 +1,5 @@
1#ifdef EFL_BETA_API_SUPPORT 1#ifndef ELM_COLOR_CLASS_H
2# ifndef ELM_COLOR_CLASS_H 2# define ELM_COLOR_CLASS_H
3# define ELM_COLOR_CLASS_H
4 3
5/** 4/**
6 * @defgroup Elm_Color_Class_Group Color Class Editor 5 * @defgroup Elm_Color_Class_Group Color Class Editor
@@ -10,7 +9,7 @@
10 * @{ 9 * @{
11 */ 10 */
12 11
13#define ELM_COLOR_CLASS_METHOD_BASE "org.elementary.colorclass" 12//#define ELM_COLOR_CLASS_METHOD_BASE "org.elementary.colorclass"
14 13
15/** 14/**
16 * @typedef Elm_Color_Class_Name_Cb 15 * @typedef Elm_Color_Class_Name_Cb
@@ -31,19 +30,15 @@ typedef Eina_List *(*Elm_Color_Class_List_Cb)(void);
31/** 30/**
32 * @brief Create a new color class editor 31 * @brief Create a new color class editor
33 * @param obj The parent object 32 * @param obj The parent object
34 * @param winid The remote window id to edit
35 * 33 *
36 * A color class editor is a visual representation of the color schemes in an application. 34 * A color class editor is a visual representation of the color schemes in an application.
37 * Values changed in the editor are stored in Elementary's config and will remain until they 35 * Values changed in the editor are stored in Elementary's config and will remain until they
38 * are reset or the config is cleared. By default, the editor will load only the currently active 36 * are reset or the config is cleared. By default, the editor will load only the currently active
39 * color classes in an application. 37 * color classes in an application.
40 * 38 *
41 * If @p winid is provided the editor will run in remote mode, managing color classes over DBus
42 * for applications which provide the required interfaces.
43 *
44 * @since 1.14 39 * @since 1.14
45 */ 40 */
46EAPI Evas_Object *elm_color_class_editor_add(Evas_Object *obj, uint64_t winid); 41EAPI Evas_Object *elm_color_class_editor_add(Evas_Object *obj);
47 42
48/** 43/**
49 * @brief Set a callback to provide translations for color class descriptions 44 * @brief Set a callback to provide translations for color class descriptions
@@ -83,5 +78,4 @@ EAPI void elm_color_class_list_cb_set(Elm_Color_Class_List_Cb cb);
83EAPI Eina_List *elm_color_class_util_edje_file_list(Eina_File *f); 78EAPI Eina_List *elm_color_class_util_edje_file_list(Eina_File *f);
84/** }@ */ 79/** }@ */
85 80
86# endif
87#endif 81#endif
diff --git a/src/lib/elm_color_class.xml b/src/lib/elm_color_class.xml
deleted file mode 100644
index 21c0d0fe2..000000000
--- a/src/lib/elm_color_class.xml
+++ /dev/null
@@ -1,28 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<node name="/">
3 <interface name="org.elementary.colorclass">
4 <method name="SendCC">
5 <arg type="t" name="winid" direction="in" />
6 <arg type="b" name="reset" direction="in" />
7 <arg type="a(ssa(iiii))" name="Array of color classes" direction="in" />
8 <annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
9 </method>
10 <method name="Close">
11 <arg type="t" name="winid" direction="in" />
12 <annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
13 </method>
14 <signal name="Edit">
15 <arg type="t" name="winid" direction="out" />
16 </signal>
17 <signal name="Changed">
18 <arg type="t" name="winid" direction="out" />
19 <arg type="s" name="Color class name" direction="out" />
20 <arg type="a(iiii)" name="Colors" direction="out" />
21 </signal>
22 <signal name="Reset">
23 <arg type="t" name="winid" direction="out" />
24 <arg type="s" name="name" direction="out" />
25 </signal>
26 </interface>
27</node>
28