Hello\n'
+ htmlview.print_real_text(None, xhtml='
Hello\n'
'
\n'
'
World\n'
'
\n')
- htmlview.display_html('
')
- htmlview.display_html('''
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
OMG,
I'm green
with envy!
''')
- htmlview.display_html('
')
- htmlview.display_html('''
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
+
+ http://test.com/ testing links autolinkifying
+
+ ''')
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
As Emerson said in his essay Self-Reliance:
@@ -1027,8 +974,8 @@ if __name__ == '__main__':
''')
- htmlview.display_html('
')
- htmlview.display_html('''
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
Hey, are you licensed to Jabber?
''')
- htmlview.display_html('
')
- htmlview.display_html('''
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
- One
@@ -1052,8 +999,8 @@ if __name__ == '__main__':
return faciter(n,1)
''')
- htmlview.display_html('
')
- htmlview.display_html('''
+ htmlview.print_real_text(None, xhtml='
')
+ htmlview.print_real_text(None, xhtml='''
- One
@@ -1066,12 +1013,12 @@ if __name__ == '__main__':
- Three
''')
- htmlview.show()
+ htmlview.tv.show()
sw = gtk.ScrolledWindow()
sw.set_property('hscrollbar-policy', gtk.POLICY_AUTOMATIC)
sw.set_property('vscrollbar-policy', gtk.POLICY_AUTOMATIC)
sw.set_property('border-width', 0)
- sw.add(htmlview)
+ sw.add(htmlview.tv)
sw.show()
frame = gtk.Frame()
frame.set_shadow_type(gtk.SHADOW_IN)