maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   pannable text area buttons in pymaemo n900 (https://talk.maemo.org/showthread.php?t=46527)

sebastiano 2010-03-05 01:29

pannable text area buttons in pymaemo n900
 
hi, i would like to know if its possible to add buttons in the hildon pannable area and my second question is : is it possible to have links in a pannable area , so i can click in a word and i select it, is that possible? any idea of how to doing this?

daperl 2010-03-05 03:04

Re: pannable text area buttons in pymaemo n900
 
Quote:

Originally Posted by sebastiano (Post 556268)
hi, i would like to know if its possible to add buttons in the hildon pannable area and my second question is : is it possible to have links in a pannable area , so i can click in a word and i select it, is that possible? any idea of how to doing this?

Yes, but I think a hildon.PannableArea is a sub class of gtk.Bin, so you have to put all those widgets in a container that can have more than one child, a gtk.VBox for instance. Then you add the VBox to the PannableArea with the add_as_viewport call.

EDIT: Verified, hildon.PannableArea is a sub class of gtk.Bin


All times are GMT. The time now is 14:54.

vBulletin® Version 3.8.8