Op 09-11-11 11:35, Thomas Güttler schreef:
Hi,

I want to draw simple static text on a white fullscreen:

{{{
Heading (bold)

some text which breaks if the end of the screen is
reached. ....
}}}

Any hints of to implement this?
Create a window with one or more labels. Then call these:
window.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse('white'))
window.fullscreen()
label.set_ellipsize(pango.ELLIPSIZE_END)

Cheers,
Timo

http://developer.gnome.org/pygtk/stable/class-gtkwindow.html#method-gtkwindow--fullscreen
http://faq.pygtk.org/index.py?file=faq10.018.htp&req=show
http://developer.gnome.org/pygtk/stable/class-gtklabel.html#method-gtklabel--set-ellipsize


  Thomas


_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to