Hello,
Do you help me?
This feature is very important for my application.
Thanks,
Andre
2006/2/16, Andre Henrique Campos <[EMAIL PROTECTED]>:
> Hello,
>
> The code below don't work for me. The object kaa.canvas.TextBlock
> don't display anything.
>
> ---------------------------------------------------------------------------------
> import time, kaa, kaa.canvas
> canvas = kaa.canvas.X11Canvas((640, 480))
> canvas.add_child(kaa.canvas.Image("data/background.png"))
> text = canvas.add_child(kaa.canvas.TextBlock(), width = "50%", hcenter
> = "50%", vcenter = "50%")
> text.set_markup("""
> <format align="right">
> <format style="far_shadow" shadow_color="#0004"
> font="tahoma" font_size="90" color="#fff5">
> mebox
> </format><br />
> <format font="trebucbd" font_size="16">
> <format color="#8cbaf7">@date@</format><br />
> @time@
> </format>
> </format>
> """)
>
> text.set_template_variable(date = time.strftime("%A, %B %d"),
> time = time.strftime("%I:%M:%S %p"))
> kaa.main()
> ---------------------------------------------------------------------------
>
> I have the fonts in the current directory, and downloaded kaa of the
> day 2006-02-14.
>
> Thanks.
>
> Cheers,
> André
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel