万本电子书0元读

万本电子书0元读

顶部广告

Kivy Cookbook电子书

售       价:¥

32人正在读 | 0人评论 9.8

作       者:Hugo Solis

出  版  社:Packt Publishing

出版时间:2015-08-21

字       数:121.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is intended for developers who want to use features of the Kivy framework and develop multitouch applications. Prior experience with Kivy is not required although familiarity with Python is expected.
目录展开

Kivy Cookbook

Table of Contents

Kivy Cookbook

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Kivy and the Kv Language

Introduction

Installing Kivy

Getting ready

How to do it…

How it works…

There's more…

Mac OS X

Microsoft Windows

See also

Building your interfaces

Getting ready

How to do it…

How it works…

There's more…

See also

Declaring properties within a class

Getting ready

How to do it…

How it works…

There's more…

See also

Relating Python code and the Kv language

Getting ready

How to do it…

How it works…

There's more…

See also

Referencing widgets

Getting ready

How to do it…

How it works…

There's more…

See also

Accessing widgets defined inside the Kv language in your Python code

Getting ready

How to do it…

How it works…

See also

Reusing styles in multiple widgets

Getting ready

How to do it…

How it works…

There's more…

See also

Designing with the Kv language

Getting ready

How to do it…

How it works…

There's more…

See also

Running your code

Getting ready

How to do it…

How it works…

There's more…

Mac OS X

Microsoft Windows

See also

Using Kivy garden

Getting ready

How to do it…

There's more…

Packing

2. Input, Motion, and Touch

Introduction

Using the mouse

Getting ready

How to do it…

How it works…

There's more…

See also

Evolving to the touchscreen

Getting ready

How to do it…

How it works…

There's more…

See also

Working with the accelerometer

Getting ready

How to do it…

How it works…

There's more…

See also

Using the gyroscope

Getting ready

How to do it…

How it works…

See also

The differences between the touch and motion events

Getting ready

How to do it…

How it works…

There's more…

See also

Recognizing touch shapes

Getting ready

How to do it…

How it works…

See also

Detecting multitapping

Getting ready

How to do it…

How it works…

Grabbing touch events

Getting ready

How to do it…

How it works…

Recording gestures

Getting ready

How to do it…

How it works…

There's more…

See also

3. Events

Introduction

Scheduling a one-time event

Getting ready

How to do it…

How it works…

There's more…

See also

Scheduling a repetitive event

Getting ready

How to do it…

How it works…

There's more…

See also

Triggering events

Getting ready

How to do it…

How it works…

There's more…

See also

Defining widget events

Getting ready

How to do it…

How it works…

There's more…

See also

Creating custom events

Getting ready

How to do it…

How it works…

There's more…

See also

Attaching callbacks

Getting ready

How to do it…

How it works…

See also

Declaring a property

Getting ready

How to do it…

How it works…

There's more…

See also

Compounding properties

Getting ready

How to do it…

How it works…

There's more…

See also

4. Widgets

Introduction

Using the basics: buttons, labels, and text inputs

Getting ready

How to do it…

How it works…

There's more…

See also

Manipulating the widget tree

Getting ready

How to do it…

How it works…

There's more…

See also

Traversing the tree

Getting ready

How to do it…

How it works…

Using swappable widgets

Getting ready

How to do it…

How it works…

See also

Organizing with layouts

Getting ready

How to do it…

How it works…

There's more…

Using FloatLayout

Getting ready

How to do it…

How it works…

There's more…

See also

Using BoxLayout

Getting ready

How to do it…

How it works…

There's more…

Using GridLayout

How to do it…

How it works…

There's more…

Using StackLayout

Getting ready

How to do it…

How it works…

There's more…

Using RelativeLayout

Getting ready

How to do it…

How it works…

Using AnchorLayout

How to do it…

How it works…

Working with ActionBar

Getting ready

How to do it…

How it works…

See also

5. Graphics – Canvas and Instructions

Introduction

Separating with the screen manager

Getting ready

How to do it…

How it works…

There's more…

Using drawing instructions

Getting ready

How to do it…

How it works…

There's more…

Using context instructions

Getting ready

How to do it…

How it works…

There's more…

Working with manipulating instructions

Getting ready

How to do it…

How it works…

There's more…

Rotating, translating, and scaling the canvas

Getting ready

How to do it…

How it works…

There's more…

Modifying with multitouching

Getting ready

How to do it…

How it works…

There's more…

Storing and retrieving the coordinate space context

Getting ready

How to do it…

Introducing animations

Getting ready

How to do it…

How it works…

There's more…

See also

6. Advanced Graphics – Shaders and Rendering

Introduction

Using Carousel

Getting ready

How to do it…

How it works…

There's more…

Creating and using Atlas

Getting ready

How to do it…

How it works…

Creating layouts

Getting ready

How to do it…

How it works…

Editing shaders

Getting ready

How to do it…

How it works…

There's more…

Creating widgets

Getting ready

How to do it…

How it works…

See also

Creating your own shader

Getting ready

How to do it…

How it works…

There's more…

See also

Rendering in a Framebuffer

Getting ready

How to do it…

How it works…

Optimizing graphics

Getting ready

How to do it…

There's more…

See also

7. The API in Detail

Introduction

Getting to know the API

Getting ready

How to do it…

How it works…

There's more…

See also

Using the asynchronous data loader

Getting ready

How to do it…

How it works…

There's more…

Logging objects

How to do it…

How it works…

There's more…

See also

Parsing

How to do it…

How it works…

See also

Applying utils

How to do it…

How it works…

See also

Leveraging the factory object

Getting ready

How to do it…

How it works…

There's more…

See also

Working with audio

Getting ready

How to do it…

How it works…

There's more…

See also

Working with video

Getting ready

How to do it…

How it works…

There's more…

See also

Working with a camera

Getting ready

How to do it…

There's more…

Using spelling

Getting ready

How to do it…

How it works…

Adding effects

Getting ready

How to do it…

How it works…

There's more…

See also

Advanced text manipulation

How to do it…

How it works…

There's more…

See also

8. Packaging our Apps for PC

Introduction

Packaging for Windows

Getting ready

How to do it…

How it works…

There's more…

See also

Including multimedia for Windows

Getting ready

How to do it…

How it works…

There's more…

See also

Running apps in Windows

Getting ready

How to do it…

How it works…

See also

Packaging for Mac OS

Getting ready

How to do it…

How it works…

There's more…

See also

Including multimedia for Mac OS

Getting ready

How to do it…

How it works…

There's more…

Running apps in Mac OS

Getting ready

How to do it…

How it works…

See also

Packaging for Linux

Getting ready

How to do it…

Including multimedia for Linux

Getting ready

How to do it…

Running apps in Linux

Getting ready

How to do it…

How it works…

9. Kivy for Mobile Devices

Introduction

Packaging for iOS

Getting ready

How to do it…

How it works…

There's more…

See also

Resizing the screen into iOS

Getting ready

How to do it…

How it works…

There's more…

See also

Leveraging mobile features in iOS

Getting ready

How to do it…

How it works…

There's more…

See also

Preparing for the App Store

Getting ready

How to do it…

How it works…

See also

Packaging for Android

Getting ready

How to do it…

How it works…

See also

Resizing the screen into Android

Getting ready

How to do it…

How it works…

There's more…

See also

Leveraging mobile features in Android

Getting ready

How to do it…

How it works…

There's more…

See also

Index

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部