Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!x35g2000prf.googlegroups.com!not-for-mail
From:  farhan.rizwi@unswalumni.com
Newsgroups: comp.soft-sys.matlab
Subject: How do I add ToolTips to uitree's?
Date: Mon, 30 Jul 2007 20:09:45 -0700
Organization: http://groups.google.com
Lines: 19
Message-ID: <1185851385.458338.216410@x35g2000prf.googlegroups.com>
NNTP-Posting-Host: 129.94.6.29
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1185851389 10694 127.0.0.1 (31 Jul 2007 03:09:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 31 Jul 2007 03:09:49 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: x35g2000prf.googlegroups.com; posting-host=129.94.6.29;
Xref: news.mathworks.com comp.soft-sys.matlab:421786



Hi,

Adding tooltips to a uitable seems pretty straightforward, for example

uit=uitable;
uit.Table.setToolTipText('voila');

.. and there you have it.

Unfortunately, this scheme does not work with uitree's.  I suspect it
has to do with various subclassing of the createToolTip method but I
haven't figured it all out yet.

If someone else has, could the enlighten the group?

Thanks in advance for any help.

-Farhan