Re: [pygtk] User defined interface

2006-06-06 Thread Preben Randhol
On Sun, 04 Jun 2006 07:52:11 -0700
Brian <[EMAIL PROTECTED]> wrote:


> Look at Gaspacho and Kiwi.  It sounds like that may be able to do what
> you would like.  Or at least part way to what you are trying to
> achieve.

Thanks!

I'll have a look

Preben
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] User defined interface

2006-06-04 Thread Brian
On Sun, 2006-04-06 at 10:36 +0200, Preben Randhol wrote:
> Hi
> 
> First I'm new to Python and PyGTK, but I have used Gtk for some years
> now. Currently I'm making an application with PyGTK. The application is
> supposed to show some data that is read from an XML file. Now what I
> need is to give the user the flexibility that she/he can set up how
> she/he wants the display widget to look like. My idea is to use a table
> widget as the base and that the user can put Labels, Pixmaps, and choose
> where in the table to display the data (and later also be able to edit
> data). 
> 
> So my question is: Given that the layout is defined in an XML file is it
> better to:
> 
>1. in some way (if possible) to use libglade to read a XML file that
>   doesn't have a main window but only a Table widget as the base?
>   As the layout will change depending on what data to display.
>
>2. make ones own parser to read and generate the display GUI from the
>   XML structure. I'm also thinking that later when I want to add
>   edit capabilities I need to hook callbacks to the different
>   edit widgets and that may be easier without libglade
> 
>3. or has somebody already made something like this that is available
>   in as a library or similar?
> 
> The program will be licensed as GPL or BSD if finished.
> 
> Thanks in advanced for any hints.
> 
> Preben


Look at Gaspacho and Kiwi.  It sounds like that may be able to do what
you would like.  Or at least part way to what you are trying to achieve.


-- 
Brian <[EMAIL PROTECTED]>

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] User defined interface

2006-06-04 Thread Preben Randhol
Hi

First I'm new to Python and PyGTK, but I have used Gtk for some years
now. Currently I'm making an application with PyGTK. The application is
supposed to show some data that is read from an XML file. Now what I
need is to give the user the flexibility that she/he can set up how
she/he wants the display widget to look like. My idea is to use a table
widget as the base and that the user can put Labels, Pixmaps, and choose
where in the table to display the data (and later also be able to edit
data). 

So my question is: Given that the layout is defined in an XML file is it
better to:

   1. in some way (if possible) to use libglade to read a XML file that
  doesn't have a main window but only a Table widget as the base?
  As the layout will change depending on what data to display.
   
   2. make ones own parser to read and generate the display GUI from the
  XML structure. I'm also thinking that later when I want to add
  edit capabilities I need to hook callbacks to the different
  edit widgets and that may be easier without libglade

   3. or has somebody already made something like this that is available
  in as a library or similar?

The program will be licensed as GPL or BSD if finished.

Thanks in advanced for any hints.

Preben
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/