tear-off

Hello,

in thotlib/dialogue/dialogapi.c:1669

#ifndef _GTK
+  XmRepTypeInstallTearOffModelConverter();
   
   /* redirige le handler de warnings vers une fonction vide pour eviter */
   /* les delires de motif */
   
(you've to include #include <Xm/RepType.h>)

This enables the tearoff-converter. You've to merge the following
line to the Xresources then:

Dialogue*tearOffModel: XmTEAR_OFF_ENABLED


---

btw.: is it intended not to parse standard X command line arguments as
      -xrm -display ... ? -- they're respected if set with xrdb, so
      it's reasonable to parse the command line, isn't it ?
      I'd suggest something like e.g.:

    RootShell = XtVaAppInitialize(&Def_AppCont, "Dialogue",
                     NULL, 0, &argc, argv, NULL, NULL);
                              ^^^^^^^^^^^
 
this way, one could also use

    amaya -xrm 'Dialogue*tearOffModel: XmTEAR_OFF_ENABLED'

-- 
   Johannes

Received on Saturday, 25 November 2000 06:19:08 UTC