Definition at line 30 of file projectview.py.
def python.projectview.ProjectView.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
project_name = None , |
|
|
|
xml_path = None , |
|
|
|
project_defs = [] |
|
) |
| |
Definition at line 34 of file projectview.py.
34 def __init__(self, parent, project_name=None, xml_path=None, project_defs=[]):
40 tk.Frame.__init__(self, self.
parent)
41 self.pack(expand=1, fill=tk.BOTH)
46 self.
set_project(project_name, xml_path, project_defs)
def set_project(self, project_name, xml_path, project_defs)
def __init__(self, parent, project_name=None, xml_path=None, project_defs=[])
def python.projectview.ProjectView.highlight_stage |
( |
|
self, |
|
|
|
stagename |
|
) |
| |
Definition at line 122 of file projectview.py.
123 self.ps.highlight_stage(stagename)
124 def highlight_stage(self, stagename)
def python.projectview.ProjectView.make_widgets |
( |
|
self | ) |
|
Definition at line 50 of file projectview.py.
54 self.
infoframe = tk.Frame(self, relief=tk.FLAT, bg=
'aliceblue')
55 self.infoframe.pack(side=tk.TOP, fill=tk.X)
56 self.infoframe.columnconfigure(1, weight=1)
61 self.pathlabel.grid(row=0, column=0)
63 self.path.grid(row=0, column=1, sticky=tk.E+tk.W)
69 self.projectlabel.grid(row=1, column=0)
71 self.projectname.grid(row=1, column=1, sticky=tk.E+tk.W)
75 self.
ps = ProjectStatusView(self)
76 self.ps.pack(side=tk.BOTTOM, expand=1, fill=tk.BOTH)
def python.projectview.ProjectView.make_xml_window |
( |
|
self | ) |
|
Definition at line 88 of file projectview.py.
90 xml_path = self.
path[
'text']
91 if xml_path ==
None or xml_path ==
'':
92 tkinter_messagebox.showerror(
'',
'No xml file specified.')
99 tkinter_messagebox.showerror(
'',
'Error opening xml file %s.' % xml_path)
int open(const char *, int)
Opens a file descriptor.
def make_xml_window(self)
def python.projectview.ProjectView.set_project |
( |
|
self, |
|
|
|
project_name, |
|
|
|
xml_path, |
|
|
|
project_defs |
|
) |
| |
Definition at line 80 of file projectview.py.
81 self.
path[
'text'] = xml_path
83 if len(project_defs) > 0:
84 self.ps.set_project(project_defs)
def set_project(self, project_name, xml_path, project_defs)
def python.projectview.ProjectView.update_jobs |
( |
|
self | ) |
|
def python.projectview.ProjectView.update_status |
( |
|
self | ) |
|
python.projectview.ProjectView.infoframe |
python.projectview.ProjectView.parent |
python.projectview.ProjectView.path |
python.projectview.ProjectView.pathlabel |
python.projectview.ProjectView.projectlabel |
python.projectview.ProjectView.projectname |
python.projectview.ProjectView.ps |
The documentation for this class was generated from the following file: