HDTenEightyP/NetNews huggingface dataset:
From: kamemoto@spf.trw.com (Kenneth Kamemoto)
Subject: no resize on main window
Followup-To: comp.windows.x.motif
Summary:  want main window to not be resizeable
Organization: TRW Sensor Data Processing Center, Redondo Beach, CA
Distribution: usa
Date: Tue, 29 Sep 92 18:27:34 GMT


     I want to create a Main Window widget with a menu bar and a bulletin
board work area.  And I want to set it up such that the window is not
resizeable.  I tried setting the XmNallowShellResize resource to False
and the XmNnoResize resource to True on various widgets (the top level, the
main window, and the bulletin board), but the window is still resizeable!
Is there some other resource that I have to set, or some other widget that
I must set the resources on?

     In a similar vein, I tried creating a container widget inside a
top level shell and not allowing them to resize, and that worked.  It
just did not work for the Main Window combination.

     Thank you in advance.
-- 
Kenneth I. Kamemoto
kamemoto@spf.trw.com
From: dan@eye.com (Dan Loewus)
Newsgroups: comp.windows.x.motif
Subject: Scale
Date: 28 Sep 92 14:18:06 GMT
Organization: 3D/EYE, Inc.  Ithaca, NY


Could not find an answer in my faq but I have an old faq.  How can I
set the background of the bar part of the Scale widget to a different 
color then the slider's background color.  If I set the background color
of the Scale widget both parts inherit this color and I would like the
parts to have different colors.
-- 
"A typical half brick half wood New York house in a typical New York
 suburb with ginkgo trees scattered conservatively about."

 DL
From: argv@z-code.z-code.com (Dan Heller)
Newsgroups: comp.windows.x.motif
Subject: Re: Opinion of O'Reilly Guides to the X Window System
Date: 6 Oct 92 20:13:49 GMT
Reply-To: argv@z-code.z-code.com
Distribution: inet
Organization: The Internet

> On Oct  6,  2:07am, david holliday wrote:
> I saw the O'Reilly and Associates book, Volume 6: Motif Programming Manual
> at our bookstore the other day. The person who put the list together (Ken
> Lee) says there are mixed opinions on the book.

I will let the net folks answer this question, since it wouldn't be
appropriate for me to review my own book. :-) Nevertheless, I feel it
important to point out a major concern about Ken Lee's public "book
reviews."

Ken and I have known each other for years, and as far as I know, there
is no animosity between us.  However, I have one particular point of
contention with Kin concerning his extraordinary corporate loyalty to
DEC and its interference with his "objective bias" when it comes to book
reviews (or software).  My Motif book does not cover UIL, and I defend that
position in the Preface of the book.  DEC is a very strong proponent of UIL,
and Ken is one of the key people working on it at DEC's Palo Alto location.
As a result, Ken's "mixed review" of the book (and many other books and
articles) have not been favorable to my book.

I have found that most of Ken's comments on literary topics are not
entirely favorable unless they also heavily advocate UIL and other
policies DEC propones.  I do not feel that politically motivated reviews
are legitimate in the open environment of comp.windows.x.motif. I feel
that DEC is making very good strides in the area of multimedia X development
tools and other X Windows-related technology.  However, I do not feel that
UIL is the best development tool for Motif development, so I felt it
necessary to point this out in my book.

What bothers me the most is that he presents his opinions as totally
objective and authorotative, yet they are for the most part, unsubstantiated.
I have confronted Ken with this issue privately and publically over the
years and he has never ever responded.  Oddly enough, we talk publically
and privately about all other issues, both technical and non-technical, but
his review of my book (and all O'Reilly books) is a subject he refuses to
acknowledge in any way, shape or form.

For whatever it's worth, I wrote The Motif Programming Manual to benefit the
X windows community and to provide a guide for good programming concepts and
technical design issues.  I am (and always have been) extremely open to any
suggestions, comments, criticisms, or anything at all concerning my book.
I treat it as a public service -- like the internet.  So, if you or anyone
else has constructive comments about the book, feel free to email me.  I
have never turned away email. :-)

  --dan
Xref: sparky comp.windows.x.motif:6624 comp.windows.x:17484
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: comp.windows.x.motif,comp.windows.x
Subject: Re: How to make mouse button 2 act like mouse button 1
Date: 6 Oct 92 03:46:03 GMT
Organization: McGill Research Centre for Intelligent Machines

