summaryrefslogtreecommitdiff
path: root/examples/elementary/test_mapbuf.py
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-01-08 22:48:27 +0100
committerdavemds <dave@gurumeditation.it>2014-01-08 22:48:27 +0100
commit445211f3691e8986b4eae7fa98b40a4e3754272f (patch)
tree8f642224e0ebf707ef34904b519ca1fcb4174df9 /examples/elementary/test_mapbuf.py
parentbd063f0ecef750a7b26f0359360dff5fb1712da9 (diff)
add new Mapbuf.point_color_set/get functions (since 1.9)
Diffstat (limited to 'examples/elementary/test_mapbuf.py')
-rw-r--r--examples/elementary/test_mapbuf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/elementary/test_mapbuf.py b/examples/elementary/test_mapbuf.py
index 4577854..0d9d89f 100644
--- a/examples/elementary/test_mapbuf.py
+++ b/examples/elementary/test_mapbuf.py
@@ -110,6 +110,7 @@ def mapbuf_clicked(obj, item=None):
110 tb.pack(pad, 6, 1, 1, 10) 110 tb.pack(pad, 6, 1, 1, 10)
111 111
112 mb = Mapbuf(win, content=tb) 112 mb = Mapbuf(win, content=tb)
113 mb.point_color_set(k % 4, 255, 0, 0, 255)
113 mb_list.append(mb) 114 mb_list.append(mb)
114 bx.pack_end(mb) 115 bx.pack_end(mb)
115 mb.show() 116 mb.show()