kivy / kivy Goto Github PK
View Code? Open in Web Editor NEWOpen source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
Home Page: https://kivy.org
License: MIT License
Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
Home Page: https://kivy.org
License: MIT License
see title
Today, we binding automaticly property to an expression.
How about statement on a callback ? For on_touch_*, on_press, on_release, on_, this could be just a callback with a statement.
Actually, no deletion is done.
layout is needed
[ERROR ] [Input ] MacMultitouchSupport is not supported by your system
Traceback (most recent call last):
File "/Users/dennda/dev/kivy/kivy/input/providers/init.py", line 24, in
from kivy.input.providers.mactouch import *
File "/Users/dennda/dev/kivy/kivy/input/providers/mactouch.py", line 24, in
MultitouchSupport = ctypes.CDLL()
TypeError: init() takes at least 2 arguments (1 given)
If i'm doing a widget like PuzzleNode(Scatter), the style of Scatter will be not applied on PuzzleNode.
Support the with canvas.after in :
When I run the app_scatter example, the image is colored incorrectly. Happens as soon as I click. So I guess the color from the circle around the cursor is set, but then when the image is drawn it's not set back to white or something like that.
The navigation panel on http://kivy.org/docs/# is not scrollable and for some screen resolutions the quick search box on the bottom of the navigation panel is hidden from view. Only when the user uses the Full Screen mode of Mozilla Firefox is the quick search box visible. This problem does not affect Chromium Web Browser since it has more web page area on display.
The resolution of my laptop on which I noticed this issue is 1366x768.
Do the detection in setup.py, and use a -D to switch between GL or GLES header
The osx portable-deps contain hardcoded version number.
Search and replace all version number with a tag like {{VERSION}}
Then update build.py to search & replace with the current version
Scatter, ensure that center_x, center_y, top and right are working
A very good textbox widget with :
Include videocapture in the portable package for windows
Ask vincent and get full set of icons
Rotation support have been disabled. Reactivate it.
generic way? vim syntax file if nothing else
make a documentation for average users :
-add "self" in fonctions definition
make documentation for Color
add some example
Currently, we automatically ignore context if they are no change, and the flag update only the branch touched by the changes.
But if you have this scheme:
In Canvas C, color white will be flagged as GI_IGNORE.
If the canvas B add a color, or change his color, only canvas B and A are flagged as "need to be updated". But C should be tagged too, because the color left after the rendering of Canvas B will be not ok for Canvas C.
This reversed was needed before... but rereading this make me think we don't need it anymore.
Since we have 2 tree, the widgets tree can be already ordered for touch event, since the graphics tree can be ordered for drawing.
So... ? :)
can be nice example also
When auto_brin_to_front is True, bringing the last scatter to front by touching it in this example: http://tehansen.de/pictures.tar.gz the color of all others in the scene gets messed up (gets darker) until they are brought to the front individually. each of the images has a Color: rgb (1,1,1,1) instruction in its canvas...
Actually, we cannot know if a canvas need redrawing or not.
The update flag is set, but never unset.
If we unset it on draw, nothing is showed on the screen...
not sure whats up yet. see e.g. http://tehansen.de/pictures.tar.gz and change root widget to ScatterPlane
The same as before would be very nice :D
Every second (time when the FPS label is updated ?), the screen look crappy.
Be able to load external code from the definition langage
We need to have somewhere the syntax of the langage
make path able to bezier curves
Actually no deletion is done
fbo, texture, stencil
Check the examples/canvas_stress.py, the deletion of lot of graphics elements is very very long.
We should be able to use id, same as self. and root.
Ids must be local to a template, or global to an application.
query_position + FORMAT_TIME is laggy on Ubuntu.
current code can be not compatible with other platform, need testing.
Better CSS and Layout.
write better documentation for graphics instruction and usage of canvas
Today, the style will apply as soon as the class is created. It should be after all the parameters set
eg: glDepthRange for GL, glDepthRangef for GLES
another eg: GL_FIXED is missing from header on macosx
Hi !
I've got a little problem, when i use Line => draw point and not line !
API is not enough. Write for each widget a good documentation with lot of usage
Actually, shader are not released when the class is deleted.
Must implement GL mipmap on texture
Not that bad, but I wouldn't really expect it, so I'd say it's a bug:
See the following example:
Also works with Label of course (but then you need to choose a non-black BG color to see it).
from kivy.app import App
from kivy.uix.button import Button
class MyApp(App):
def build(self):
return Button()
MyApp().run()
Pygame / Cython / etc...
add scatter widget
So, at the end, we will have in the language : Application (root widget), Rules (for styling), Templates (reusable tree).
The templates part must be customized. I'm suggesting something like :
Beer@Widget: Label: text: data.title Label: text: data.description
And data is a dictionnary binded at creation :
my_custom_beer = Builder.build_template('Beer', {...})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.