Contents Up Previous Next

Message

A message is a simple piece of text on a panel.

message-create
message-create-from-bitmap


message-create

long ( message-create long panel-id string label
optional long x optional long y
optional string style optional string name)

Creates a message item on the given panel (a simple, non-selectable, non-editable string). If no position is given, the panel item is placed after the last item. The value -1 may be passed to denote a default, so that the position may be left unspecified and the size given.

style is reserved for future use.

name gives the message a name that can be retrieved with window-get-name.


message-create-from-bitmap

long ( message-create-from-bitmap long panel-id long bitmap-id
optional long x optional long y
optional long width optional long height optional string style optional string name)

Creates a bitmap message given a valid bitmap identifier.

name gives the message a name that can be retrieved with window-get-name.