ItemFactory.setTranslateFunc

Warning gtk_item_factory_set_translate_func has been deprecated since version 2.4 and should not be used in newly-written code. Use GtkUIManager instead. Sets a function to be used for translating the path elements before they are displayed.

class ItemFactory
void
setTranslateFunc

Parameters

func GtkTranslateFunc

the GtkTranslateFunc function to be used to translate path elements

data void*

data to pass to func and notify

notify GDestroyNotify

a GDestroyNotify function to be called when ifactory is destroyed and when the translation function is changed again

Meta