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:17, 19 July 2012
239 bytes added
,
09:17, 19 July 2012
→Code Snippets
Line 14:
Line 14:
gc = self.get_style().fg[Gtk.StateType.NORMAL]
gc = self.get_style().fg[Gtk.StateType.NORMAL]
+
+
+
== Gtk.DrawingArea ==
+
+
self.layout = self.create_pango_layout('')
+
self.layout.set_text(self.title_original)
+
+
replaced by:
+
+
self.layout = self.create_pango_layout('')
+
self.layout.set_text(self.title_original, len(self.title_original)
Humitos
266
edits