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.

💡 Example

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

🔗 See also

QObject_set (set), get.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?