[comp.windows.x] Its a funny problem

ch@siet02.sietec.de (Chitty) (04/04/91)

Hi Xperts,

          I have 2 strange problems. 
1) I create a pixmap for an icon using
XCreatePixmapFromBitmapData and then I try setting this pixmap using
the 
    XSetArg( args[0], XmNiconPixmap, icon_pixmap ) ;
    XtSetValues( TopLevel, args, 1 ) ;
using the Motif Widgets.

The Problem is that the icon works only when the user interface is displayed
on a remote machine. If it is displayed on the local machine the std mwm 
icon comes up. Could some one give me a hint about this.

2) I create my TopLevel Widget with the XtInitialize call. Even though it
parses the command line it does not invoke all the required options.

For e.g. UserInterface -fn 8x13bold -iconic

does not start my program as desired.
Does anyone have an idea.


===================================================================
Name : Chittaranjan Keswani        Sietec, West Berlin
Address : ch@siet02.sietec.de      (Internet)
          ..!sietec1!siet02!ch@unido.uucp (UUCP)
===================================================================