If a part name is NULL get text for search from TEXT part 'elm.text".
@fix
{
if (!it->itc->func.text_get) continue;
str = it->itc->func.text_get((void *)WIDGET_ITEM_DATA_GET(EO_OBJ(it)),
- WIDGET(it), part_name);
+ WIDGET(it), part_name ? part_name : "elm.text");
if (!str) continue;
if (!fnmatch(pattern, str, fnflags))
{
Pointer to item to start search from. If $null, search will
be started from the first item of the gengrid.
]]
- @in part_name: string; [[Name of the TEXT part of gengrid item to search string in.]]
+ @in part_name: string; [[Name of the TEXT part of gengrid item to search string in. If $null, search by "elm.text" parts.]]
@in pattern: string; [[The search pattern.]]
@in flags: Elm.Glob.Match_Flags; [[Search flags.]]
}