Project

General

Profile

How to make WTree & WTreeNode invalid

Added by ruliang ge over 14 years ago

Hi everyone,

I created a tree with WTree and WTreeNode in a WContainerWidget.

I want to make this tree invalid to user(it means user can not click any child node in this tree).

So I disabled the WContainerWidget,disabled the WTree,disabled the WTreeNode,but it didn't work.The child node of the tree still could be click.

Is there any method to realize this function?

Thanks!


Replies (1)

RE: How to make WTree & WTreeNode invalid - Added by Koen Deforche over 14 years ago

Hey,

You are right indeed, a disabled widget should in general not react to mouse clicks.

This has been implemented now in WInteractWidget itself.

Regards,

koen

    (1-1/1)