Giter VIP home page Giter VIP logo

guilib's People

Contributors

davidgoldman avatar loadingbyte avatar zyr93 avatar

Watchers

 avatar  avatar  avatar

guilib's Issues

Add the `enabled` property to more widgets

Currently, the only widget you can disable via setEnabled(false) is the plain old button. However, being enabled disabled is a property that makes sense on most widgets. There should be a WidgetDisableable interface, which requires implementation of two isEnabled() and setEnabled(boolean) methods.

Color picker

Hello,

it seems like you continue to update this lib that I just discovered.
Do you think you could add a color picker control ?

Thanks

Built-in mechanism for adding custom tooltips

PR #5 introduced a simple way to add custom text tooltips to checkboxes. That quick and dirty fix, however, only highlights a larger problem that will require a more permanent solution. We obviously want to be able to add tooltips to most kinds of widgets, without allowing insensible ones like tooltips on containers or scrollbars. Ideally, we also want to be able to adjust the fixed tooltips, i.e. the ones created by item buttons.

Until there's a good solution for that problem (adding boilerplate code to each and every widget sadly isn't one), the only way to add custom tooltips is through subclassing the widgets and adding methods like you did with the checkbox widget.

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.