New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toga Settings API [WIP] #222

Open
wants to merge 14 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@Ocupe
Collaborator

Ocupe commented Aug 22, 2017

This PR is a WIP for a Toga Settings API.
The API allows you to define user facing settings and saves those settings to a platform appropriate place and file format.

So far there is a prove of concept for the cocoa backend.

Ocupe added some commits Mar 13, 2017

Added classes Settings, SettingsGroup, SettingsItem plus tests.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
added apply_sub_layout function to ios base Widget class.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
cocoa settings window opens on menu item press 'Preferences'
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
cocoa settings getting saved and updated.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
added more widgets to use as Settings Widgets.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Added on_select method to the Selection widget and implemented it for…
… cocoa.

Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Make use of the on_select callback in settings.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Added on_change as well as on_submit callbacks to TextInput widget an…
…d implemented them on cocoa.

Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Make use of the on_change callback in settings.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Fixed bug that hinders settings window from being open a second time
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Fixed TextInput callback problem on cocoa.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
added MultiSelection Widget to core/cocoa
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Added MultiSelection Widget to Settings.
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Cleanup
Signed-off-by: Jonas Schell <jonasschell@ocupe.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment