chickadee » iup » attribute-set!

(attribute-set! [handle (or/c ihandle? #f)] [name (or/c symbol? string?)] [value any/c]) -> void?procedure

Sets the value of an attribute. If the handle is #f, a global attribute is accessed. If the new value is not a string, it is converted as follows:

  • #f -> NULL
  • #t -> "YES"
  • Handle -> Possibly autogenerated global handle name
  • Any other value -> string encoding of the value


(set! (attribute [handle (or/c ihandle? #f)] [name (or/c symbol? string?)]) [value any/c])