set_child


Description:

[ Version ( since = "2.35.0" ) ]
public void set_child (Object child)

Sets child as accessible child of this and this as accessible parent of child.

child can be NULL.

In some cases, one can not use the AtkPlug type directly as accessible object for the toplevel widget of the application. For instance in the gtk case, GtkPlugAccessible can not inherit both from GtkWindowAccessible and from AtkPlug. In such a case, one can create, in addition to the standard accessible object for the toplevel widget, an AtkPlug object, and make the former the child of the latter by calling set_child.

Parameters:

this

an Plug to be set as accessible parent of child.

child

an Object to be set as accessible child of this.




2022 vala-language.org