Re: [VWNC] [VW9.xx] Tree View presentation question
mark pirogovsky <[email protected]> Tue, 10 Dec 2024 11:23:03 -0500
| Newsgroups | gmane.comp.lang.smalltalk.vwnc |
|---|---|
| Message-ID | <[email protected]> |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thank you Holger,<br>
<br>
Few more questions:<br>
<br>
<ul>
<li>You say "one option" -- is there another one ?</li>
<li>Had anybody try to do something like that ?</li>
<li>Can you create a skin with those particular methods as a
subclass of the WindowsNative skin ? <br>
</li>
<li>it looks like you need to have a third method there:
#treeArtistForView: , where you specify how to display labels
relations to the tree opened/closed status ?<br>
<br>
</li>
</ul>
Best regards,<br>
---<br>
Mark Pirogovsky<br>
<br>
<br>
Holger Kleinsorgen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGhifExLkgNPEQR2e9h_1DpHzuomMUGxv9beWO5AytaehMjgjg@mail.gmail.com">
<div>Hi Mark,</div>
<div><br>
</div>
<div>one option is to create a custom skin, e.g. a subclass of
WindowsEmulatedLightSkin, and then implement the tree display
methdos according to your needs:</div>
<div>- #treeDrawItemBackgroundOnGC:usingArtist:</div>
<div>- #treeDrawDisclosureImageOnGC:usingArtist:</div>
<div><br>
</div>
<div>Regards, Holger</div>
</blockquote>
<br>
</body>
</html>