Hi Spencer,
yes it's a private variable and as such was never supposed to serve as
X11 (or Tkinter) availability check... but: I would (and did) also use
it, since it's the best option to check this right now.
Cheers,
Thomas
Spencer Bliven wrote, On 04/22/14 10:46:
> I just found the pymol._ex
I just found the pymol._ext_gui property, which seems to be None if X11 is
off and a positive number if X11 is present. Seeing as it's a private
variable, is it ok to use this to check for X11 presence?
-Spencer
On Thu, Apr 17, 2014 at 10:21 AM, Spencer Bliven wrote:
> Here's what I'm currentl
Here's what I'm currently using. It seems to work so far. Looking through
the PyMol binary I see about 50 possible names though, so it would be nice
if there were a built-in way to detect X11.
def hasTk():
""" Make an educated guess as to whether Tk is installed,
hopefully without triggeri
I'm working on a plugin with a command line interface and a light-weight tk
interface through the plugins menu. This works fine on Linux, Windows, and
open-source Mac builds, but not on MacPyMol.app. Importing Tkinter causes
PyMol to quit with a prompt to install X11 (but not an ImportError, as far