Re: tear-off

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