Giter Club home page Giter Club logo

slickctk's Introduction

SlickCTk

Additional widgets and biased defaults to extend CustomTKinter (work in progress).

New Widgets

SlickContextMenu

"Right-click" / context menus.

  • Easy to create - just pass in a dictionary with button names and functions. (dict[str, Callable])
  • Supports submenus - just pass in another dictionary as the value of the button name key. (dict[str, dict[str, Callable])
  • Technically supports endless nesting of submenus, but good UX would probably dictate not going past one or two levels (dict[str, dict[str, Callable | dict[str, Callable | dict...]])
  • Automatically handles menu spill (adjusting left<>right and up<>down to stay inside the app window).
  • Menu placement accounts for DPI / screen scaling

SlickSearchbar

  • Placeholder text dynamically added/removed
  • X button for clearing the searchbar text

Biased Defaults

SlickFrame

  • Default corner radius = 0 (overrides default rounded corner)
  • Left-click Focus binding (let frames take focus when clicked on)
  • Grid Propogation = False (prevents the frame from resizing if widgets are added/removed from grid dynamically)

SlickTreeview

  • Style overrides

slickctk's People

Contributors

alexmoglia avatar

Stargazers

 avatar monolith04 avatar

Watchers

monolith04 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.