API Reference / @gtkx/testing / getWidgetTextContent
Variable: getWidgetTextContent
constgetWidgetTextContent: (widget) =>string|null
Defined in: widget-accessible-properties.d.ts:23
Returns a widget's own text, or the space-joined text of its descendants when it has none of its own, or null when neither produces a value.
Parameters
widget
Gtk.Widget
The widget whose subtree is read.
Returns
string | null