Investigate starting with SubWindow #112

Closed
jarvisteach opened this Issue Mar 11, 2017 · 3 comments

Comments

Projects
None yet
1 participant
@jarvisteach
Owner

jarvisteach commented Mar 11, 2017

See issue #108

Should be possible to specify a subWindow to start with (eg. a login window), and to have the main app hidden.

I think this may already be supported - but isn't clear. How do we hide the main app and show a subWindow at the same time.

What if the subWindow is modal, will go() be reached?

@jarvisteach jarvisteach added this to the 0.06 milestone Mar 11, 2017

@jarvisteach jarvisteach self-assigned this Mar 11, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 17, 2017

Owner

.hide/showSubWindow() give the ability to toggle subWindows
These same functions should be available on the app as well.

Perhaps the name of a subWindow could be made a parameter of .go() meaning the main app will start hidden, and the named subWindow will start shown.

Some kind of .switchToWindow() could also be provided which will hide one window, and show another...

Need to investigate that calling .showSubWindow() before .go() doesn't cause program to hang, and not reach .go()

Owner

jarvisteach commented Mar 17, 2017

.hide/showSubWindow() give the ability to toggle subWindows
These same functions should be available on the app as well.

Perhaps the name of a subWindow could be made a parameter of .go() meaning the main app will start hidden, and the named subWindow will start shown.

Some kind of .switchToWindow() could also be provided which will hide one window, and show another...

Need to investigate that calling .showSubWindow() before .go() doesn't cause program to hang, and not reach .go()

jarvisteach added a commit that referenced this issue Mar 18, 2017

Ability to hide/show main window (#112)
Functions to hide/show main window
Extra parameter on go(), to declare which window to start with
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 18, 2017

Owner

.hide() & .show() functions added to hide/show main window.
Calling .showSubwindow(win) isn't blocking, so .go() is still reached.
Parameter added to .go(startWindow=None) to allow appJar to start with a SubWindow

No .switchToWindow() provided, easy enough to call hide/show manually...

Owner

jarvisteach commented Mar 18, 2017

.hide() & .show() functions added to hide/show main window.
Calling .showSubwindow(win) isn't blocking, so .go() is still reached.
Parameter added to .go(startWindow=None) to allow appJar to start with a SubWindow

No .switchToWindow() provided, easy enough to call hide/show manually...

jarvisteach added a commit that referenced this issue Mar 18, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 18, 2017

Owner

Modal testing in #108

Owner

jarvisteach commented Mar 18, 2017

Modal testing in #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment