HDTenEightyP/NetNews huggingface dataset:
From: andersen@liswsd.llnl.gov
Newsgroups: comp.windows.x.motif
Subject: XmFileSelectionBox -- filename scrolled list is empty
Date: 8 Apr 92 01:06:47 GMT
Organization: LLNL_LIS

Hardware:	HP/Apollo Workstation 9000/375
Software:	HP-UX 7.0 B
		Motif1.1
		X11R4
		UIMX

Widget:		XmFileSelectionBox
Symptom:	The widget gets into a state in which it will no longer 
		generate a list of files in the rightmost list widget
                                                                      
I'm having a problem with an XmFileSelectionBox.  The symptom is that after
it ages, it forgets how to bring up a menu of files.  By "forgets", I mean that
no matter what file filter I use, I cannot produce a list of files from which
to choose in the rightmost scrolled list widget inside the dialog.

I initially saw this after I started fooling with the the directory mask from
within my program during run time; I stopped doing this, and I am still seeing 
this symptom.  Then I thought it was a function of pressing the "Filter" 
button; I'm not positive, but I think it still sometimes happens when I have 
not yet pressed "Filter".

I can still use the widget by typing a valid filename into the text window
at the bottom and pressing "OK", but once it gets into this state, no amount
of my ingenuity can make it provide a list of files matching the filter in
the topmost text window.

If anybody has any ideas, I'm way open for suggestions. Please E-mail them to
andersen3@llnl.gov 

Many thanks in advance.
-- Roger Andersen - LLNL

Newsgroups: comp.windows.x.motif
From: cjl@ccd.harris.com (Craig Lipinski)
Subject: Help me please! 
Organization: Advanced Technology Department, Harris Corporation
Date: Mon, 13 Apr 1992 13:35:33 GMT

I need to find out in my motif application if my shell is
iconified or not. I tried looking at the XmNiconic resource, and
it is always False, even when my application shell is iconified.

Can someone please tell me how to check for this???

-Craig
cjl@ccd.harrs.com
From: aw@BAE.BELLCORE.COM (Andrew Wason)
Newsgroups: comp.windows.x.motif
Subject: Re: Input Focus Question
Date: 8 Apr 92 13:53:24 GMT
Distribution: inet
Organization: The Internet

adolce@bbn.com (Anne Dolce)  writes:
> 
>    I have a bunch of dialog boxes in which I need to tell
>    which widget had the input focus prior to when the user
>    has activated a particular push button.  Is there any 
>    to figure this out?  This would be easy to do if I had
>    all text widgets since I could keep track of who has 
>    the input focus using the focusCallback resource.  I 
>    assume there's no way of adding a focusCallback to other
>    widget types (like a push button). Thanks for any assistance.

If your widgets are managed by a subclass of XmBulletinBoard,
then you could use it's XmNfocusCallback.  It will be called
whenever the BulletinBoard or one of it's descendants accepts the
focus.

You could also try using the undocumented VendorShell
XmNfocusMovedCallback (if you have source, see VendorE.c and
Traversal.c)

Andrew

_______________________________________________________________________________

Andrew Wason                                       Bell Communications Research
aw@bae.bellcore.com                                Piscataway, NJ
bellcore!bae!aw
Newsgroups: comp.windows.x.motif,comp.windows.x
From: shankar@rss.dl.nec.com (Uday Shankar)
Subject: Re: How to get mouse x,y location???
Organization: NEC America
Date: Thu, 9 Apr 1992 12:58:27 GMT


> Does anyone know how to query the X-server for the current x,y coordinates
> of the mouse pointer?

Use XQueryPointer.

Uday
______________________________________________________________
Uday Shankar                 uday.shankar@rss.dl.nec.com
NEC - Supervisory Systems    (214) 907-4494
______________________________________________________________
"go flying, put a spin on life"
From: dbl@visual.COM (David B. Lewis)
Newsgroups: comp.windows.x.motif
Subject: Re: REPOST: Looking for site/source to get Motif Virtual WM
Date: 8 Apr 92 12:45:02 GMT
Distribution: inet
Organization: Mercenary Software, Programmer of Fortune Division

|> I posted a similar request earlier but have not gotten any replies. So

I have tried twice; mail to you bounces.
|
|> I've heard that there exists a version of virtual window manager for
|> Motif (most recently in the latest X FAQ). I am very interested in

It is now being maintained by suresh@unipalm.co.uk.

-- 
David B. Lewis		Temporarily at but not speaking for Visual, Inc.
day: dbl@visual.com	evening: david%craft@uunet.uu.net
Newsgroups: comp.windows.x.motif
From: stefans@bauv106.informatik.unibw-muenchen.de (Stefan Schwarz)
Subject: Re: table/spread sheet widget
Organization: Universitaet der Bundeswehr Muenchen (Germany)
Date: Fri, 10 Apr 1992 10:04:25 GMT

zhaocuie@iscs.nus.sg writes:

>anybody has or know where to get a table/spread sheet like widget?
>i need it urgently...
>any help or helpful info is very much appreciated.

There was a posting to comp.sources.x called XbaeMatrix (Author is
Andrew Wason at aw@bae.bellcore.com) with such a functionality.

Stefan
-- 
________________________________________________________________________________
Stefan Schwarz                            University of the armed forces, Munich
Laboratory for graphical data processing  W-8014 Neubiberg, FRG
--------------------------------------------------------------------------------
From: stephen@sdg.dra.com
Newsgroups: comp.windows.x.motif
Subject: Help! Can't get XmSelectionBox in window of its own.
Date: 13 Apr 92 16:08:52 CDT
Organization: Data Research Associates, St. Louis MO

Here's the situation.

I've fetched a widget hierarchy from my .uid file and currently have it
displayed in my main window. When the user performs a specific action I
want to fetch a XmSelectionBox widget to be displayed in a SEPARATE window.
What ends up hapenning is that the XmSelectionBox gets fetched and realized
overwriting the widgets already in my main (not what I want) window just fine,
but I want the XmSelectionBox in a separate window. Any useful input would be
greatly appreciated.

			Thanx in advance.
			SWW.

Currently what I'm trying is:

In the UIL I have the following:
.
.
.
object try_level_one_list : XmSelectionBox
{
    arguments
    {
	XmNdialogStyle = XmDIALOG_MODELESS;
	XmNdialogType = XmDIALOG_SELECTION;
	XmNlistLabelString = compound_string ("Authority Headings");
	XmNselectionLabelString =
		compound_string ("Enter the number of your selection here:");
	XmNlistVisibleItemCount = 10;
    };

    callbacks
    {
	XmNcancelCallback = procedure tryLevelOneSelectCancelled ();
	XmNokCallback = procedure tryLevelOneSelectMade ();
	XmNhelpCallback = procedure tryLevelOneSelectHelp ();
    };
};
.
.
.

end module;
/*** End of UIL code ***/

In my program I have:
.
.
.
/*
** routine that SHOULD display a XmSelectionBox in a SEPARATE window.
*/
static void tryShowResults ()
{
    Cardinal	MrmStatus;
    MrmType	*local_class;
    

    if ( MrmSUCCESS != (MrmStatus = MrmFetchWidget (s_MrmHierarchy,
						    "try_level_one_list",
						    toplevel_widget,
						    &try_level_one_list,
						    &local_class)) )
    {	/*
	**  Error occurred fetching list widget.
	*/
	printf ("Can't fetch level one list.\n");
	exit (0);
    }

    XtManageChild (try_level_one_list);
}
.
.
.
From: shahs@iis.UUCP
Newsgroups: comp.windows.x.motif
Subject: Examples Motif
Date: 16 Apr 92 00:29:53 GMT
Distribution: inet
Organization: The Internet


Is there any archive site export.lcs.mit.edu where i can find
a file with all examples from Motif Programmer Vol 6 by O'Reilly Asso.?

