[Scribus] crashing with python
Johannes Wilm
j
Sat Nov 1 10:18:48 CET 2003
On Saturday 01 November 2003 10:13, Paul wrote:
> Hi,
>
>
> > Another thing that would be helpfull in python would be to have a clear
> > distinction between the content of one single textbox and the content of
> > all
linked text boxes.
> > Currently:
> >
> > a = GetText(TextBox)
> > SetText( a, TextBox)
> >
> > will delete any content from all other textboxes that are linked behind
> > the
current textbox.
>
>
> This would be possible as long as textboxes have a name or unique number
> ID and an "islinked" parameter which points to the next textbox.
well the "name" is the ID, right? ("Item0", "Item1")
> You would therefore need
>
> a = GetText(UniqueTextBoxID)
> SetText(a, UniqueTextBoxID, islinked, linkedtonumber)
>
> where islinked is true or false and linkedtonumber is another already
> existing number or 0.
Why do you need to specify it when the frame has been linked on beforehand?
--
Johannes Wilm
More information about the scribus
mailing list