Clutter::Model::Iter(3) An iterator object for Clutter::Model

HIERARCHY

  Glib::Object
  +----Clutter::Model::Iter

METHODS

boolean = $iter->is_first

boolean = $iter->is_last

model = $iter->get_model

iter = $iter->next

iter = $iter->prev

integer = $iter->get_row

list = $iter->get_values (...)

  • ... (list) of column indices

Fetch and return the model's values in the row pointed to by iter. If you specify no column indices, it returns the values for all of the columns, otherwise, returns just those columns' values (in order).

$iter->set_values (...)

  • ... (list) of column, value pairs

Sets the model's values in the row pointed to by iter.

PROPERTIES

'model' (Clutter::Model : readable / writable / private)
The model to which the iterator belongs to
'row' (Glib::UInt : readable / writable / private)
The row to which the iterator points to

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.