-
Notifications
You must be signed in to change notification settings - Fork 0
/
StartFile.py
48 lines (38 loc) · 1.39 KB
/
StartFile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# -*- coding: cp1250 -*-
import os, stat, time
import pygtk
import gtk
import TopBookmarksBar
import BottomButtonBar
import RightColumnWithRemarks
import LeftColumnWithCatalogs
import LeftColumnWithFolds
class StartFile(gtk.Window):
def __init__(self):
super(StartFile, self).__init__()
self.set_default_size(800, 640)
self.set_position(gtk.WIN_POS_CENTER)
TopBar = TopBookmarksBar.TopBookmarksBar()
BottomBar = BottomButtonBar.BottomButtonBar()
RightColumn = RightColumnWithRemarks.RightColumnWithRemarks()
LeftColumnCatalogs = LeftColumnWithCatalogs.LeftColumnWithCatalogs()
LeftColumnFolds = LeftColumnWithFolds.LeftColumnWithFolds()
box_main = gtk.VBox()
box_side = gtk.HBox()
box_tabs = gtk.VBox()
box_main.pack_start(TopBar.TopBar, False, False, 0)
box_tabs.pack_start(LeftColumnCatalogs.catalogsWindow_sw)
box_tabs.pack_start(LeftColumnFolds.tabsTree_sw)
box_side.pack_start(box_tabs)
box_side.pack_start(RightColumn.notesWindow, True, True, 0)
box_main.pack_start(box_side)
box_main.pack_start(BottomBar.BottomBar, False, False, 0)
self.add(box_main)
self.show_all()
return
def main():
gtk.main()
if __name__ == "__main__":
StartFile()
main()