Check-in [83f54d5ffd]
Overview
Comment: | failed attempt to make config tables resizeable |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
83f54d5ffd5c8f43db4ab6d6c60cecc4 |
User & Date: | mario on 2017-01-09 16:04:28 |
Other Links: | manifest | tags |
Context
2017-01-22
| ||
16:42 | Use sys.encoding for os.system calls on Windows check-in: 5e6408e8c5 user: Oliver tags: trunk | |
2017-01-09
| ||
16:04 | failed attempt to make config tables resizeable check-in: 83f54d5ffd user: mario tags: trunk | |
2017-01-08
| ||
13:38 | timer: Test for .queue() result before setting statusbar := "Timer saved" check-in: 5b7a717f18 user: mario tags: trunk | |
Changes
Modified uikit.py from [c3a8703c77] to [12f5bb606e].
︙ | |||
515 516 517 518 519 520 521 522 523 524 525 526 | 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 | + + + - + - + - + | def config_treeview(opt, columns=["Icon", "Command"]): lno = len(columns) if lno == 2: liststore = gtk.ListStore(str, str, str) else: liststore = gtk.ListStore(*[str for i in range(0, lno)]) w = gtk.TreeView(liststore) sw = gtk.ScrolledWindow() sw.set_border_width(5) sw.add(w) # two text columns and renderers for i in range(0, lno): c = gtk.TreeViewColumn(columns[i]) c.set_resizable(True) c.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) |
︙ |