My idea is to get something like the MRI extension. https://github.com/hanya/MRI/tree/master/pythonpath/mytools_Mri/ui http://extensions.services.openoffice.org/project/MRI
could help me to achieve something? Source python-idle in Python-tk http://hg.python.org/cpython/file/3213fe4a72e0/Lib/idlelib 2013/3/10 Ariel Constenla-Haile <[email protected]> > Hi Galileo, > > On Sun, Mar 10, 2013 at 07:37:48PM -0600, Galileo Teco Juárez wrote: > > similar to it > > i will create new python-idle , built with AWT-UNO in Python > > Let's see if I get it: you want to develop a Python IDE in AWT-UNO, > Are you planning this as an extension that will be installed in > OpenOffice? > > If you want to make an extension that opens a Python IDE written in UNO, > with its own window, its menubar and toolbars, etc., then using the low > level > AWT menu/bar API is a bad idea (not only that the menubar actually > crashes, but this menubar won't be integrated with the rest of the > application framework); also, if you want toolbars and statusbar, they > can't be created with UNO. > > The proper way of creating a top window with full integration (menubar, > toolbar, statusbar) where your component will be loaded, is defining > a new component type and a new module in the office. This is done in > part with configuration files, but also implementing several components. > > The other way, is to simply do what the JavaScript and BeanShell > scripting framework do: they allow editing the scripts, but without > integrating with the rest of the application. I guess you could simple > run openoffice/basis4.0/program/python-core-2.7.3/lib/idlelib/idle.py > (not sure how portable is this, in Linux works at least). > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina > -- *Galileo Teco Juarez* *Web:* http://80bits.wordpress.com *Twitter:* @genitalico <http://twitter.com/genitalico> *Linkedin:* http://mx.linkedin.com/pub/galileo-teco-ju%C3%A1rez/30/690/797
