gi-clutter-1.0.2: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.ListModel

Description

The ListModel struct contains only private data.

Since: 0.6

Synopsis

Exported types

newtype ListModel Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf ListModel o) => IsListModel o Source #

Type class for types which can be safely cast to ListModel, for instance with toListModel.

Instances

Instances details
(GObject o, IsDescendantOf ListModel o) => IsListModel o Source # 
Instance details

Defined in GI.Clutter.Objects.ListModel

toListModel :: (MonadIO m, IsListModel o) => o -> m ListModel Source #

Cast to ListModel, for types for which this is known to be safe. For general casts, use castTo.

Methods

newv

listModelNewv Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> [GType]

types: an array of GType types for the columns, from first to last

-> [Text]

names: an array of names for the columns, from first to last

-> m ListModel

Returns: a new default Model

Deprecated: (Since version 1.24)Use ListStore instead

Non-vararg version of clutter_list_model_new(). This function is useful for language bindings.

Since: 0.6