🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #526

Re: WidgetKit adjuster operations

#526
From: Denis Bohm
Date: Sat, 22 Aug 1992 19:48
27 lines
1456 bytes
In article <orsq3gg@fido.asd.sgi.com> linton@marktwain.rad.sgi.com (Mark Linton) writes:
>In article <1992Aug20.120731.22846@tom.rz.uni-passau.de>, ringel@forwiss.uni-passau.de (Joerg Ringel) writes:
>|> 
>|> Why do you write
>|> 
>|>     virtual Glyph* vslider(Adjustable*) const;
>|>     ....   ?
>|> 
>|> I think it is more useful if you write:
>|> 
>|>     virtual Slider* vslider(Adjustable*) const;
>|> 
>|> 
>|> Is there a reason for it ?
>
>WidgetKit::vslider doesn't typically return a slider directly; there is normally
>a frame or other decoration around it.  Why do you want to do to the slider
>that requires access to it?

I also wanted something like the above.  In my case I want to dynamically
change the adjustable that the slider is associated with.  So I would
like:

  virtual YSlider* vslider(Adjustable*) const;
  virtual void YSlider::associate(Adjustable*);
-- 
Denis Bohm (denis@redwood.com -or- denisb@leland.stanford.edu)
Technical Details
Message-ID: <1992Aug22.194831.15870@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!denisb
References: <1992Aug20.120731.22846@tom.rz.uni-passau.de> <orsq3gg@fido.asd.sgi.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!denisb
From: denisb@leland.Stanford.EDU (Denis Bohm)
Subject: Re: WidgetKit adjuster operations
Message-ID: <1992Aug22.194831.15870@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Organization: DSG, Stanford University, CA 94305, USA
References: <1992Aug20.120731.22846@tom.rz.uni-passau.de> <orsq3gg@fido.asd.sgi.com>
Date: Sat, 22 Aug 92 19:48:31 GMT
Lines: 27