🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #156

Using WidgetKit

#156
From: Tom Z.-Y. Zhou
Date: Mon, 03 Aug 1992 20:30
20 lines
1259 bytes
I created a bunch of push buttons in my program using
WidgetKit::push_button(). But these button are way too long (or wide, if
you like) for my purpose. So my question is: can I customize the size of
a push button?

Apparently WidgetKit, when called, creates an instance of one of its two
concrete sub-classes: MFKit and SMFKit. My guess is that SMFKit
is used in my case, since SMFKit::push_button_look()  sets the button width
to no less than 72. I wonder how SMFKit was chosen over the other. I
couldn't find any "define *motif_kit" in the InterViews source. And
adding "#define motif_kit; #undef sgi_motif_kit" in my code has no
effect. Weird. So the more general question is: can one have some degree
of control over WidgetKit, or is it simply a "Take it or leave it"
situation?

-Tom
-- 
dfasajdkgsda
dskfuiksdahf      dskufhksDFLSdf
dsFUISDAFH     DSFJUKSdfk dsKFJKsdf
Technical Details
Message-ID: <1992Aug3.203018.20678@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!zhou

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!zhou
From: zhou@m.cs.uiuc.edu (Tom Z.-Y. Zhou)
Newsgroups: comp.windows.interviews
Subject: Using WidgetKit
Message-ID: <1992Aug3.203018.20678@m.cs.uiuc.edu>
Date: 3 Aug 92 20:30:18 GMT
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
Lines: 20