how to create GUI dynamically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hitechpundir@gmail.com

    how to create GUI dynamically

    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
  • TheSeeker

    #2
    Re: how to create GUI dynamically

    On Jul 21, 8:19 am, hitechpun...@gm ail.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:


    Duane

    Comment

    • Larry Bates

      #3
      Re: how to create GUI dynamically

      hitechpundir@gm ail.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

      Comment

      • Peter  Wang

        #4
        Re: how to create GUI dynamically

        On Jul 21, 8:19 am, hitechpun...@gm ail.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:


        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

        Comment

        Working...