Features/GTK3/Porting/InfoSlicer: Difference between revisions

Humitos (talk | contribs)
Humitos (talk | contribs)
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) =