By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,806 Members | 1,312 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,806 IT Pros & Developers. It's quick & easy.

how to create GUI dynamically

P: n/a
Hi;

i m working on a project where i need run time creation of GUI.

i have some no. of entities for which i want checkboxes in front of
them which can be checked/ unchecked by user.

But the problem is that the number and name of entities is not fixed
and it depends on the file which is used as input.

So is there any way to tackle this problem.

By the way ; i use Boa constructor (zope editor) for GUI now.

regards
pawan pundir
Jul 21 '08 #1
Share this Question
Share on Google+
3 Replies

P: n/a
On Jul 21, 8:19 am, hitechpun...@gmail.com wrote:
Hi;

i m working on a project where i need run time creation of GUI.

i have some no. of entities for which i want checkboxes in front of
them which can be checked/ unchecked by user.

But the problem is that the number and name of entities is not fixed
and it depends on the file which is used as input.

So is there any way to tackle this problem.

By the way ; i use Boa constructor (zope editor) for GUI now.

regards
pawan pundir
Hi,

Boa constructor can be used for the main part of the application, but
you'll probably need to 'roll your own' builder of the dynamic portion
(which isn't very hard).

A wonderful list for these kinds of questions is:
https://lists.sourceforge.net/lists/...structor-users

Duane
Jul 21 '08 #2

P: n/a
hi**********@gmail.com wrote:
Hi;

i m working on a project where i need run time creation of GUI.

i have some no. of entities for which i want checkboxes in front of
them which can be checked/ unchecked by user.

But the problem is that the number and name of entities is not fixed
and it depends on the file which is used as input.

So is there any way to tackle this problem.

By the way ; i use Boa constructor (zope editor) for GUI now.

regards
pawan pundir
All the GUI tookits (Tkinter, wxWindows, QT) allow you to build the GUI dynamically.

-Larry
Jul 21 '08 #3

P: n/a
On Jul 21, 8:19*am, hitechpun...@gmail.com wrote:
Hi;

i m working on a project where i need *run time creation of GUI.

i have some no. of entities for which i want checkboxes in front of
them which can be checked/ unchecked by user.

But the problem is that the number and name of entities is not fixed
and it depends on the file which is used as input.

So is there any way to tackle this problem.

By the way ; i use Boa constructor (zope editor) for GUI now.

regards
pawan pundir
You should check out Traits and Traits UI:
http://code.enthought.com/projects/traits/examples.php

It allows you to dynamically create views and UIs in an easy,
declarative manner. It is also powerful enough to build much more
complex interactions and dialogs. It currently supports both WX and
Qt toolkits.

-Peter
Jul 21 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.