Constructor
GtkBuilderListItemFactorynew_from_resource
Declaration [src]
GtkListItemFactory*
gtk_builder_list_item_factory_new_from_resource (
GtkBuilderScope* scope,
const char* resource_path
)
Description [src]
Creates a new GtkBuilderListItemFactory
that instantiates widgets
using data read from the given resource_path
to pass to GtkBuilder
.
Parameters
scope |
GtkBuilderScope |
A scope to use when instantiating. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
resource_path |
const char* |
Valid path to a resource that contains the data. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | GtkListItemFactory |
A new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |