Clutter::ListModel.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-25 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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
 
 

INTERFACES

   Glib::Object::_Unregistered::ClutterScriptable
 
 

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 (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.