[PATCH] [PYTHON] DialogBox class for Python

Joost Eekhoorn joost.eekhoorn at gmail.com
Tue Jun 5 10:37:33 PDT 2012


>>   I could not found a dialogbox class, thus I build one: class DialogBox
in dialogbox.py.

I did not look good enough.
There is UnoDialog2.py in wizards/com/sun/star/wizards/ui.

Thus dialogbox.py can go to /dev/null.
Also the 2 examples.

I made a new example using UnoDialog2: example-using-unodialog2.py.

>>  The header would have to be changed to the TEMPLATE.SOURCECODE.HEADER

The attached new example has this header.

>>  Would the idea be to install it along with the rest of pyuno as
>>  utility class for reuse.

Do not install dialogbox.py, because its is redundant.
Just to be thrown away.

>>  or to just have it as a demo ?

As a demo would be nice.
Therefor a code review is needed and a demo context.
Where is the place for such a demo ?

Joost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120605/222e13f9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example-using-unodialog2.py
Type: application/octet-stream
Size: 8212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120605/222e13f9/attachment-0001.obj>


More information about the LibreOffice mailing list