Questions tagged [traitsui]

traitsui is a data-driven framework developed by Enthought for building user interfaces on top of traits in python.

Traitsui is a data-driven framework developed by Enthought for building user interfaces on top of traits in Python. The details of layout and organization are mostly abstracted from the programmer, although an API is exposed to manage some of the details.

In traitsui, statically-typed classes (using traits) can automatically generate interactive interfaces for manipulation. Object-oriented principles generally apply -- by specifying a Manager(HasTraits) class with traits such as salary=Int and job_title=String, traitsui can automatically generate a window to edit these attributes.

traitsui makes use of different widget-drawing toolkits, notably qt4 and Wx by means of the pyside and wxpython bindings to those frameworks. Thus the UIs developed have the look and feel of the native OS.

See the traitsui user manual for more: http://docs.enthought.com/traitsui/traitsui_user_manual/index.html

167 questions
-1
votes
1 answer

How to make user interface for a HasTraits class using the Enthought Tool Suite

I have two class, it is child class of HasTraits. this case: view =View( VGroup( HGroup( Label(u' '), Item( "bt_import", label=' ' ), Item( "bt_export",…
-1
votes
1 answer

Keyword argument in Camera constructor

Guys, I recently wrote a couple of codes about the TraitUi and one example is quite confusing to me. Here is the whole example: __author__ = 'tk' from threading import Thread from time import sleep from traits.api import * from traitsui.api import…
tk_y1275963
  • 588
  • 6
  • 13
1 2 3
11
12