CheckBoxes in OptionMenu #42

Closed
jarvisteach opened this Issue Aug 1, 2016 · 9 comments

Comments

Projects
None yet
2 participants

jarvisteach pushed a commit that referenced this issue Aug 9, 2016

Richard Jarvis
Menus (#20), Toggles (#32), CheckOptions (#42)
Introduced 2 new widgets - both still under development:
 * ToggleFrame - new container that collapses to hide contents
 * addTickOptionBox - creates an option box with tickle entries

Work on menus:
 * disabling implemented
 * submenus implemented
 * shortcuts implemented - although not working on MAC
 * MAC special menus implemented
 * MAC single menus disabled
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 9, 2016

Owner

Introduced as an option on OptionBoxes
Simply pass in a type, which causes the array to build tick boxes instead of single selectable items

addTickOptionBox() will create one, calling getOptionBox currently returns a list of Booleans, matching the options

TODO:

  • Change getOptionBox to return dictionary of name/value pairs
Owner

jarvisteach commented Aug 9, 2016

Introduced as an option on OptionBoxes
Simply pass in a type, which causes the array to build tick boxes instead of single selectable items

addTickOptionBox() will create one, calling getOptionBox currently returns a list of Booleans, matching the options

TODO:

  • Change getOptionBox to return dictionary of name/value pairs
@captainsmu

This comment has been minimized.

Show comment
Hide comment

Nice!

jarvisteach pushed a commit that referenced this issue Aug 9, 2016

Richard Jarvis
Update tick box optionmenu (#42)
Cleaned up tick box optionmenu:
* Now only shows tick boxes in drop-down
* get function now returns dictionary of options with boolean
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 9, 2016

Owner

Fully implemented

Owner

jarvisteach commented Aug 9, 2016

Fully implemented

@jarvisteach jarvisteach closed this Aug 9, 2016

jarvisteach pushed a commit that referenced this issue Aug 10, 2016

Richard Jarvis
Fixed bug in OptionBoxes (#42) removed __main__
TickOptionBoxes:
* maxWidth takes into account title
* added .addLabelTickOptionBox()
* disabled setOptionBox() & changeOptionBox() for tickOptionBoxes

Removed main code - moved to demo.py
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 10, 2016

Owner

Need to implement set/change OptionBox for tickOptionBoxes

Owner

jarvisteach commented Aug 10, 2016

Need to implement set/change OptionBox for tickOptionBoxes

@jarvisteach jarvisteach reopened this Aug 10, 2016

jarvisteach pushed a commit that referenced this issue Aug 11, 2016

Richard Jarvis
setOptionBox (#42)
Can now call setOptionBox for TickOptionBox
Re-implemented TickOptionBox variables as a dictionary of BooleanVars -
now can simply change their value. Also makes getting the options
easier.

NB. can’t set by index, as positions in dictionary are *random*
@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Aug 11, 2016

Owner

only changeOptionBox left

Re-factor, so that build menu list is done in own function

Owner

jarvisteach commented Aug 11, 2016

only changeOptionBox left

Re-factor, so that build menu list is done in own function

@jarvisteach jarvisteach added this to the 0.06 milestone Feb 25, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 23, 2017

Owner

Tick boxes not working on mac osx??

Owner

jarvisteach commented Mar 23, 2017

Tick boxes not working on mac osx??

@jarvisteach

This comment has been minimized.

Show comment
Hide comment

jarvisteach added a commit that referenced this issue Apr 9, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 9, 2017

Owner

Refactored buildTickBoxes into new function
changeOptionBox now updates tickOptionBoxes

Introduced new global dictionary to hold tick box values

Also, introduced changeEvents to tickBoxes, so now they get registered when called with default changeFunction

Owner

jarvisteach commented Apr 9, 2017

Refactored buildTickBoxes into new function
changeOptionBox now updates tickOptionBoxes

Introduced new global dictionary to hold tick box values

Also, introduced changeEvents to tickBoxes, so now they get registered when called with default changeFunction

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Apr 9, 2017

Owner

refactoring done, tested on MAC/Windows

Owner

jarvisteach commented Apr 9, 2017

refactoring done, tested on MAC/Windows

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