I've tried variations of this:
style = ({'fontName': 'Helvetica-Bold'} if
instance.bold_me else None),
But no luck.
Any suggestions?
Thanks in advance.
Dan Gentry
If you are using version 0.4-alpha-x (one of last alpha commits), you
can use event "before_print" to set it, otherwise (if you are using
previous versions) you should implement an inherited class of the
widget you are using (i.e: ObjectValue) and set it on one of its
methods (probably the best choice would be override __init__ and do
it)
Try and let us know if you had success :)
> --
> Você está recebendo esta mensagem porque se inscreveu no grupo "geraldo-users" dos Grupos do Google.
> Para postar neste grupo, envie um e-mail para gerald...@googlegroups.com.
> Para cancelar a inscrição nesse grupo, envie um e-mail para geraldo-user...@googlegroups.com.
> Para obter mais opções, visite esse grupo em http://groups.google.com/group/geraldo-users?hl=pt-BR.
>
>
--
Marinho Brandão (José Mário)
http://marinhobrandao.com/