In article <1992Sep29.191926.9364@ERA.COM>, feit@ERA.COM (Mark Feit) writes:
> On comp.windows.x.motif, jxt@stc06.ctd.ornl.gov (TOLLIVER J S) posts:

>> Hi. I have a need to make mouse button 2 act identically to mouse
>> button 1 in a Motif application.

>> 1. Most importantly, how can I make MB2 function EXACTLY like MB1,
>>    to the user?
>> 4. How can this be fixed so that it works universally?
> Universally?  With translations?  Can't be done.

Thanks to the misdesign of the translations mechanism, yes.

The right way to do this would be to change the pointer mapping so that
physical button 1 and physical button 2 are both mapped to logical
button 1.

However, this is not possible.  The protocol spec for the
SetPointerMapping request says that

     A zero element disables a button.  Elements are not restricted in
     value by the number of physical buttons, but no two elements can
     have the same nonzero value (or a Value error results).

Does anyone know why the second restriction?  It makes no sense to me,
and in fact flies directly in the face of the oft-quoted "tools, not
rules" philosophy.

> I can think of three solutions, two software and one hardware:

> The best bet is to tweak your server so that anything that comes from
> button 2 gets reported as button 1.  [...]

> Second best [is a protocol filter]

> Third (and worst, IMHO) is a customized mouse [...]

I would argue for hacking on the server to remove the restriction that
elements of the pointer mapping list must all be distinct.  As far as I
can see it's a silly restriction with no point anyway, and doubt that
lifting it would break anything.  You will technically no longer be
using the X Window System Protocol, Version 11, but I wouldn't let that
bother you - after all, nobody else is either; no piece of software as
big as an X server is entirely bug-free :-)

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: rindress@ctron.com (Rindress MacDonald)
Newsgroups: comp.windows.x.motif
Subject: How do I get events on insensitive buttons?
Date: 29 Sep 92 19:40:43 GMT
Reply-To: rindress@ctron.com (Rindress MacDonald)
Organization: Cabletron Systems Inc



Hi,
  I have a couple question about Event handling and buttons and was hoping
someone could help me.  I have a button that it set insensitive.  How can I
be notified of events on that button?  For instance, say I want to put up
a message saying that button is currently unavailable.


Thanks in advance,

Rindress

P.S. Please respond via E-Mail.


------------------------------------------------------------------------------
                   Name: Rindress MacDonald
                 E-Mail: rindress@ctron.com
                Company: Intuitive Graphical Solutions 
        
    Disclaimer:  The opinions expressed here are that of IGS (me) and not of
                 Cabletron Systems.
