GtkCTree::node_set_pixmap

GtkCTree::node_set_pixmap

void node_set_pixmap( GtkCTreeNode node , int column, GdkPixmap pixmap , GdkBitmap mask );

Sets an icon into a column of the node. The normal text in that column is replaced by the icon and not visible anymore. Use the node_set_pixtext function to add an extra text after that icon.

If you once expand/collapse the node, the icon is gone because the open/closed icons you set at the insert_node are used then. To prevent this, use the set_node_info function.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.