Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting/Typing Turtle
(view source)
Revision as of 09:25, 19 July 2012
129 bytes added
,
09:25, 19 July 2012
→Code Snippets
Line 25:
Line 25:
self.layout = self.create_pango_layout('')
self.layout = self.create_pango_layout('')
self.layout.set_text(self.title_original, len(self.title_original)
self.layout.set_text(self.title_original, len(self.title_original)
+
+
----
+
+
self.lessonbuffer = Gtk.TextBuffer.new(self.tagtable)
+
self.lessontext = Gtk.TextView.new_with_buffer(self.lessonbuffer)
= Gtk.TextTag =
= Gtk.TextTag =
Humitos
266
edits