Shailesh
From: nazgul@alfalfa.com (Kee Hinckley)
Newsgroups: comp.windows.x.motif
Subject: Re: How to make a top level shell disappear without destroying it?
Date: 15 Apr 92 13:01:59 GMT
Distribution: inet
Organization: The Internet

> The title says it. I create a number of top level shells each managing a
> main window. I want the user to be able to get rid of a main window
> without destroying it so that he can bring it up again later. How can
> I do that?

Unmap the toplevel shell.  From an interface standpoint you might also want
to catch the Close window menu item and cause that to unmap the window as
well.

Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/646-7703 (voice/fax)        |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
From: erck03@castle.ed.ac.uk (John Wexler)
Newsgroups: comp.windows.x.motif
Subject: ScrolledList in a MainWindow
Date: 7 Apr 92 10:06:56 GMT
Organization: Edinburgh University Computing Service


If I want the effect of a scrolled list as the work region of a MainWindow, I have two choices:

1) Use a MainWindow, create two ScrollBars and a List as its children, and nominate them as the last three parameters to XmMainWindowSetAreas. Since MainWindow is a descendant class of ScrolledWindow, the MainWindow inherits the ability to provide the scrolling service for the list. (This works. I've tried it.)

2) Use a MainWindow, with no ScrollBars of its own, and give it a ScrolledList as its work region.  This also works.

(1) and (2) produce identical user interfaces.  (1) seems to me simpler than (2). Nevertheless, (2) seems to be the recommended way to do it.  Can anybody explain why?

    John Wexler, Edinburgh University Computing Service
    J.Wexler@ed.ac.uk or erck03@castle.ed.ac.uk
    +44 31 650 5009, fax +44 31 662 4712
Newsgroups: comp.windows.x.motif
From: smithc@chainsaw.ecn.purdue.edu (Curtis Smith)
Subject: Problem with menus in Root window
Organization: Purdue University Engineering Computer Network
Date: Wed, 8 Apr 1992 12:58:29 GMT

I'm having a problem with the menus in the Root window.

The system I'm using is Interactive UNIX system 5 release 4, installing
the GUI from the tape and then the seperate motif diskettes.  The system
comes up okay, and the motif windows manager starts without complaint.

However, when I bring up the root window's menu using the right mouse
button, none of the selections will highlight, or for that matter, select
and execute.  I've looked at all the options to Motif.  I've removed all
my usual startup functions leave just the defaults and it still won't
function properly.

It's most likely the smallest detail I've overlooked but I exhasted with
trying to fix it.  Since everything else seems to work, I can work without
it for now.  Does anyone have an idea what's wrong?

-- Curtis
From: pannon@bcsfse.boeing.com (Joe Pannon)
Newsgroups: comp.windows.x.motif
Subject: Paned Windows Sash Color
Date: 7 Apr 92 00:14:28 GMT
Organization: Boeing Computer Services, Bellevue, WA

I can't find the color resource that controls the paned window sash button color.  There is a resource for all aspects of its geometry, but not its color.  Can anybody help me with this?

Thanks,
Joe Pannon
Newsgroups: comp.windows.x.motif
From: deal@tempus.Kodak.Com (Stephen M. Deal)
Subject: pointer cursor to indicate Working  
Keywords: pointer, cursor, wristwatch, hourglass
Reply-To: deal@Kodak.COM
Organization: Eastman Kodak Company
Distribution: na
Date: Thu, 9 Apr 92 16:09:18 GMT


I would like to use a visual indicator (e.g. wristwatch, hourglass) to indicate
that my callback is busy working. I have searched a number of reference books
(including Motif-FAQ) and cannot find a description of how to implement this
simple (yet very useful) feature.

I would want the wristwatch to appear only when the pointer cursor enters my
application and my application is busy.  Is there a name for this type of
behavior? 

I would appreciate it if someone could point me in the right direction
or send me a reference to code that performs this function.

Thanks in advance,
  ======================================================================
  | Steve Deal	 	| Internet: deal@Kodak.COM		       |
  | Eastman Kodak Co.	| UUCP:     ...rutgers!rit!kodak!tempus!deal   |
  | Engr. Systems Div.	| Voice:    (716) 726 - 5396		       |
  | mailcode: 35108	| FAX:	    (716) 726 - 7406	               |
  | 901 Elmgrove Road	| 					       |
  | Rochester, NY	| 					       |
  | 	   14653-5108   |					       |
  ======================================================================
    Disclaimer:	"Everyone is entitled to an opinion, 
		 the above is mine and not that of my employer."
Xref: sparky comp.windows.x.motif:3157 comp.windows.open-look:2170
From: dks@cbnewsf.cb.att.com (douglas.k.steckel)
Newsgroups: comp.windows.x.motif,comp.windows.open-look
Subject: X capture, record, playback tools.
Date: 10 Apr 92 19:25:39 GMT
Organization: AT&T

Netters:

I am looking for a list of tools for the capture of X events and graphics
for regression testing.

To date, we have not been impressed with the quality of the tools we've 
looked at, and are hoping to do further evaluation based on reccomendations
from you fine folks.

I any of you have experience with these tools, good or bad, please 
let me know what you think of them.

Thanks in advance...

--------------------------------------------------------------------------
Doug Steckel					dks@alux5.att.com
AT&T Bell Laboratories				(215) 770-2269
Allentown, PA
Newsgroups: comp.windows.x.motif
From: amc@WLV.IMSD.CONTEL.COM (Allen M. Cohen)
Subject: Re: Accesing default action routines without invoking event
Organization: Contel Federal Systems
Distribution: inet
Date: Thu, 16 Apr 92 22:37:31 GMT

In article <9204161312.AA14773@postman.osf.org> dbrooks@osf.org writes:
>You wrote:
>> How do you access the default action routines without invoking some translated
>> event?  For example, <BtnPress> on Pushbuttons is tied to the action routine
>> Arm(), and <BtnRelease> is tied to Activate() and Disarm().  Can I call Arm(),
>> Activate(), or Disarm() without doing an actual <BtnPress> or <BtnRelease>?
>
>If you really can't use translations or accelerators, use XtCallActionProc. 
>For example,
>
>	XtCallActionProc(ButtonWidget, "ArmAndActivate", eventp, NULL, 0);
>
>is a way to flash the button and call its activate callbacks.  Always provide a
>non-null event pointer, even if you have to cons up a fake event.

See the blue book page 937.

<> Allen M. Cohen                  Internet:  amc@wlv.imsd.contel.com       <>
<> 1853 Stonesgate St.             UUCP:      elroy.Jpl.Nasa.Gov!agi0!allen <>
<> Westlake Village, Ca. 91361     Telephone: (805) 498-9611 ext. 195       <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
From: sdhouse@bnr.ca (Stephen D. House)
Newsgroups: comp.windows.x.motif
Subject: Re: How to learn motif
Date: 14 Apr 92 11:49:57 GMT
Organization: Bell-Northern Research Ltd.

>I'm looking for some good introductory documentation
>on how to get started programming with motif... Any
>ideas?
>
>-dan cook
>dan@home.berkeley.edu

There is a great new book put out by the Digital Press that is perfect
for beginners to Motif Programming.  I can't remember the title, but it
is written by Marshall Brain.

Stephen
From: swalker@BBN.COM (Susan Walker)
Newsgroups: comp.windows.x.motif
Subject: Multi-language application questions
Date: 8 Apr 1992 20:21:31 GMT
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Reply-To: swalker@BBN.COM (Susan Walker)
NNTP-Posting-Host: bbn.com

I am in the process of modifying an existing application so the text
strings can be translated into German and French. The application uses UIL
for it's dialog boxes.  It currently has all text string resources
directly embedded throughout the UIL code.  I am looking for solutions
which will affect little if any of my C code.  Can any one help me out on
these questions?

