diff options
| author | Nicole Vreden <damba@mecka.net> | 2010-02-18 23:16:36 +0100 |
|---|---|---|
| committer | Nicole Vreden <damba@mecka.net> | 2010-02-18 23:16:36 +0100 |
| commit | ed22fce7a9f4332037bf0e9fd97a96b1876acba8 (patch) | |
| tree | 2a7e26068ce52706055e3eeb9a945af37d88ef34 /src/YalpClients/EflClient/medialist.py | |
| parent | 642895fb9dcd010272908eecbd438c2abade595a (diff) | |
Python-EFL-GUI: Bugfixing
- Textfield now single-line
- tried to hide frames by clicking on media-list-element
- tried to draw frame around textfield
Signed-off-by: Nicole Vreden <damba@mecka.net>
Diffstat (limited to 'src/YalpClients/EflClient/medialist.py')
| -rw-r--r-- | src/YalpClients/EflClient/medialist.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/YalpClients/EflClient/medialist.py b/src/YalpClients/EflClient/medialist.py index 13132d2..ac54a69 100644 --- a/src/YalpClients/EflClient/medialist.py +++ b/src/YalpClients/EflClient/medialist.py @@ -18,6 +18,8 @@ class Medias(object): self.medialist.size_hint_weight_set(1.0, 1.0) self.medialist.size_hint_align_set(-1.0, -1.0) self.c.part_swallow("medialist", self.medialist) + # ???: + self.c.signal_callback_add("hide_frames", self.medialist.item,self.hide_frames) def add_media(self, media): self.medialist.item_append(media.result.name, None, None, media.callback) @@ -30,3 +32,7 @@ class Medias(object): addbutton.label_set("Add to Playlist") self.c.part_swallow("medialist_buttonframe", addbutton) addbutton.show() + + def hide_frames(self, obj, signal, source): + self.c.signal_emit("signal_from_python", "") + |
