Reference

Clutter::ListModel(3pm)

List model implementation

NAME

Clutter::ListModel - List model implementation

SYNOPSIS

    my $model = Clutter::ListModel->new(
        # column type    column title
        'Glib::String',  'Full Name',
        'Glib::String',  'Address',
        'Glib::Uint',    'Age',
        'Glib::Boolean', 'Subscribed',
    );

DESCRIPTION

Clutter::ListModel is a Clutter::Model implementation provided by Clutter. Clutter::ListModel uses a bilanced binary tree internally for storing the values for each row, so it's optimized for insertion and look up operations.

HIERARCHY

  Glib::Object
  +----Clutter::Model
       +----Clutter::ListModel

METHODS

model = Clutter::ListModel->new (type, name, ...)

•

... (list) of type, name pairs

•

$name (string) name of the column, or undef

•

$type (string) type of the column

SEE ALSO

Clutter, Glib::Object, Clutter::Model

COPYRIGHT

Copyright (C) 2006, 2007, 2008 OpenedHand Ltd

Copyright (C) 2009 Intel Corporation

This module is free software; you can redistribute it and/or modify it under the terms of either:

•

the GNU Lesser General Public Library version 2.1; or

•

the Artistic License, version 2.0.

See Clutter for the full copyright notice.

History