Sergio
|
2008-10-20
, 22:03
|
Posts: 5 |
Thanked: 0 times |
Joined on Apr 2008
|
#31
|
|
2008-10-21
, 16:34
|
|
Posts: 273 |
Thanked: 104 times |
Joined on Mar 2007
@ Manitoba, Canada
|
#32
|
|
2008-10-21
, 18:27
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#33
|
All the code samples that I've seen on the net are using only labels. If I just replace the label for a simple bottom it crash, and for now, nobody reply with any solution, so maybe it's a bug on Python libhildondesktop bindings and can't be done with current version.
|
2008-10-22
, 17:31
|
Posts: 1,038 |
Thanked: 737 times |
Joined on Nov 2005
@ Helsinki
|
#34
|
|
2008-10-24
, 14:53
|
|
Posts: 273 |
Thanked: 104 times |
Joined on Mar 2007
@ Manitoba, Canada
|
#35
|
|
2008-10-25
, 13:46
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#36
|
The Following User Says Thank You to yerga For This Useful Post: | ||
|
2008-10-25
, 17:01
|
|
Posts: 273 |
Thanked: 104 times |
Joined on Mar 2007
@ Manitoba, Canada
|
#37
|
|
2008-10-27
, 18:29
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#38
|
Yerga:
Using the examples of 'transparent shaped widgets' from this current thread, can you tell me (offhand) what minimal amount would need to be *removed* (i.e. 'transparency') in order for buttons to work? Also, can you post an example (code) of such a widget?
My own applet is stalled out -- waiting for some sort of resolution. Otherwise, I would need to release it without any 'controls' at all (buttons, menus, etc).
import gtk import hildondesktop class IPPlugin(hildondesktop.HomeItem): def __init__(self): hildondesktop.HomeItem.__init__(self) self.vbox = gtk.VBox() self.vbox.set_size_request(200, 100) self.label = gtk.Label() self.label.set_text('A label') self.vbox.pack_start(self.label, 8) self.button = gtk.Button('Press') self.button.connect("clicked", self.press_button) self.vbox.pack_start(self.button, True, True, 0) self.add(self.vbox) self.show_all() def press_button(self, widget): self.label.set_text('Button pressed!') def hd_plugin_get_objects(): plugin = IPPlugin() return [plugin]
The Following User Says Thank You to yerga For This Useful Post: | ||
|
2008-11-12
, 09:09
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#39
|
The Following User Says Thank You to Khertan For This Useful Post: | ||
|
2008-11-12
, 13:35
|
|
Posts: 273 |
Thanked: 104 times |
Joined on Mar 2007
@ Manitoba, Canada
|
#40
|