Hi Oscar,
I'm also developing a widget and I had these doubts...

First you must create a widget and put in
tryton/gui/window/view_form/view/form_gtk/
After it must declared your widget at final of parser.py file in the same
path. Follow the same way it is stated the other widgets...

In the server side you must to declare your widget in
/trytond/ir/ui/form.rng and use a tool like trang [1] to generate .rnc file.

My widget is still in development and you can find it in tryton codereview
[2] a example.

[1] http://www.thaiopensource.com/relaxng/trang-manual.html
[2] http://codereview.tryton.org/52004/

Rodrigo Hübner


On Mon, Jul 18, 2011 at 9:38 AM, oscar_andres_col <
[email protected]> 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...
>
> How can I include this Widgets in XML model view form? A little
> example should be awesome  :).
>
> Thanks.
>
>
> Oscar Alvarez
> Prexik Technologies.
> Colombia
>
>
>
>
> --
> [email protected] mailing list
>

-- 
[email protected] mailing list

Reply via email to