kivy html5,Kivy framework

Kivy framework¶

Kivy is an open source library for developing multi-touch applications. It is

cross-platform (Linux/OSX/Windows/Android/iOS) and released under

the terms of the MIT License.

It comes with native support for many multi-touch input devices, a growing

library of multi-touch aware widgets and hardware accelerated OpenGL drawing.

Kivy is designed to let you focus on building custom and highly interactive

applications as quickly and easily as possible.

With Kivy, you can take full advantage of the dynamic nature of Python. There

are thousands of high-quality, free libraries that can be integrated in your

application. At the same time, performance-critical parts are implemented

using Cython.

See http://kivy.org for more information.

kivy.kivy_base_dir= '/home/runner/work/kivy/kivy/kivy'¶

Kivy directory

kivy.kivy_config_fn= ''¶

Kivy configuration filename

kivy.kivy_configure()[source]¶

Call post-configuration of Kivy.

This function must be called if you create the window yourself.

kivy.kivy_data_dir= '/home/runner/work/kivy/kivy/kivy/data'¶

Kivy data directory

kivy.kivy_examples_dir= '/home/runner/work/kivy/kivy/examples'¶

Kivy examples directory

kivy.kivy_home_dir= ''¶

Kivy user-home storage directory

kivy.kivy_icons_dir= '/home/runner/work/kivy/kivy/kivy/data/icons/'¶

Kivy icons config path (don’t remove the last ‘’)

kivy.kivy_options= {'audio': ('gstplayer', 'pygame', 'ffpyplayer', 'sdl2', 'avplayer'), 'camera': ('opencv', 'gi', 'avfoundation', 'android', 'picamera'), 'clipboard': ('android', 'winctypes', 'xsel', 'xclip', 'dbusklipper', 'nspaste', 'sdl2', 'pygame', 'dummy', 'gtk3'), 'image': ('tex', 'imageio', 'dds', 'sdl2', 'pygame', 'pil', 'ffpy', 'gif'), 'spelling': ('enchant', 'osxappkit'), 'text': ('pil', 'sdl2', 'pygame', 'sdlttf'), 'video': ('gstplayer', 'ffmpeg', 'ffpyplayer', 'null'), 'window': ('egl_rpi', 'sdl2', 'pygame', 'sdl', 'x11')}¶

Global settings options for kivy

kivy.kivy_register_post_configuration(callback)[source]¶

Register a function to be called when kivy_configure() is called.

Warning

Internal use only.

kivy.kivy_shader_dir= '/home/runner/work/kivy/kivy/kivy/data/glsl'¶

Kivy glsl shader directory

kivy.kivy_usermodules_dir= ''¶

Kivy user modules directory

kivy.parse_kivy_version(version)[source]¶

Parses the kivy version as described in require() into a 3-tuple

of ([x, y, z], ‘rc|a|b|dev|post’, ‘N’) where N is the tag revision. The

last two elements may be None.

kivy.require(version)[source]¶

Require can be used to check the minimum version required to run a Kivy

application. For example, you can start your application code like this:

import kivy

kivy.require('1.0.1')

If a user attempts to run your application with a version of Kivy that is

older than the specified version, an Exception is raised.

The Kivy version string is built like this:

X.Y.Z[tag[tagrevision]]

X is the major version

Y is the minor version

Z is the bugfixes revision

The tag is optional, but may be one of ‘.dev’, ‘.post’, ‘a’, ‘b’, or ‘rc’.

The tagrevision is the revision number of the tag.

Warning

You must not ask for a version with a tag, except -dev. Asking for a

‘dev’ version will just warn the user if the current Kivy

version is not a -dev, but it will never raise an exception.

You must not ask for a version with a tagrevision.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Spring Framework 5是一个开源的Java应用程序开发框架。它提供了一种灵活的、模块化的方法来构建以Java为核心的企业级应用程序。Spring Framework 5的jar包是包含在其发行版本中的重要组成部分。 Spring Framework 5的jar包为开发者提供了丰富的功能和工具,以简化和加速应用程序的开发过程。这些jar包包含了各种功能模块,如依赖注入(Dependency Injection)、面向切面编程(AOP)、数据访问、Web开发和测试等。开发者可以根据自己的需求选择合适的模块,并将其加入到他们的项目中。 使用Spring Framework 5的jar包可以帮助开发者实现代码的解耦和模块化,提高代码的可重用性和可维护性。通过依赖注入技术,开发者可以将应用程序中的各个组件解耦,并通过配置文件来管理它们之间的依赖关系。这样一来,当需求发生变化时,只需修改配置文件而不需要修改代码,从而提高了系统的灵活性和可扩展性。 同时,Spring Framework 5的jar包还提供了许多其他的功能和工具,如事务管理、ORM框架集成、消息传递、安全性和缓存等。这些功能和工具可以极大地简化开发者的工作,提高开发效率。 总的来说,Spring Framework 5的jar包是一个非常重要的工具,可以帮助开发者快速构建高性能、可扩展的企业级Java应用程序。通过利用这些jar包,开发者可以专注于业务逻辑的实现而不需要关注底层的技术细节。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值