W3C home > Mailing lists > Public > www-amaya-dev@w3.org > November 2000


From: Johannes Zellner <johannes@zellner.org>
Date: Sat, 25 Nov 2000 12:17:39 +0100
To: www-amaya-dev@w3.org
Message-ID: <20001125121739.A21919@zellner.org>

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'

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:04 UTC