QObject_get

Retrieve a property value from an QObject handle.

Syntax

  • R = get(h, property_name)

Input argument

  • h - an QObject handle.

  • property_name - a string: property name.

Output argument

  • R - The data type of the return value depends on the invoked method.

Description

R = get(h, property_name) returns the value of property asked.

See also

QObject_set (set), get.

Example

h = errordlg();
h.visible % or get(h, 'visible')
h.windowTitle % or get(h, 'windowTitle')

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated