[maemo-developers] pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help
From: Piñeiro apinheiro at igalia.comDate: Wed Mar 3 13:25:17 EET 2010
- Previous message: pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help
- Next message: pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Patrick Beck <pbeck at yourse.de> > I have only a small logic problem. I have to call a renderer in > append_column - None as in the documentation won't work. > > column = selector.append_column(store_icons, renderer) #i have to call a > renderer, not None > > And the application raises a warning > > multi_cells_example.py:21: GtkWarning: > gtk_tree_view_column_cell_layout_pack_start: assertion `! > gtk_tree_view_column_get_cell_info (column, cell)' failed > column.pack_start(renderer, 0) > > but the application works :) As I said before I'm not used to the python bindings, but I'm glad this works for you. > The last problem is, if it is possible to place a gtk.Entry field on the > hildon-desktop. I get no focus in it. Perhaps the hildon-desktop is only > clickable? I have only seen a solution where a seperate dialog will > popup. I suppose that what you are creating is a hildon-home applet with a gtk entry. The hildon desktop and hildon-home are special applications, and manage by himself several events, and it only re-sent some of them to the plugins placed on the hildon-home. For example, if you create a applet on the hildon-desktop/hildon-home, you could place a pannable area inside, but you can't interact with it like in a application, because this movements are directly managed by the hildon-desktop, in order to change between desktops. So in the end a pannable area on a applet is useless. Take as example the RSS applet. It shows several RSS feeds, but in order to scroll, it was required to add some scrolling buttons, instead of put a pannable area. Anyway, about the hildon-desktop and hildon-home applets, Kimmo Hamalainen and Jan Arne Petersen have more information. BR === API (apinheiro at igalia.com)
- Previous message: pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help
- Next message: pymaemo, hildon.TouchSelector and gtk.Treeview, hildon-desktop, scripting help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]