Scripting to get list of Custom GUI component by type

Is there any way to get the list of Custom GUI components under Root Container by type in Ignition in the Component’s event’s scripting?

  1. I am just looking for a way to get single Custom GUI component type (say, having name of signal)
  2. All my Custom GUI components in the Window are having the same starting name string (such as signal 1, signal 2, signal 123 and so on). Can this name property be exploited to get all the GUI components in the Window whose name starting with, say, “signal”?

See other answer.
Also look at python’s .startswith() string method.

Ok, I will combine the getComponent() with string startswith(). Thanks for the direction!