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

Add stack widget #124

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    286b7bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95d7138 View commit details
    Browse the repository at this point in the history
  3. Re export bound enums

    PhilippMDoerner committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    b260c07 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Configuration menu
    Copy the full SHA
    451989f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Add SearchEntry widget

    * Add Search Entry Widget
    
    * Add text field to searchEntry widget
    
    * Add missing text hook
    
    * Improve search entry example
    
    * Further improve example
    
    * Refine which fields you shouldn't have access to
    
    * Add activity to when you stop a search
    
    * Add activity to when you stop a search
    
    * Fix search entry displaying weird spacing
    
    * Unify GtkMinor into a single constant
    
    * Debug change
    
    Attempt to cat out the gtk.nim file to see how the hell it is
    getting the impression that GtkMinor is defined twice.
    
    * Move GtkMInor before the passL flag is passed?
    
    Maybe this fixes the problem with the pipeline sudenly thinking
    that value was defined twice.
    
    * Unto test-pipeline debug change
    
    * Comment out unsupported search thingy
    
    * Minor tweaks
    
    - Removed searchstring parameter from callbacks
    - made sure only changed callback can modify search value
    - Updated example
    - Moved example to far nicer looking ListBox
    
    * Remove unnecessary Box
    
    * Update examples/widgets/search_entry.nim
    
    Co-authored-by: Can Lehmann <85876381+can-lehmann@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Can Lehmann <85876381+can-lehmann@users.noreply.github.com>
    PhilippMDoerner and can-lehmann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    6dda78a View commit details
    Browse the repository at this point in the history
  2. Add PasswordEntry widget

    * Add core of password entry widget
    
    * Add bindings for menu model
    
    I do not plan to act on them yet but I'd like to
    at least already add them so I don't have to
    make the effort later
    
    * Update password entry docs
    
    * Improve gitignore
    
    * Use unsafeAddr for nim version 1.0
    
    * Fix GValue being let instead of var
    
    * Add text field to password entry
    
    * Ensure activateEventCallback also updates state
    
    * Add missing text hook
    
    * Add way to demonstrate 2 way binding
    
    * Remove unnecessary pragma ping pong
    
    * Removed password from activate callback parameters
    PhilippMDoerner committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    7a0ce6c View commit details
    Browse the repository at this point in the history
  3. Add ActionBar widget

    * Make Centerbox orientable
    
    * Add Action Bar Widget and docs
    
    * Minor refinement to the action bar example
    
    It now actually "deletes" the contents of the label.
    There's also a button to reset its value.
    
    * Improve example button styling
    PhilippMDoerner committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    161600d View commit details
    Browse the repository at this point in the history
  4. Add examples to .gitignore

    can-lehmann authored and PhilippMDoerner committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    c0598c6 View commit details
    Browse the repository at this point in the history
  5. Update docs

    can-lehmann authored and PhilippMDoerner committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    4368f12 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36509eb View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    3fbbe79 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2023

  1. Configuration menu
    Copy the full SHA
    25f4464 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    c8b2b79 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. Configuration menu
    Copy the full SHA
    6b8dac6 View commit details
    Browse the repository at this point in the history
  2. Add attempt at more fully implementing StackPage

    This way it is treated like a normal widget everywhere.
    
    However, the updateChildren proc has become pretty special.
    Tons of casting WidgetState and Widget to
    StackPageState and StackPage
    to deal with its internal Widget.
    PhilippMDoerner committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    76dc0fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e16b24b View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. Configuration menu
    Copy the full SHA
    b21ceb7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac845f1 View commit details
    Browse the repository at this point in the history
  3. Refined the implementation

    It now behaves exactly as one would intend and gets animated Stack stuff.
    
    StackSidebar and StackSwitcher are still problematic though as they
    require circular references which owlkettle can't do.
    If you try to use insert() twice it will instantiate 2 independent Stacks.
    PhilippMDoerner committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    7ac14d6 View commit details
    Browse the repository at this point in the history