Constructor
GcrUiCollectionModelnew_full
Declaration [src]
GcrCollectionModel*
gcr_collection_model_new_full (
GcrCollection* collection,
GcrCollectionModelMode mode,
const GcrColumn* columns
)
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 |
const 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. |