aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-08-10 18:38:32 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-08-10 18:38:32 +0200
commit71946bffb374f741c0f94e19e4da3e8fde9c691f (patch)
treea9574e8bb807748eff08c0ecb91eb5a2023c1d8d /examples
parentNew 1.18 API: elm.Configuration.web_backend (diff)
downloadpython-efl-71946bffb374f741c0f94e19e4da3e8fde9c691f.tar.gz
Mark the ComboBox widget as broken/deprecated.
This is really sad, but the combobox is broken by design and should have been never used in legacy code. Really, really, sorry about the inconvenience!!
Diffstat (limited to 'examples')
-rw-r--r--examples/elementary/test_combobox.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/elementary/test_combobox.py b/examples/elementary/test_combobox.py
index 97b5d53..c60ed32 100644
--- a/examples/elementary/test_combobox.py
+++ b/examples/elementary/test_combobox.py
@@ -5,7 +5,7 @@ from efl.evas import EVAS_HINT_EXPAND, EXPAND_BOTH, EXPAND_HORIZ, FILL_HORIZ, \
EVAS_ASPECT_CONTROL_VERTICAL
from efl import elementary as elm
from efl.elementary import StandardWindow, Box, Button, Icon, Separator, \
- Combobox, GenlistItemClass
+ Combobox, GenlistItemClass, Label
class ComboboxItemClass(GenlistItemClass):
@@ -98,6 +98,16 @@ def combobox_clicked(obj):
bx.pack_start(bt)
bt.show()
+ lb = Label(win, text="""<failure>
+<big><b>THE COMBOBOX WIDGET IS BROKEN AND DEPRECATED.<br>
+DO NOT USE IN ANY CASE.<b></big><br><br>
+The behaviour and the API of the Combobox will change in future release.<br> <br>
+If you are already using this we really encourage you to switch to other widgets.<br><br>
+We are really sorry about this breakage, but there is nothing we can do to avoid this :( <br><br></failure>
+""")
+ bx.pack_start(lb)
+ lb.show()
+
#
win.show()