Re: Kero Fin Clock %n does not work
Stephen Watson <[email protected]> Mon, 22 Nov 2010 14:00:45 +0000
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
Ariszl=F3 <[email protected]> wrote: > On Mon, Nov 22, 2010 at 1:26 PM, Stephen Watson > <[email protected]> wrote: > > Does your manual page for strftime(3p) mention the %n specifier? > = > It should break the line but it does not. > = > man strftime > %n A newline character. (SU) > = > http://www.khngai.com/tools/man/index.php/man/strftime/3p > %n Replaced by a <newline>. And what happens when you run this Python script? import gtk text=3D'Hello,\nworld.' win=3Dgtk.Window() win.connect('destroy', lambda x: gtk.main_quit()) lbl=3Dgtk.Label(text) win.add(lbl) win.show_all() gtk.main() -- = Stephen Watson http://www.kerofin.demon.co.uk/ If you read this on a mailing list, send any reply back to the list and not to me. Not even CC. The past is a different country, 1987's just the Isle of Wight. ---------------------------------------------------------------------------= --- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev