_AlpProxyCacheModelRowItemClass Struct Reference
[AlpProxyCacheModel]

#include <proxycachemodel.h>


Detailed Description

Data structure containing user-defined member functions for managing RowItems.


Data Fields

void *(* create )(AlpProxyCacheModel *model, gint row)
 method for creating a new row item
void *(* create_user_data )(AlpProxyCacheModel *model, gint row)
 optional method for automatically creating user_data for a given row
void(* destroy )(AlpProxyCacheModel *model, void *item)
 method for destroying a given row item
void(* destroy_user_data )(AlpProxyCacheModel *model, void *user_data)
 optional method for automatically destroying user_data for a given row.
GType(* get_column_type )(AlpProxyCacheModel *model, gint column)
 method for getting number of columns for given tree model
gint(* get_n_columns )(AlpProxyCacheModel *model)
 method for getting number of columns for given tree model
gboolean(* get_value )(AlpProxyCacheModel *model, void *item, gint column, GValue *value)
 method for getting a GValue for a given column in a given row


Field Documentation

void*(* create)(AlpProxyCacheModel *model, gint row)
 

method for creating a new row item

Parameters:
[in] model the AlpProxyCacheModel
[in] item a pointer to the user's row item data structure
[in] row the row to create row item data structure for
Returns:
void * a pointer to the user's newly created data structure

void*(* create_user_data)(AlpProxyCacheModel *model, gint row)
 

optional method for automatically creating user_data for a given row

Parameters:
[in] model the AlpProxyCacheModel
[in] row row to create user_data for

void(* destroy)(AlpProxyCacheModel *model, void *item)
 

method for destroying a given row item

Parameters:
[in] model the AlpProxyCacheModel
[in] item a pointer to the user's row item data structure

void(* destroy_user_data)(AlpProxyCacheModel *model, void *user_data)
 

optional method for automatically destroying user_data for a given row.

Parameters:
[in] model the AlpProxyCacheModel
[in] user_data a pointer to the user's data structure

GType(* get_column_type)(AlpProxyCacheModel *model, gint column)
 

method for getting number of columns for given tree model

Parameters:
[in] model the AlpProxyCacheModel
[in] column number
Returns:
GType the type of the column

gint(* get_n_columns)(AlpProxyCacheModel *model)
 

method for getting number of columns for given tree model

Parameters:
[in] model the AlpProxyCacheModel
Returns:
gint number of columns in a row

gboolean(* get_value)(AlpProxyCacheModel *model, void *item, gint column, GValue *value)
 

method for getting a GValue for a given column in a given row

Parameters:
[in] model the AlpProxyCacheModel
[in] item a pointer to the user's row item data structure
[in] column which column to getting
[out] value a GValue returned for the column
Returns:
bool false if getting the column fails


The documentation for this struct was generated from the following file:
Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.