Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!ben From: ben@hpcvlx.HP.COM (Benjamin Ellsworth) Newsgroups: comp.windows.x Subject: Re: gadgets Message-ID: <100920056@hpcvlx.HP.COM> Date: 22 Feb 89 01:40:08 GMT References: <675@rpi.edu> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 34 > Would some Xguru please outline a little of the design and > construction of gadgets? Nothing very detailed, just > an outline of implementation strategies? Unfortunately, our design and implementation is considered proprietary. > ...some kind of push-in-the-right-direction would be really nice. I think that you have at least two options. You can look at the stuff in the R3 Xt intrinsics that was left there for "gadget" handling, or you can decide what needs to be done and work with/around the Xt intrinsics to accomplish it. Your challenge will be to convince the intrinsics to play nicely with objects that don't have a window attached. I think that your key trade-off will be how much non-standard (or non-Xt-intrinsics) scaffolding you are willing to build and support. You might have to extend/bug-fix the Xt intrinsics to get the job done. To the degree that you are willing to tie a widget/gadget library to an instance of the Xt intrinsics library, you can get away with this. If you are a heavy-weight in the intrinsics specification group, you might even be able to get your changes/extensions accepted as a standard. > -Dave ----------------------------------------------------------------------- Benjamin Ellsworth | ben%hp-pcd@hp-sde.sde.hp.com | INTERNET Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!ben | UUCP 1000 N.E. Circle | (USA) (503) 750-4980 | FAX Corvallis, OR 97330 | (USA) (503) 757-2000 | VOICE ----------------------------------------------------------------------- All relevant disclaimers apply. -----------------------------------------------------------------------