|
|
2010-05-17
, 16:44
|
|
Posts: 52 |
Thanked: 73 times |
Joined on Feb 2009
@ Corunha
|
#2
|
Hi,
but the expanders aren't drawn.
Is there any way to get the expanders shown?
|
|
2010-05-17
, 18:41
|
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#3
|
They're hidden by default in Maemo-gtk. Try with this function:
http://maemo.org/api_refs/5.0/beta/g...show-expanders
|
|
2010-05-18
, 15:54
|
|
Posts: 52 |
Thanked: 73 times |
Joined on Feb 2009
@ Corunha
|
#4
|
They are already enabled by default, and I can expand the tree, but the little triangles are not drawn.
gtk_rc_parse_string ("style \"toolkit\"\n"
"{\n"
"GtkTreeView::expander-size = 40\n"
"}\n"
"class \"GtkTreeView\" style \"toolkit\"\n");
|
|
2010-05-18
, 15:59
|
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#5
|
|
|
2010-05-18
, 16:16
|
|
Posts: 52 |
Thanked: 73 times |
Joined on Feb 2009
@ Corunha
|
#6
|
| The Following User Says Thank You to Alberto Garcia For This Useful Post: | ||
|
|
2010-05-18
, 16:45
|
|
Posts: 1,101 |
Thanked: 1,184 times |
Joined on Aug 2008
@ Spain
|
#7
|


|
|
2010-05-18
, 16:48
|
|
Posts: 52 |
Thanked: 73 times |
Joined on Feb 2009
@ Corunha
|
#8
|
My program (zim) runs in maemo5 too, but since there is no fullscreen hardware buton, once it goes fullscreen there is no way to go back to windowed mode.
| The Following User Says Thank You to Alberto Garcia For This Useful Post: | ||
I'm trying to get expanders shown in a gtk.TreeView (with pygtk) in maemo4.
I've already tryed to set the expander size setting a style
gtk.rc_parse_string('''style "toolkit" { GtkTreeView::expander-size = 12 } class "GtkTreeView" style "toolkit" ''')Is there any way to get the expanders shown?