~geoff.bache/storytext/selftest-trunk

« back to all changes in this revision

Viewing changes to pygtk/other_ui_features/tree_view_handling/tree_model_sort/target_ui.py

  • Committer: Geoff Bache
  • Date: 2015-02-17 15:53:27 UTC
  • Revision ID: geoff.bache@jeppesen.com-20150217155327-sd2l6rzudd6qxcqr
Making focus widget deterministic, by setting it explicitly

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
            win.tv.column[i].set_sort_column_id(i)
56
56
            win.tv.column[i].pack_start(win.tv.cell[i], True)
57
57
            win.tv.column[i].set_attributes(win.tv.cell[i], text=i)
 
58
        win.tv.grab_focus()
58
59
        win.show_all()
59
60
        self.window = win
60
61