Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!rice!sun-spots-request From: chuck@trantor.harris-atd.com (Chuck Musciano) Newsgroups: comp.sys.sun Subject: Re: How to create custom panel items in suntools? Keywords: Windows Message-ID: <8904261905.AA24155@trantor.harris-atd.com> Date: 8 May 89 17:42:05 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu Original-Date: Wed, 26 Apr 89 15:04:53 EDT X-Sun-Spots-Digest: Volume 7, Issue 276, message 2 of 18 Suntools is not extensible (XView doesn't seem to be either, at first glance). I once tried to create a scrollbox panel item, and almost got it wokring before I got distracted with other things. I would simply package your new gadget as a separate module, with a few well defined interface routines, and use it like that. Of course, you can't call panel_create_item(), but you could have a routine called panel_create_custom_slider or whatever that honored all the panel attributes and used varargs to make it look just like the normal routine. Then you can document the whole thing and send it to the sun archives for the rest of us :-) Chuck Musciano ARPA : chuck@trantor.harris-atd.com Harris Corporation Usenet: ...!uunet!x102a!trantor!chuck PO Box 37, MS 3A/1912 AT&T : (407) 727-6131 Melbourne, FL 32902 FAX : (407) 727-{5118,5227,4004}