branitar
|
2008-12-18
, 16:34
|
Posts: 113 |
Thanked: 13 times |
Joined on Nov 2008
@ Darmstadt, Germany
|
#11
|
|
2008-12-20
, 07:37
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#12
|
fs.set_property('spring-speed', 0)
The Following User Says Thank You to thp For This Useful Post: | ||
|
2008-12-20
, 21:37
|
Posts: 113 |
Thanked: 13 times |
Joined on Nov 2008
@ Darmstadt, Germany
|
#13
|
|
2008-12-23
, 13:15
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#14
|
Ok, I tried it an I've got two questions:
I'm using a derived CellRendererText for the cells...
1) Do I really have to set the "mode" property of the renderer to gtk.CELL_RENDERER_MODE_ACTIVATABLE to be able to receive events when the cell is clicked/touched?
2) Is it possible to prevent the cells from changing to "selected" mode when they are clicked/touched?
The Following User Says Thank You to thp For This Useful Post: | ||
|
2009-01-02
, 22:29
|
Posts: 113 |
Thanked: 13 times |
Joined on Nov 2008
@ Darmstadt, Germany
|
#15
|
|
2009-01-03
, 10:19
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#16
|
Hmmm I think I found a bug or something: set property "mode" to 1 (kinetic scrolling), do some scrolling, then set it to 0 (normal/push scrolling ). The rubberband effect when you get to the end of the list will be gone then. you get it back, when you set "mode" back to 1, but in normal mode you can scroll the list out of the viewport and it wont come back.
Can anyone confirm that?
|
2009-01-03
, 17:50
|
Posts: 113 |
Thanked: 13 times |
Joined on Nov 2008
@ Darmstadt, Germany
|
#17
|
|
2009-01-05
, 10:36
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#18
|
Tags |
finger, gtk, python, scroll, widget |
|