Constructor
GcrUiCollectionModelnew_full
Declaration [src]
GcrCollectionModel*
gcr_collection_model_new_full (
GcrCollection* collection,
GcrCollectionModelMode mode,
const GcrColumn* columns
)
Description [src]
Create a new GcrCollectionModel
.
This constructor is not directly available to language bindings |
Parameters
collection |
GcrCollection |
The collection to represent. |
|
The data is owned by the caller of the function. | |
mode |
GcrCollectionModelMode |
Whether list or tree mode. |
|
columns |
GcrColumn |
The columns the model should contain. |
|
The data is owned by the caller of the function. |
Return value
Returns: | GcrCollectionModel |
A newly allocated model, which should be released
with |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |