get_short_name


Description:

public string get_short_name ()

Computes a valid UTF-8 string that can be used as the name of the item in a menu or list.

For example, calling this function on an item that refers to “file:///foo/bar.txt” will yield “bar.txt”.

Parameters:

this

an `GtkRecentInfo`

Returns:

A newly-allocated string in UTF-8 encoding free it with g_free




2022 vala-language.org