Giter Site home page Giter Site logo

Comments (3)

Julian-O avatar Julian-O commented on May 18, 2024

[Note to others: This is a feature request for a widget that is a Slider Bar that has two values - presumably to specify a minimum and maximum value.]

Kivy is designed to be extensible, so you can add your own widgets. It appears you have extended it with a widget that is useful to you. Unless you can show that this is a widget useful to a large proportion of the users, it shouldn't be added to the Kivy base code.

Instead, consider adding it yourself to the Kivy Garden or another repository. See https://pypi.org/project/kivy-garden.radialslider/ for an example.

from kivy.

GvozdevLeonid avatar GvozdevLeonid commented on May 18, 2024

There is no widget for selecting a range in the standard library, and using two sliders looks very crooked, and if you connect the boundaries of these two sliders with each other, then everything becomes even worse (the step becomes uneven, the sliders jump, etc.)

Actually, you can use it wherever you need to specify a range. In my personal example, limiting the visibility of the graph along the y axis

from kivy.

Julian-O avatar Julian-O commented on May 18, 2024

@GvozdevLeonid: Yes, all of that is true.

However, my point stands. It is not the goal for Kivy to have every single widget that anyone ever needs. The goal is for Kivy to be extensible, so you can write your own widgets and share third-party widgets from Kivy Garden.

You have done some of the work to implement DoubleSlider (there still needs to be documentation, unit tests, example code and code reviews to be done). You might like to share that effort with others by making it available on Kivy Garden.

from kivy.

Related Issues (20)

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.