My plugin fail in library mode because it tries to add a Qt menu. Just an
error message appears.

If there is two init functions, one for GUI and other for CL, would work.

__init_plugin__
__init_gui_plugin__

Em ter, 27 de out de 2020 21:00, Pedro Lacerda <pslace...@gmail.com>
escreveu:

> Hi,
>
> How to detect if we are in the library mode or on the GUI mode?
>
> --
> Pedro Sousa Lacerda
>
> Laboratório de Bioinformática e Modelagem Molecular / UFBA
> Mestrando em Ciências Farmácias / UEFS
>
> @pslacerda
> +55 71 9 9981-1856
> http://lattes.cnpq.br/8338596525330907
>
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to