mg-pso-gui 0.2.94__py3-none-any.whl → 0.2.95__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.2.94
3
+ Version: 0.2.95
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
2
2
  mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
3
3
  mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
4
- mgpsogui/gui/HomePage.py,sha256=zGYiJJIPZfSOfVolPtPW3t5ZK_4axqu-M9VfRHo-tuo,22993
4
+ mgpsogui/gui/HomePage.py,sha256=_6CWBFHRJrePbJ0iCty4ohPjdZ6SQ7Fl7Gus8FuHpIc,23233
5
5
  mgpsogui/gui/OptionManager.py,sha256=OczLGSmS9MfE2HgpPNw0OFbl2AdNQ_70pxQUKIDWAnU,21707
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
73
73
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
74
74
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
75
75
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
76
- mg_pso_gui-0.2.94.dist-info/METADATA,sha256=PGXtEP23c-6INNoodHJM0mTZYXV_E-JofwyerrugSfQ,9455
77
- mg_pso_gui-0.2.94.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
- mg_pso_gui-0.2.94.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
- mg_pso_gui-0.2.94.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
- mg_pso_gui-0.2.94.dist-info/RECORD,,
76
+ mg_pso_gui-0.2.95.dist-info/METADATA,sha256=woXYXAi8uBQQH_gTxbSxRTt9fdwpy99opYy8a4VR-L4,9455
77
+ mg_pso_gui-0.2.95.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
+ mg_pso_gui-0.2.95.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
+ mg_pso_gui-0.2.95.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
+ mg_pso_gui-0.2.95.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -153,7 +153,10 @@ class App(customtkinter.CTk):
153
153
  command=self.change_scaling_event)
154
154
  self.scaling_optionemenu.grid(row=0, column=8, padx=(5, 20), pady=header_padding_y)
155
155
  self.scaling_optionemenu.set("100%")
156
-
156
+
157
+ self.help_button = customtkinter.CTkButton(self.sidebar_frame, text="Help", width=20, command=self.open_help)
158
+ self.help_button.grid(row=0, column=9, padx=header_padding_x, pady=header_padding_y)
159
+
157
160
  expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
158
161
  #self.new_window = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=expand_image, command=self.open_new_window)
159
162
  #ctt(self.new_window, delay=0.1, alpha=0.95, message="Open New Window")
@@ -211,7 +214,10 @@ class App(customtkinter.CTk):
211
214
  self.after(1000, self.running_loop)
212
215
 
213
216
  # Read the file ./messages/welcome.txt and load it as a string and put it into the message
217
+
218
+ self.open_help()
214
219
 
220
+ def open_help(self):
215
221
  with open(os.path.join("./messages", "welcome.txt"), "r") as f:
216
222
  message = f.read()
217
223
  NW(title="Welcome!", message=message)