On 18/07/11 05:38 -0700, oscar_andres_col wrote: > Hi, Boys > > I am trying to develop a new Tryton module for Vistors Control in > Companies, but it is neccesary that the models view form have widgets > such as: > - gtk.Image > - gtk.FileSelection > - maybe other widgets...
You can not directly define new gtk widgets from the view XML. You just have access to those that are already defined in the client. I guess that for gtk.Image, you are looking for a way to display an binary field that contains an image, so you can add the attribute `widget="image"` in the field tag. For gtk.FileSelection, I think the default binary widget will work. If you need more information on how to create a module you can read [1] or follow the mqueue repository training [2]. [1] http://code.google.com/p/tryton/wiki/HelloWorld [2] http://hg2.tryton.org/2.0/training/ -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpcfv1V6WP2a.pgp
Description: PGP signature
