Quick search

NO DOCUMENTATION (module kivy.uix.recycleview)

class kivy.lib.osc.OSC.CallbackManager[source]

Bases: builtins.object

This utility class maps OSC addresses to callables.

The CallbackManager calls its callbacks with a list of decoded OSC arguments, including the address and the typetags as the first two arguments.

add(callback, name)[source]

Adds a callback to our set of callbacks, or removes the callback with name if callback is None.

dispatch(message, source=None)[source]

Sends decoded OSC data to an appropriate calback

handle(data, source=None)[source]

Given OSC data, tries to call the callback with the right address.

unbundler(messages)[source]

Dispatch the messages in a decoded bundle.

kivy.lib.osc.OSC.OSCArgument(data)[source]

Convert some Python types to their OSC binary representations, returning a (typetag, data) tuple.

kivy.lib.osc.OSC.OSCBlob(next)[source]

Convert a string into an OSC Blob, returning a (typetag, data) tuple.

class kivy.lib.osc.OSC.OSCMessage[source]

Bases: builtins.object

Builds typetagged OSC messages.

append(argument, typehint=None)[source]

Appends data to the message, updating the typetags based on the argument’s type. If the argument is a blob (counted string) pass in ‘b’ as typehint.

getBinary()[source]

Returns the binary message (so far) with typetags.

rawAppend(data)[source]

Appends raw data to the message. Use append().

kivy.lib.osc.OSC.hexDump(data)[source]

Useful utility; prints the string in hexadecimal

kivy.lib.osc.OSC.parseArgs(args)[source]

Given a list of strings, produces a list where those strings have been parsed (where possible) as floats or integers.

kivy.lib.osc.OSC.readDouble(data)[source]

Tries to interpret the next 8 bytes of the data as a 64-bit double float.

kivy.lib.osc.OSC.readLong(data)[source]

Tries to interpret the next 8 bytes of the data as a 64-bit signed integer.