|
2009-10-19
, 09:38
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#2
|
The Following User Says Thank You to yerga For This Useful Post: | ||
|
2009-10-19
, 16:21
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#3
|
|
2009-10-20
, 04:16
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#4
|
model = gtk.ListStore(str, gtk.gdk.Pixbuf) # str is going to be our id field model.append([item['id'], pixbuf_data]) # add to list.. gallery = gtk.IconView(model) # make it into an icon view gallery.connect('selection-changed', self.selectThumb, model) # add signal thingy def selectThumb(self, icon_view, model=None): selected = icon_view.get_selected_items() i = selected[0][0] self.awesomeFunction(model[i][0]) # passes id to our function (opens new window)
|
2009-10-27
, 18:58
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#5
|
|
2009-10-28
, 08:55
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#6
|
|
2009-10-28
, 09:39
|
Posts: 654 |
Thanked: 664 times |
Joined on Feb 2009
@ Germany
|
#7
|
|
2009-11-10
, 00:03
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#8
|
|
2009-11-13
, 02:35
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#9
|
Tags |
gtk, hildon, images, maemo 5, pannable |
|
However, it turns out - at least in the SDK - this disables the panning functionality of the pannablearea, because as soon as you click to pan, it activates the event.
If you're confused as to what I mean, think of the image gallery in the n900 promo material.
So. Is this a bug or am I doing something horribly wrong?
Anyone know of a workaround? I need to make these images clickable...
Thanks everyone!