Comments (3)
[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.
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.
@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)
- All my programs show nothing on WIndows 11 (after connecting a second screen using an adapter) HOT 7
- Label widget draw using the 'color' instead of 'disabled_color' HOT 4
- Kivy does not work at all (seg faults) on MacOS HOT 11
- pytube to download YouTube video works on notebook but fails on kivy app HOT 1
- Graphics: Storing `_points` for `Smooth*` implementations result in a performance drop even on non-smooth drawings HOT 11
- Migrate `SDL2` to `SDL3` HOT 3
- AnchorLayout prevents child widgets from controlling their height
- An unbound event before ScrollView is triggered
- CompoundSelectionBehavior.deselect_node() should not silently hide exceptions
- Unexpected behavior by TypeError in `query_xinput` method
- `DDSFile.save` raise a type error by invalid write HOT 1
- `Tool.write_tex` raises a type error by invalid write
- `ConfigParser.write` takes 1 positional argument but 2 were given HOT 2
- Add support for wl-clipboard for Linux
- `im.add_mipmap` requires five parameters, but only four arguments are being used
- Dependency Dashboard
- Investigate an alternative for `no-response` bot
- Pyinstaller package required `LD_PRELOAD` to start on Linux HOT 1
- `disable_multitouch` should also disable MTD loading on Linux
- Markup=True in TextInput
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kivy.