1) Are there any guidelines about keyboard accelerators and keyboard
   mnemonics for languages other than English?  Do I use the same English
   characters even though they may not make sense in another language?


2) I can think of 2 ways to extract the text from the UIL code.  Is there any
   advantage of one way over another? 

   method #1 - 
        File 1:  frenchstuff.msg which contains

      		       value
         		   FOO:  "This is a sentence.";

        File 2:  mybox.uil which contains

      		       module mybox
         		   include file "frenchstuff.msg"
	    	       object  
	       		   mytitle: XmLabel
	          	   {
                               arguments
		               {
			       XmNlabelString = FOO;
			       .
	     		       .

   method # 2 -
        File 1:  frenchstuff.msg which contains

      		       value
         		   FOO: exported compounded_string("This is a sentence.");

        File 2:  mybox.uil which contains

      		       module mybox
            
	               value FOO: imported compound_string;
            	       object  
	       		   mytitle: XmLabel
	          	   {
                               arguments
		               {
			       XmNlabelString = FOO;
			       .
			       .

3a) Ideally I would like to have multiple languages available with minimal
    duplication of files.  Is it possible to have 1 set of UIL files for
    my dialog boxes and multiple sets of UIL files (1 set per language)
    for the text strings and have the correct text strings loaded at
    runtime?  I know about using $LANG, but how do I compile the UIL files
    so that I have 1 set of language independent UID files?

3b) I would rather not have to use lots of MrMFetchliteral calls all over
    the place.  Is this the only way?


Any other related advice is greatly appreciated!

- Susan
From: sullivan@.uucp (Jim Sullivan)
Newsgroups: comp.windows.x.motif
Subject: Robust Tree Widget For Motif/X ??
Date: 15 Apr 92 04:13:01 GMT
Organization: Project Canada

Net Gods -

Can anyone recommend a good Tree Widget available for Motif or X, either from
a third party, or via ftp?  I need a great deal of flexibility in my display
formats, as well as mouse-click sensitivity for expansion/contraction of
branches.  Please E-mail responses directly to me, and I will post a summary.

Thanks in advance,

--------------------------------------------------------------------------------
Jim Sullivan				|  Email:  sullivan@thegang@uu.psi.com
Creative Software Solutions		|
155 Adams Ave				|	<This space for rent>
Newton, MA  02165			|
(617) 527-8674				|
--------------------------------------------------------------------------------
Newsgroups: comp.windows.x.motif
From: vasan@uhunix.uhcc.Hawaii.Edu (T. R. Srinivasan)
Subject: Re: Non-echoing text widget for password entry
Organization: University of Hawaii
Date: Fri, 10 Apr 1992 23:12:44 GMT

In article <1992Apr9.180843.1605@lsl.co.uk> snail@lsl.co.uk writes:
>In article <david.702575486@colt.cc.iastate.edu>, david@iastate.edu (David M. Martin Jr.) writes:
>> I would like to use a Text widget to acquire a password from the user.
>> The cursor should be visible and move as the password is being typed,
>> but the characters should of course not appear.  (Equating the
>> foreground and background colors seems to make the cursor vanish.)
>
>OK we did what you did.. I still haven't been bothered to fuss about it. But
>what you need to do is this.
>
	.... deleted.....
>
>===== Yes, it's meant to be a snail, I speak only for myself and my snail =====
>===== not for Laser Scan.                                                 =====
>                                                              *      *
>Stephen Kellett                                _______         \    /
>Software Engineer                            --   ___ --        \  /  
>Laser Scan Ltd                              (    _   __ )      ======
>Science Park                               (    (  |   ) )    =      =
>Milton Road                                (     (_)    ))   =  *  *  =
>Cambridge CB4 4FS                           (           )  ==   .  .  =
>England                                      --       --===      ..  =
>snail@lsl.co.uk                              ==_______             ==
>(+44) 223 420414 ex 275              ========                  ====   
>                          ===========                      ====      [ ]BEER
>                       ====================================          | |CIDER
>-------------------------------------------------------------------------------

	An example for this situation is given in Motif Programming Manual (Vol Six).
It is in chapter 15 (program name 'passwd.c'). You can have a look at that example.
If you need I can send that program to you.

srini
vasan@uhunix.uhcc.hawaii.edu
+-------------------------------------------------------------------+
| T.R.Srinivasan   | 808-942-0377 |  With, Without                  |
| 1936, Wilder Av.,|        (Res) |  who'll deny                    |
| #101, Honolulu,  | 808-956-3497 |  it is what the fighting is     |
| HI - 96822       |        (off) |                  all about  (PF)|
+-------------------------------------------------------------------+
From: vedati@watoga.cerc.wvu.wvnet.edu (Krishna Vedati)
Newsgroups: comp.windows.x.motif
Subject: HELP with SIZE OF LIST widget
Keywords: listWidget motif BX
Date: 11 Apr 92 20:07:35 GMT


I am writing an application in which I need to know the size of list
Widget. I am using the following function
I am using a sun 3/470 with SunOS 4.1.1 1 and osf motif 1.1 


int 
ListSize(widget)
Widget widget;

{
  int size;
  Arg args[10];
  /* XtSetArg(args[0], XmNitemCount, &size); */
  XtGetValues(widget, args,1);
  return(size);
}

when I tried to RUN  my file it gives a  BUS (alignment error) error


signal BUS (alignment error) in XtGetValues at 0xf777c62c
I don't know what is causing the   BUS (alignment error) because 
I am using the same function in another program and it works

Can anybody help me figure out what the problem is

please send me email to vedati@cerc.wvu.wvnet.edu

thanks in advance

--
		
Krishna Vedati
(vedati@cerc.wvu.wvnet.edu)
Concurrent Engineering Research Center
From: rogerr@csibtfr.UUCP (Roger Reynolds)
Newsgroups: comp.windows.x.motif
Subject: scale increment problems
Date: 9 Apr 92 23:28:55 GMT
Distribution: inet
Organization: The Internet


	Ok, I've got this scale widget and I am trying to
	use a rather large min/max range with a scaleMultiple	
	larger than 1.
	(0 to 2**30 scaleMultiple 256 to be exact)

	Problem is, with a minimum of 0 and a maximum of
	anything greator than 1 million, the scale increment 
	begins to lose accuracy.  It seems to get worse as the 
	maximum value gets larger.

	Anybody else every seen anything like this?

	Please reply by mail to	rogerr@netcom.com 

	thanks
	roger
From: ctjones@BNR.CA (Clifton Jones)
Newsgroups: comp.windows.x.motif
Subject: mwm window menu keys
Date: 10 Apr 92 11:46:33 GMT
Organization: BNR

What is the easiest way to disable the window menu keys.  (ie. Meta-F10 Maximize,
etc)  Looking through documentation only shows the possibility of the
_MOTIF_WM_MENU property and it says that you can just add on with it.
I would really be interested in a program or resource file method to disable 
a key or keys from the window menu of only one client name.  Please send any
answers to my email address.  Thanks in advance.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Clifton Jones
Bell Northern Research
Research Triangle Park, North Carolina
Email: ctjones@bnr.ca
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.windows.x.motif
From: jgg@widget!uunet.uu.net (Xmiester)
Subject: Re: f.refresh
Organization: EVB Software Engineering
Date: Sat, 11 Apr 1992 20:50:02 GMT


>Anyone know how to emulate the "f.refresh" mwm function from within code?  Any
>help would be greatly appreciated.
>

Create a window which is the full-size of the screen, map it, then
immediately destroy it.  This causes expose events to be generated to
all visible clients.




-- 
John Goodsen
S/W Development Environmentalist
goodsenj@ajpo.sei.cmu.edu
^^^^^^^^^^^^^^^^^^^^^^^^^