UIManager.addUiFromResource

Warning gtk_ui_manager_add_ui_from_resource is deprecated and should not be used in newly-written code. 3.10 Parses a resource file containing a UI definition and merges it with the current contents of manager.

class UIManager
uint
addUiFromResource
()

Parameters

resourcePath string

the resource path of the file to parse

Return Value

Type: uint

The merge id for the merged UI. The merge id can be used to unmerge the UI with gtk_ui_manager_remove_ui(). If an error occurred, the return value is 0. Since 3.4

Throws

GException on failure.

Meta