Changeset 276:b7b25febba1a for src/mlx/gui/common.py
- Timestamp:
- 07/07/12 08:41:37 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r264 r276 71 71 """Convert the given text, returned by a Gtk widget, to Unicode.""" 72 72 return unicode(text) 73 74 def text2str(text): 75 """Convert the given text, returned by xstr to a string.""" 76 return str(text) 73 77 else: 74 78 print "Using PyGObject" … … 133 137 return _utf8Decoder(str)[0] 134 138 139 def text2str(text): 140 """Convert the given text, returned by xstr to a string.""" 141 return _utf8Decoder(text)[0] 142 135 143 import cairo 136 144
Note:
See TracChangeset
for help on using the changeset viewer.