Changeset 127:6141f30a2060 for src/mlx/gui
- Timestamp:
- 04/29/12 08:33:53 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/common.py
r124 r127 32 32 CONTROL_MASK = gdk.CONTROL_MASK 33 33 DIALOG_MODAL = gtk.DIALOG_MODAL 34 WRAP_WORD = gtk.WRAP_WORD 34 35 35 36 def text2unicode(text): … … 57 58 CONTROL_MASK = gdk.ModifierType.CONTROL_MASK 58 59 DIALOG_MODAL = gtk.DialogFlags.MODAL 60 WRAP_WORD = gtk.WrapMode.WORD 59 61 60 62 import codecs -
src/mlx/gui/info.py
r123 r127 50 50 else gtk.SHADOW_IN) 51 51 comments = gtk.TextView() 52 comments.set_wrap_mode(WRAP_WORD) 52 53 scroller.add(comments) 53 54 alignment.add(scroller)
Note:
See TracChangeset
for help on using the changeset viewer.