[texworks] SCRIPTS: TW.ui

Stefan Löffler st.loeffler at gmail.com
Tue May 25 17:01:44 CEST 2010


Hi,

Am 2010-05-25 15:30, schrieb Paul A Norman:
> Is TW.ui etc as per
> http://code.google.com/p/texworks/issues/detail?id=221&q=gui#c13
> still the correct format please?
>   

No. Jonathan changed this a bit in the commit. The functions available are:

TW.createUIFromString(uiSpec, parent)
TW.createUI(filename, parent)

where uiSpec is an xml string with Ui data as created by, e.g.,
QDesigner. Both functions show the widget they create, and return a
handle to it.

HTH
Stefan



More information about the texworks mailing list