test_find_label
Description:
[ Version ( since = "2.14" ) ]
public unowned Widget test_find_label (Widget widget, string label_pattern)
This function will search widget
and all its descendants for a GtkLabel widget with a text string matching label_pattern
.
The label_pattern
may contain asterisks “*” and question marks “?” as placeholders, g_pattern_match
is used
for the matching. Note that locales other than "C“ tend to alter (translate” label strings, so this function is genrally only useful in test
programs with predetermined locales, see test_init for more details.
Parameters:
widget |
Valid label or container widget. |
label_pattern |
Shell-glob pattern to match a label string. |
Returns:
a GtkLabel widget if any is found. |
Namespace: Gtk
Package: gtk+-3.0