Unit 'mui' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

MUIM_Set

Set an attribute to a value.

Declaration

Source position: mui.pas line 709

const MUIM_Set = $8042549a;

Description

DoMethod(obj, MUIM_Export, [Attr: LongWord; Value: IPTR]);

Attr
attribute you want to set.
value
value to set the attribute to.

Set an attribute to a value. Normally, you would set attributes with intuition.library SetAttrs() or with the OM_SET method as with any other boopsi objects. But since these calls need a complete tag list, not just a single attribute/value pair, they are not useful within a MUIM_Notify method.

See also

MUIM_SetAsString

  

Set a (text kind) attribute to a string.

MUIM_Notify

  

Add a notification event handler to an object

MUIM_NoNotifySet

  

Acts like MUIM_Set but doesn't trigger any notification.


Documentation generated on: 2021-07-30