"transparentForMouse"

The attribute "transparentForMouse" allows to prevent objects from using mouse events while objects in the background can be used with the mouse.

Synopsis

setValue( string shape, "transparentForMouse", bool b );

getValue( string shape, "transparentForMouse", boolb );

shape.cursor( bool b );

Parameter

Parameter Description
shape Name of the object
b "Transparency" state of the object

Description

The attribute "transparentForMouse" specifies whether an interaction with the mouse and the object can be performed or if the mouse controls are used for underlaying objects.

Example

In the following example, the object is set transparent for the mouse events.

main()
{
  bool b = TRUE;
  this.transparentForMouse(b);
}

Assignment

All widgets