find_element


Description:

[ CCode ( cname = "gst_harness_find_element" ) ]
public Element? find_element (string element_name)

Most useful in conjunction with gst_harness_new_parse, this will scan the Elements inside the Harness, and check if any of them matches element_name.

Typical usecase being that you need to access one of the harnessed elements for properties and/or signals.

MT safe.

Parameters:

this

a Harness

element_name

a char with a ElementFactory name

Returns:

a Element or null if not found




2022 vala-language.org