Skip to content
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

unite components' navigation and CRUD actions #33

Open
rinusser opened this issue Apr 14, 2019 · 0 comments
Open

unite components' navigation and CRUD actions #33

rinusser opened this issue Apr 14, 2019 · 0 comments
Assignees

Comments

@rinusser
Copy link
Owner

Currently each component needs to implement their own save/revert/etc button handlers and each component UI needs to set up their own buttons.

Move the CRUD/nav buttons outside the Gtk.Notebook widgets and hide them if the current component isn't a CRUDComponent or doesn't have navigation.

Maybe:

  • map Component instances to notebook tabs (so e.g. Reload() can be called on a .CurrentComponent field/property
  • split navigation capability from CRUD components: e.g. daily analysis details could still be browsed
@rinusser rinusser self-assigned this Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant