Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting/InfoSlicer
(view source)
Revision as of 11:08, 5 July 2012
440 bytes added
,
11:08, 5 July 2012
→Code Snippets
Line 107:
Line 107:
activity.add_alert(alert)
activity.add_alert(alert)
alert.show()
alert.show()
+
+
= Gdk.atom_intern =
+
+
* http://developer.gnome.org/gdk/2.24/gdk-Properties-and-Atoms.html#gdk-atom-intern
+
* http://www.pygtk.org/docs/pygtk/class-gdkatom.html#constructor-gdkatom-intern
+
+
I'm not sure about the meaning of this function. I've just took a look at the documentation and added the required attribute that was missing:
+
+
atom = Gdk.atom_intern("sentence")
+
+
replaced by:
+
+
atom = Gdk.atom_intern("sentence", only_if_exists=False)
= Missing / Problematic things (not ported yet) =
= Missing / Problematic things (not ported yet) =
Humitos
266
edits