note 441 added to gtk.gtkctree.method.is_viewable.php
| From: | florian at phpws dot org | Date: | Tue, 10 Aug 2004 22:00:06 +0000 |
| Subject: | note 441 added to gtk.gtkctree.method.is_viewable.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-2570@lists.php.net to get a copy of this message | ||
With this function, you can check that an item/node is viewable or not..
For example:
<?php
//Somethin generates the CTree to $ctree
$node = $ctree->insert_node(null, null, array('any node..'), 5, null, null, null, null,
true, false);
if( $ctree->is_viewable($node) )
print "It is viewable!";
else
print "It isn't viewable!";
?>
The viewable stat is contingent on the appening status of the GtkCTree contains the node.
http://gtk.php.net:80/manual/de/gtk.gtkctree.method.is_viewable.php