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

Re: tear-off

From: <Irene.Vatton@inrialpes.fr>
Date: Tue, 28 Nov 2000 18:39:27 +0100
Message-Id: <200011281739.SAA03638@vanuatu.inrialpes.fr>
To: Johannes Zellner <johannes@zellner.org>
cc: www-amaya-dev@w3.org

Thanks a lot for your patch. We'll add it, but we probably need to add
a callback that allows the user to close the menu.

In-reply-to: Your message of Sat, 25 Nov 2000 12:17:39 +0100."
             <20001125121739.A21919@zellner.org> 
> 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
> 

  Irene.
Received on Tuesday, 28 November 2000 12:36:44 UTC

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