clay-event - Event Interface for Clay
Cancel a scheduled event
Generate an event Adds a subscription mechanism for objects to see who has recieved this event and prevent spamming or infinite recursion
Called recursively to produce a list of who recieves notifications
Final delivery to intended recipient object
Evaluate an event script in the global namespace
Schedule an event to occur later
Subscribe an object to an event pattern
Unsubscribe an object from an event pattern
Modify the fundamental clay::object class to add Tk-like Option handling
Methods
A public method to expose the private Config_ methods. These methods access and alter an internal dictionary named config.
Returns the default value for field as specified in the default attribute for field's definition. If default-command was specified that script is evaluated instead.
Adds a value to an entry in the config dict
Returns the entire contents of the config dictionary
Returns true if field exists in the internal config dictionary.
Returns a value. If the value exists in the internal config dictionary, that value is returned. If that value does not exist, an alias for that field is sought out. If that value still does not exist, the internal option system is consulted for a default value. If that does not exist, the option section of clay is consulted
Return the ID of this node. If no id was set, a new id is randomly generated as a shortened GUUID.
Trigger special behaviors to key/value fields in the initial configuration of a node.
Set or access the label field in the config dictionary
Merge the contents of dictargs with the internal config dictionary
Calculate an class mixin name from a field/value pair
Remove an element from a config dictionary value
Set a value in the internal config dictionary, and trigger any behaviors that are scripted to occur as a result of that value being modified
React to changes in config dictionary
TclOO, clay, oo
Programming tools
Copyright © 2019 Sean Woods <yoda@etoyoc.com>