<< QObject_root QML engine QObject_undefine >>

QObject_set


Set a property value of an QObject handle (set).


Syntax


R = set(h, property_name, value)

Input argument


h

an QObject handle.

property_name

a string: property name.

value

a variable.

Output argument


R

user-settable properties and possible values for the object identified by h.

Description


This routine can be used to modify the value of a specified property from an QObject object.

Example


h = errordlg()
h.visible = false; // or set(h, 'visible', false)
h.title = 'new title' // or set(h, 'title', 'new title')
h.visible = true;

See also


set.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< QObject_root QML engine QObject_undefine >>