index

#include <>

class TCListRow

Public member index

Private member index

Public member descriptions

iterator

friend TCListRow::iterator;

this is an STL like iterator for TCListRows

TCListRow

TCListRow::TCListRow(TCListRow &parent,const gchar **contents,gint exp_column=-1,bool expand=false);

this was named addLine ... better as a constructor (inheritance)this was named addLine ... better as a constructor (inheritance)

add a line. If it contains a subtree please specify the expanding column
there is also a gchar**-version of this function

TCListRow

TCListRow::TCListRow(TCListRow &parent,const gchar **contents,gint exp_column=-1,bool expand=false);

this was named addLine ... better as a constructor (inheritance)this was named addLine ... better as a constructor (inheritance)

add a line. If it contains a subtree please specify the expanding column
there is also a gchar**-version of this function

TCListRow

TCListRow::TCListRow(TCList &parent,const gchar **contents,gint exp_column=-1,bool expand=false);

this was named addLine ... better as a constructor (inheritance)this was named addLine ... better as a constructor (inheritance)

add a line. If it contains a subtree please specify the expanding column
there is also a gchar**-version of this function

TCListRow

TCListRow::TCListRow(TCList &parent,const gchar **contents,gint exp_column=-1,bool expand=false);

this was named addLine ... better as a constructor (inheritance)this was named addLine ... better as a constructor (inheritance)

add a line. If it contains a subtree please specify the expanding column
there is also a gchar**-version of this function

TCListRow

TCListRow::TCListRow(iterator &next,const vector <string>,gint exp_column=-1,bool expand=false);

insert a line before the iterator. If it contains a subtree please specify the expanding column

begin

iterator TCListRow::begin();

return iterator to first child


end

iterator TCListRow::end();

return past the end iterator


empty

bool TCListRow::empty() const;

whether this Node has no children


size

int TCListRow::size() const;

number of children


set_expanding_column

void TCListRow::set_expanding_column(gint col);

specify the expanding column (the one with the (+)-sign)


get_expanding_column

gint TCListRow::get_expanding_column();

return the expanding column


get_lineno

gint TCListRow::get_lineno() const;

return line number within Gtk_CList (or -1 if not expanded)


get_num_rows

gint TCListRow::get_num_rows() const;

not implemented. should return number of lines of this subtree


set_user_data

void TCListRow::set_user_data(gpointer x);

add an hook for your data


get_user_data

gpointer TCListRow::get_user_data() const;

return your data


expand

void TCListRow::expand();

expand this subtree


collapse

void TCListRow::collapse();

collapse this subtree


toggle_expansion

void TCListRow::toggle_expansion();

flip expansion of this subtree


get_columns

vector <string> & TCListRow::get_columns();

return contents (text) of this node


reparent_children

void TCListRow::reparent_children(TCListRow &newparent);

reparent children to parent


find

iterator TCListRow::find(const TCListRow &value);

find iterator to child


visible_size

int TCListRow::visible_size() const;

visible_size of this subtree


relabel

void TCListRow::relabel(int column, string text);

relabel column


setPicture

void TCListRow::setPicture(int column,const Picture *pic);

For performance reasons cloning Pictures is not done. You really need a picture _ONCE_? You're kidding!

Private member descriptions

expand_imp

void TCListRow::expand_imp();

??? is called by parent->show() !!!

expansion_redraw_imp

void TCListRow::expansion_redraw_imp(gint lineno=unspecified_lineno);

do not use too extensively, use redraw_column_imp where possible


append_imp

void TCListRow::append_imp();

for a very fast insertion of the whole list

(pages generated by PERCEPS -script.)