mwxlib 0.84.8__py3-none-any.whl → 0.84.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mwxlib might be problematic. Click here for more details.
- mwx/framework.py +1 -1
- mwx/graphman.py +10 -9
- {mwxlib-0.84.8.dist-info → mwxlib-0.84.9.dist-info}/METADATA +1 -1
- {mwxlib-0.84.8.dist-info → mwxlib-0.84.9.dist-info}/RECORD +7 -7
- {mwxlib-0.84.8.dist-info → mwxlib-0.84.9.dist-info}/LICENSE +0 -0
- {mwxlib-0.84.8.dist-info → mwxlib-0.84.9.dist-info}/WHEEL +0 -0
- {mwxlib-0.84.8.dist-info → mwxlib-0.84.9.dist-info}/top_level.txt +0 -0
mwx/framework.py
CHANGED
mwx/graphman.py
CHANGED
|
@@ -351,11 +351,10 @@ class LayerInterface(CtrlInterface):
|
|
|
351
351
|
self.Bind(wx.EVT_WINDOW_DESTROY, destroy)
|
|
352
352
|
|
|
353
353
|
def on_show(v):
|
|
354
|
-
if
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
self.handler('page_hidden', self)
|
|
354
|
+
if v.IsShown():
|
|
355
|
+
self.handler('page_shown', self)
|
|
356
|
+
elif self and isinstance(self.Parent, aui.AuiNotebook):
|
|
357
|
+
self.handler('page_hidden', self) # -> notebook
|
|
359
358
|
v.Skip()
|
|
360
359
|
self.Bind(wx.EVT_SHOW, on_show)
|
|
361
360
|
|
|
@@ -851,8 +850,8 @@ class Frame(mwx.Frame):
|
|
|
851
850
|
|
|
852
851
|
## Force Layer windows to show.
|
|
853
852
|
if interactive:
|
|
854
|
-
## [M-menu] Reload plugin
|
|
855
|
-
if wx.GetKeyState(wx.WXK_ALT):
|
|
853
|
+
## [M-S-menu] Reload plugin
|
|
854
|
+
if wx.GetKeyState(wx.WXK_ALT) and wx.GetKeyState(wx.WXK_SHIFT):
|
|
856
855
|
self.reload_plug(name)
|
|
857
856
|
pane = self.get_pane(name)
|
|
858
857
|
show = True
|
|
@@ -863,7 +862,7 @@ class Frame(mwx.Frame):
|
|
|
863
862
|
pane.Float()
|
|
864
863
|
show = True
|
|
865
864
|
|
|
866
|
-
plug = self.get_plug(name) # -> None if pane.window is Graph
|
|
865
|
+
plug = self.get_plug(name) # -> None if pane.window is a Graph
|
|
867
866
|
win = pane.window # -> Window (plug / notebook / Graph)
|
|
868
867
|
if show:
|
|
869
868
|
if isinstance(win, aui.AuiNotebook):
|
|
@@ -873,7 +872,8 @@ class Frame(mwx.Frame):
|
|
|
873
872
|
else:
|
|
874
873
|
plug.handler('page_shown', plug)
|
|
875
874
|
elif not pane.IsShown():
|
|
876
|
-
win.
|
|
875
|
+
if not plug or win.Parent is not self: # otherwise Layer.on_show
|
|
876
|
+
win.handler('page_shown', win)
|
|
877
877
|
else:
|
|
878
878
|
if isinstance(win, aui.AuiNotebook):
|
|
879
879
|
for plug in win.all_pages: # => [page_closed] to all pages
|
|
@@ -1270,6 +1270,7 @@ class Frame(mwx.Frame):
|
|
|
1270
1270
|
if plug.reloadable:
|
|
1271
1271
|
session = {}
|
|
1272
1272
|
try:
|
|
1273
|
+
print("Reloading {}...".format(plug))
|
|
1273
1274
|
plug.save_session(session)
|
|
1274
1275
|
except Exception:
|
|
1275
1276
|
traceback.print_exc()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
mwx/__init__.py,sha256=bSRdncjfSCKycMFQVnagOi9R2vUCC5snGkjea7jqPgU,2520
|
|
2
2
|
mwx/controls.py,sha256=pD1IjgkwdvD-ebntnAH-6Jo7KY5hDq30Ne6rTE_i9fE,43499
|
|
3
|
-
mwx/framework.py,sha256=
|
|
4
|
-
mwx/graphman.py,sha256=
|
|
3
|
+
mwx/framework.py,sha256=axKlqwJG6pi5x6q0-dUtegNtDzBDWqow9QGasGt3vXM,73816
|
|
4
|
+
mwx/graphman.py,sha256=iF1cSVYdQHiu1Wylt1cBGIzbQtZQLSetRN3qw_g6-jA,68716
|
|
5
5
|
mwx/images.py,sha256=9e8X7OpJ6Z3fF3ez17P_qk2D1NMO10-lN8TCtulAqT0,46248
|
|
6
6
|
mwx/matplot2.py,sha256=W_FpY0S33crCAh7N9YTXo-jgYzj8uL9gqXkekfQo7Pk,36017
|
|
7
7
|
mwx/matplot2g.py,sha256=cBuLMnQt3XSKQL9io0XJb_v8Lv0pO9hm0IMjVIERtu4,68253
|
|
@@ -15,8 +15,8 @@ mwx/wxwil.py,sha256=DPXXx4OdEzvHr-_jxz9J29Ozufmb6Vr7rXVkG_LKQd0,5254
|
|
|
15
15
|
mwx/wxwit.py,sha256=UG361QTUheO_hlSIRgkprrGUYh0IzHB8ZqOoJeeMzUs,7424
|
|
16
16
|
mwx/py/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
mwx/py/filling.py,sha256=f6KMBcBv7gwrl6qmJYLTL-O0Z47bWNAdTCZtUZIo8vM,16794
|
|
18
|
-
mwxlib-0.84.
|
|
19
|
-
mwxlib-0.84.
|
|
20
|
-
mwxlib-0.84.
|
|
21
|
-
mwxlib-0.84.
|
|
22
|
-
mwxlib-0.84.
|
|
18
|
+
mwxlib-0.84.9.dist-info/LICENSE,sha256=PGtRKCaTkmUDlBQwpptJAxJtdqxIUtAmdBsaT9nUVkA,1091
|
|
19
|
+
mwxlib-0.84.9.dist-info/METADATA,sha256=Nt7X4C4jS8_safBBRGm2ZcZzk3WEo5B9-czJj-3UIfU,1893
|
|
20
|
+
mwxlib-0.84.9.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
21
|
+
mwxlib-0.84.9.dist-info/top_level.txt,sha256=SI1Mh118AstnUFGPNq5aMNKiAnVNmZk1S9Ij-OwAEpY,4
|
|
22
|
+
mwxlib-0.84.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|