[Scribus] Scribus on the beach - answering my own question
Mon Jul 3 02:22:18 CEST 2006
Gregory Pittman wrote:
> One thing I found was a problem with initializing constants in Scribus
> when you use
> import scribus
> rather than
> from scribus import *
> The second one allows you to use things like BUTTON_OK, but the first
> one doesn't - you get an undefined variable error.
> Is this expected behavior? Is there some command I'm not finding to
> initialize constants?
It turns out not so difficult -- just like you must use
"scribus.setText()", for example when you use the beginning "import
scribus" command, you must use "scribus.BUTTON_OK" to solve this.
More information about the scribus