Adicionando sobre Pynovisao

parent 2f27cdb9
...@@ -87,6 +87,10 @@ if __name__ == "__main__": ...@@ -87,6 +87,10 @@ if __name__ == "__main__":
tk.add_separator() tk.add_separator()
tk.add_command("Execute", act.run_classifier, 'C') tk.add_command("Execute", act.run_classifier, 'C')
tk.add_menu("Help")
tk.add_command("About Pynovisao", act.about, 'b')
# Render the GUI # Render the GUI
tk.render_menu() tk.render_menu()
......
...@@ -675,6 +675,10 @@ class Act(object): ...@@ -675,6 +675,10 @@ class Act(object):
self.tk.popup(popup_info) self.tk.popup(popup_info)
def about(self):
self.tk.show_info("Pynovisao\n\nVersion 1.0.0\n\nAuthors:\nAlessandro Ferreira\nHemerson Pistori")
def func_not_available(self): def func_not_available(self):
"""Use this method to bind menu options not available.""" """Use this method to bind menu options not available."""
self.tk.write_log("This functionality is not available right now.") self.tk.write_log("This functionality is not available right now.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment