(* GtkTranslateFunc) (
  const gchar* path,
  gpointer func_data

Description [src]

The function used to translate messages in e.g. GtkIconFactory and GtkActionGroup.


path const gchar*

The id of the message. In GtkActionGroup this will be a label or tooltip from a GtkActionEntry.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
func_data gpointer

User data passed in when registering the function.

 The argument can be NULL.

Return value

Returns: gchar*

The translated message.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.