NO DOCUMENTATION (module kivy.uix)

class kivy.lib.osc.OSC.CallbackManager

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)

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

dispatch(message, source=None)

Sends decoded OSC data to an appropriate calback

handle(data, source=None)

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

unbundler(messages)

Dispatch the messages in a decoded bundle.

kivy.lib.osc.OSC.OSCArgument(next)

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

kivy.lib.osc.OSC.OSCBlob(next)

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

class kivy.lib.osc.OSC.OSCMessage

Builds typetagged OSC messages.

append(argument, typehint=None)

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()

Returns the binary message (so far) with typetags.

rawAppend(data)

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

kivy.lib.osc.OSC.decodeOSC(data)

Converts a typetagged OSC message to a Python list.

kivy.lib.osc.OSC.hexDump(bytes)

Useful utility; prints the string in hexadecimal

kivy.lib.osc.OSC.parseArgs(args)

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)

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

kivy.lib.osc.OSC.readLong(data)

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