Questions tagged [pyface]

PyFace is an Enthought library for Python that provides toolkit-independent GUI facilities for use with other Enthought libraries

A Python library by Enthought, provides toolkit-independent GUI facilities for use with other Enthought libraries. The relevant places for finding information about this project are:

11 questions
3
votes
1 answer

PyFace, TraitsUI and TraitsGUI

I was just reading about PyFace, TraitsUI and TraitsGUI but I have problems to understand the difference between those projects. PyFace: GitHub. The pyface project contains a toolkit-independent GUI abstraction layer, which is used to support…
Albert
  • 65,406
  • 61
  • 242
  • 386
1
vote
1 answer

pyface FileDialog with different default filename when wildcard changes

I would like to provide a user with different default file names based on the wildcard that they select. It seems that pyface.FileDialog inherits from HasTraits so I should be above to observe it's wildcard_index trait to notice the change and…
Daniel Farrell
  • 9,316
  • 8
  • 39
  • 62
1
vote
0 answers

In traits.api File trait, how can I force the directory to be readonly?

I have a software that lets the user choose the database location from the traits.api File trait as shown below: class DbPreferencesHelper(PreferencesHelper): dbLocation = File() class DbPreferencesPane(PreferencesPane): view =…
Antique
  • 31
  • 2
1
vote
1 answer

OpenGL with PyFace

How I can write an OpenGl application using Enthought Framework? I created a TasksApplication and I am stuck on this tutorial, I don't know what I can use instead PythonEditor there. I need to create something where I will be able to…
user14416
  • 2,922
  • 5
  • 40
  • 67
0
votes
1 answer

How to sound a beep with PyFace?

PyFace is an Enthought library for Python that's supposed to provide toolkit-independent GUI facilities for use with other Enthought libraries. Can I make it beep? Or do I have to resort to the underlying GUI toolkit?
ptomato
  • 56,175
  • 13
  • 112
  • 165
0
votes
0 answers

Using TraitsUI ShellEditor to get notifications before and after the user hits the enter key

I'm working on a multi-threaded application and using ShellEditor to create an embedded Python terminal. I need to get a notification before and after a command has been executed in the embedded shell so I can acquire and release a threading…
Daniel Farrell
  • 9,316
  • 8
  • 39
  • 62
0
votes
1 answer

NotImplementedError: the null tvtk.pyface.ui.null backend doesn't implement scene_editor:SceneEditor

i want to visualize my calibration and I am using pyqt5==5.12.3 When I type following command: python3 scripts/interface.py --config configs/config.yaml I get this error: NotImplemented error: the null tvk.pyface.ui.null backend doesn’t implement…
0
votes
1 answer

PyFace / PySide2 incompatibility, despite curation by conda?

In a Traits/UI application, I'm getting the following at the end of a traceback: File "/anaconda3/envs/pybert64/lib/python3.7/site-packages/traitsui/qt4/html_editor.py", line 27, in from pyface.qt import QtCore, QtGui, QtWebKit File…
dbanas
  • 1,707
  • 14
  • 24
0
votes
1 answer

How can I fix an apparent Qt4 / Qt5 conflict?

I recently installed Qt4 even though I already had some Qt5 libraries installed, because an application seemed to require Qt4. Tragically, that application also used mayavi, which would now segfault when it tried to import its mlab module. I managed…
user1245262
  • 6,968
  • 8
  • 50
  • 77
0
votes
1 answer

qt4 Clipboard error on Ubuntu 14.04

Trying to run an external program that uses the python backend and after having installed the canopy package (after also trying the 'manual' pyface builds) I keep getting a weird and seemingly very basic error. Any suggestions would be most…
0
votes
1 answer

Is there a way to query pyface for the active backend?

Is there a way to find out which backend pyface is currently using?
christianbrodbeck
  • 2,113
  • 2
  • 19
  • 24