aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-26 23:20:04 +0100
committerdavemds <dave@gurumeditation.it>2014-02-26 23:20:04 +0100
commit1bfb4d8922201821e5054e073e544ab6603cd046 (patch)
tree31a0131a82e8c43c8f4ca406c70fdb1ea9be80b6 /examples
parentPython-EFL: fix Fileselector.mime_types_filter_append() to work with py3 (diff)
downloadpython-efl-1bfb4d8922201821e5054e073e544ab6603cd046.tar.gz
Python-EFL: added 1.9 API: Colorselector.palette_items_get()
Diffstat (limited to 'examples')
-rw-r--r--examples/elementary/test_colorselector.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/elementary/test_colorselector.py b/examples/elementary/test_colorselector.py
index 0ef99fa..2021c31 100644
--- a/examples/elementary/test_colorselector.py
+++ b/examples/elementary/test_colorselector.py
@@ -85,6 +85,9 @@ def colorselector_clicked(obj):
cs.palette_color_add(255, 255, 119, 255)
cs.palette_color_add(133, 100, 255, 255)
+ last_item = cs.palette_items_get()[-1]
+ last_item.color = (255, 0, 0, 255)
+
hbox = Box(win, horizontal=True, size_hint_align=FILL_AND_ALIGN_TOP,
size_hint_weight=EXPAND_HORIZ)
vbox.pack_end(hbox)