------------------------------------------------------------------------------
From: 6500msd@ucsbuxa.ucsb.edu (Michael D'Errico)
Newsgroups: comp.windows.x.motif
Subject: Re: Enter/LeaveNotify Events on DrawingAreas
Date: 4 Oct 92 04:01:53 GMT

In article <1992Oct1.194716.12733@ERA.COM> feit@ERA.COM (Mark Feit) writes:


>Is there a relatively easy way to get Enter/LeaveNotify events on a
>DrawingArea (Version 1.1.5)?  I've tried using

> [stuff deleted]

Yes. I set up an event handler:

  XtAddEventHandler(drawArea,EnterWindowMask|LeaveWindowMask,False,
                      eventHandler,NULL);

and then process the events using:

  void EventHandler(w,client_data,event)
    Widget w;
    XtPointer client_data;
    XEvent *event;
    {
    switch (event->type)  {
      case EnterNotify: do_enter_stuff(); break;
      case LeaveNotify: do_leave_stuff(); break;
      }
    }


Michael D'Errico
Newsgroups: comp.windows.x.motif
From: mec@texhrc.uucp (Michael Chase)
Subject: Re: TeleUSE vs. BuilderXcessory: Need evaluations and opinions
Followup-To: mec@Texaco.COM 
Summary: Our vote is UIM/X
Keywords: GUIbuilders,benchtests
Organization: Texaco EPTD/Computer Technology
Date: Tue, 6 Oct 1992 18:37:58 GMT
Expires: Mon, 4 Jan 1993 18:37:59 GMT

We thought about TeleUSE, BuilderXcessory2.5, OpenInterface, Galaxy,
and UIM/X. Our criteria were cost, ease of use, support for 3rd
Party widgets, high level graphics library integration. We chose
UIM/X for now with the understanding we could get something else in
1 1/2 to 2 years from now.

Galaxy and OpenInterface would win hands down if we had access to
use the ARC/View enhancements for display of scientific data ...
because applications could be written to display in X Windows System,
MacOS, MSWindows, and DOS.  I understand ESRI would not allow license
of the API enhancements to OpenInterface code for multiple platform
applications. (Perhaps if enough people request it?)
-- 
Michael Chase    _    Texaco Exploration & Producing; Computer Technology.
mec@Texaco.COM _| ~-, It's a live fish that swims against the current.
p:713-954-6225 \,  *} These are my opinions, not TEXACO's;Ps.103:1-3.
f:713-954-6911   \(   USMail:Texaco Inc.,PO Box 770070,Houston,TX 77215
From: reha@cunixf.cc.columbia.edu (Reha Elci)
Newsgroups: comp.windows.x.motif
Subject: Re: Motif-for-Sun4: Which product is best?
Date: 27 Sep 92 20:30:01 GMT
Reply-To: reha@cunixf.cc.columbia.edu (Reha Elci)
Organization: Columbia University

In article <Bv95ut.43x@acsu.buffalo.edu> okeefe@cs.Buffalo.EDU (Paul O'Keefe) writes:
>
>
>I want a Motif development environment for a Sun4.
>Since the cost and restrictions of an OSF source license
>are not right for me, I'm looking at binary-only
>products from ISC, Quest, IXI, TeleSoft et al.
>

Well, although they will always be a one version behind, DEC's motif 1.1.3
for Sun Sparcstations are the best quality motif around by far. They have
excellent documentations (online and hardcopy), lots of good value added
widgets with bug fixes and proper motif behaviour. We "purify" our code
and this is the motif with the least amount of memory problems, leaks etc.
It also comes with telesupport (12x5 or more) which is great. Cost is
<$200 (don't know figure) with 2 year free upgrades. The reason they are behind
is the time they take to incorporate the value added widgets + fix tons of
OSF bugs.

Reha Elci
Email: elci@bugs.gs.com
Newsgroups: comp.windows.x.motif,comp.windows.x
From: achan@idaho.tdd.sj.nec.com (Amy Chan)
Subject: Re: Problems using translations :(
Organization: NEC-AM TDD, San Jose, California
Date: Wed, 30 Sep 1992 17:19:50 GMT

In article <1992Sep29.185408.654@vlsi.polymtl.ca> frite@vlsi.polymtl.ca (Michel Besner)) writes:
>
>	Hi there !
>
>
>	I'm trying to receive events while keeping the shift+left button
>down. I want to continue receiving those events while I'm moving the
>mouse around (with the shift+left button still down ...).
>
>	So far I've tried using :
>
>	Shift<Btn1Down>,<Btn1Motion> -> I get the first event but nothing
>after ....
>
>	Shift<Btn1Motion> doesn't seem to work -> I get a code dumped
>in BindActions :(

"Shift<Btn1Down>,<Btn1Motion>" will only give you the first event because
<Btn1Down> event only occurred once.

You can try using:

    Shift<Btn1Motion>


Amy
--
Amy Chan                 | E-Mail:
NEC America              |  INET: achan@tdd.sj.nec.com
110 Rio Robles           |  UUCP: ...{decwrl,oliveb}!necsun!achan
San Jose, CA 95134       |
From: al@osf.org (Alastair Gourlay)
Newsgroups: comp.windows.x.motif
Subject: Re: Motif traps every key in sight!!! Help!!
Date: 28 Sep 92 17:32:40 GMT
Distribution: inet
Organization: The Internet


> The incredibly busy-body motif traps every available key!! As described in
> VirtualBindings section of the reference manual, motif takes upon itself to
> trap Insert binding it to osfInsert etc. So any key action or event handler
> put on the text widget is useless. How can I get rid of these VirtualBindings?

Motif supports a virtual bindings mechanism for standard GUI functions.
A user can tailor the bindings to their personal preference, or to
their keyboard hardware.

If you are a user who wishes to augment your text widget translations, but
the new translations clash with a virtual key, then the solution is to
change the virtual key binding from Insert to something else. Bear in mind
that all text widget functions bound to the osfInsert key will no longer
work on insert. Does your use of the Insert key replace these functions ?

In 1.1, either add "*defaultVirtualBindings: ..." to your resource file, or
create a .motifbind file in your home directory. In 1.2, you have a more
sophisticated system which allows you to set bindings for different hardware
types in the file xmbind.alias.  In either version, see the documentation
in the VirtualBindings man page.


If you are an application programmer, then you cannot remove the user's virtual
bindings, or make assumptions about them. All you can do is ensure that any
widget-specific key bindings you provide are customizable to some degree.
This will allow a user to resolve any conflicts between your application
bindings and their virtual bindings.

Ideally, you will be able to express your application bindings in terms of the
OSF virtual keys getting the user-customization for free, though I realize
this will not always be possible.

If your use of key bindings falls outside of these cases, feel free to
send some additional information.


	Alastair Gourlay.
From: sja@world.std.com (Stuart J Adams)
Newsgroups: comp.windows.x.motif
Subject: WANTED: Used copy of Motif for Sun 3/60
Date: 6 Oct 92 20:39:30 GMT
Article-I.D.: world.Bvpw1u.EwB
Organization: The World Public Access UNIX, Brookline, MA

Anyone have an old copy of Motif for the Sun 3 that they
would like to get rid of ????

Thanks,
Stuart Adams
sja@world.std.com
From: vamsee@abgen.tamu.edu (Vamsee Lakamsani)
Newsgroups: comp.windows.x.motif
Subject: pixmap editor
Date: 29 Sep 92 18:10:28 GMT
Article-I.D.: tamsun.1992Sep29.181028.11745
Organization: Center for Macromolecular Design, Texas A&M University.



I would like to create colorful logos and display them into my interface.
The "bitmap" utility is handy for b&w logos but is there a "pixmap"(or 
something similar) utility that lets me create and edit color symbols.
Is it possible to include color symbols into a motif program using the
"XmGetPixmap" function ?

Thanks
vamsee
From: JJHildebrand@DOCKMASTER.NCSC.MIL
Newsgroups: comp.windows.x.motif
Subject: Re: Handling icons in Motif
Date: 1 Oct 92 17:19:00 GMT
Distribution: inet
Organization: The Internet

Try using a toggle button.  You can set the pixmap resource of
the button (with a little difficulty, or a lot, depending on how you go
about it), and the text that explains the icon is right there next to
it.  If you want some example code, mail me, and I might be able to dig
some up.
From: cs000hf@selway.umt.edu (Hong Fan)
Newsgroups: comp.windows.x.motif
Subject: Put X client into the motif application
Date: 29 Sep 92 15:22:53 GMT
Article-I.D.: selway.1992Sep29.152253.17085
Organization: University of Montana

Hi, everybody:

I have two question about motif, maybe you could help:

 o How to put X client like xclock into the motif widget hierarchy, 
   Is it possible?
 o When I call the XResizeWidget(), how many event are going to happen? 
   How does the event queue looks like?

If you think you could spend some times on it, please help me at
cs000hf@selway.umt.edu. Thank you in advance.
Newsgroups: comp.windows.x.motif
From: stefans@bauv106.bauv.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: xmkmf for HP 700's
Keywords: wanted, xmkmf
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Sat, 26 Sep 1992 12:18:08 GMT

eg04@harvey.gte.com (Ed Gallant) writes:

>Does anyone know where I can get 'xmkmf' for an HP 700 series??

I can't believe it. HP ships workstations designed for X-environments
anf forgets things like xmkmf.
Well, xmkmf is very simple and if the rest of the imake-stuff is
there, just create xmkmf as follows:

#!/bin/sh
if [ -f Makefile ]; then 
    echo mv Makefile Makefile.bak
    mv Makefile Makefile.bak
fi

args="-DUseInstalled -I/usr/lib/X11/config"

echo imake $args
imake $args

Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
From: morgan@dl5000.bc.edu (Morgan Stair)
Newsgroups: comp.windows.x.motif
Subject: Motif unformatted man pages
Date: 6 Oct 92 20:27:31 GMT
Distribution: usa
Organization: Institute for Space Research, Boston College


    We recently purchased Motif 1.1.4 from ICS and found that the man
pages were preformatted.  ICS said OSF considers the unformatted man
pages as source code, and that they are as such unavailable from VARs.

    Do I need to purchase all the sources for Motif just to get the
man pages online???  Someone please tell me how to get this stuff, or
if I can't.
--
***************************************
* Morgan Stair <Morgan@DL5000.BC.EDU> *
* BC / Institute for Space Research   *
* (617)552-8783                       *
***************************************
Newsgroups: comp.windows.x.motif
From: devin@frodo.Colorado.EDU (Sonja Orlavski)
Subject: Re: OSF/Motif 1.2 Questions
Organization: University of Colorado, Boulder
X-Newsreader: Tin 1.1 PL5
Date: Wed, 30 Sep 1992 22:39:55 GMT

Jonathan Neher (jneher@darkwing.uoregon.edu) wrote:
: Does anyone have experience
: building OSF/Motif 1.2 on a Sun platform?

It built pretty much efforlessly for me.

			-Devin

--
Devin Hooker (RP90)  (SotM 7/91)  DoD #0034  devin@boulder.colorado.edu  ------
"It's being both that's a bitch."                                      --\--- /
"I wanted to take my brain to hell and back and see what I had left."  \  \ //
"This howling in the distance, it's a captivating sound.                \  \/
        Can't tell if it's ecstasy or pain..."  -DW                      \/
Xref: sparky comp.windows.x.motif:6504 comp.windows.open-look:3969 comp.windows.x:17245
From: ken@comanche.sbi.COM (Ken Jones)
Newsgroups: comp.windows.x.motif,comp.windows.open-look,comp.windows.x
Subject: Free Table & Graph Widgets
Keywords: Motif,Table,Graph,Widgets
Date: 29 Sep 92 14:30:23 GMT
Organization: Salomon Brothers Arbitrage Support, NY,NY

Greetings netters,

Expert Database Systems has just completed beta testing of a real-time
Table widget and Line Plot widget (3D surface graph still in beta test).

We are offering these widgets free to educational institutions for a 
limited time. They are feature rich and tested in production environments.

If your organization is interested, please reply via e-mail.

-- 
+-----------------------------------------------------------------------+
|   Ken Jones                                                           |
|   Expert Database Systems, Inc.                                       |
|   ken@mr_magoo.sbi.com              "Where the future begins tomorrow |
+-----------------------------------------------------------------------+
From: mokros@chekov.UU.NET (Ivo Mokros)
Newsgroups: comp.windows.x.motif
Subject: Re: Easy MWM question
Date: 6 Oct 92 00:32:22 GMT
Organization: Nothern Telecom, Ottawa, Canada

In article <1992Oct5.150930.13997@murdoch.acc.Virginia.EDU> rad2r@uvacs.cs.Virginia.EDU (Robert DeLine) writes:
>
>With WMW, is it possible to get one xterm (namely the Console xterm)
>to have a different icon than other xterms?  Seems simple enough, but
>has stumped even our local system admistrators.
>
>Thanks for whatever help you can provide.
>
>Rob DeLine
>Computer Science, University of Virginia
>deline@Virginia.EDU

When starting your console, use the -name option, and then set the icon
in your .Xdefaults. ie 

Mwm*CNSL.iconImage: <bitmap>
<restart mwm>
xterm -C -name CNSL &


 Northern Telecom Canada
                   /|
+---+  ---       /  |
|   | /   \    /    +---+
|   |/     \ /          |   Ivo Mokros
|   +---+   +---+   +---+   mokros@bnr.ca
|   |   |   |   |   |
|   |   |   |   |   |       The opinions expressed are either
|   |   |   +---+   +---+   my own, or those of Northern Telecom.
|   |   \      /|      /    I'm not sure which.
+---+    \____/  \____/
Newsgroups: comp.windows.x.motif
From: drand@spinner.osf.org (Douglas S. Rand)
Subject: Re: Question on altering Motif menu behavior
Organization: Open Software Foundation
Distribution: na
Date: 6 Oct 92 17:49:37

In article <10059201@max.u.washington.edu> pk5685@max.u.washington.edu (Veronica Li) writes:

   Is there a way to modify Motif menu behavior such that it behaves like 
   an Openwindows menu with a pushpin in?  Specifically, can you have the

   following behavior:

   1)  Bring up a popup menu with a mouse button press.
   2)  Release the mouse button and have the menu stay up.
   3)  Make selections off of the menu and have the menu stay up.

   Can this be done without essentially creating a new widget? 

In 1.2 you can use a tearoff menu.  

--

----------------------------------------------------------------------
Douglas S. Rand <drand@osf.org>		OSF/Motif Dev.
Snail:         11 Cambridge Center,  Cambridge,  MA  02142
Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
Amateur Radio: KC1KJ
----------------------------------------------------------------------