Re: [pygtk] Color conversion functions in PyGtk

2008-06-11 Thread Markus W. Barth
pygtk-cheeseshop

IMHO that sort of utils module would add a lot of overhead as most modules are 
too specialized. Instead, it would be nice to have some sort of cheese shop 
for additional pygtk modules.

One additional problem of those modules or packages is that they often lack 
good documentation (in spite of python's excellent doc-strings)

On Wednesday 11 June 2008 02:02:55 John Stowers wrote:
 On Tue, 2008-06-10 at 22:41 +0200, Samuel Abels wrote:
  On Tue, 2008-06-10 at 16:34 -0400, Felipe Reyes wrote:
   may I took your code to put it in my project? (a gpl3 project)
 
  Sure, think of it as public domain.
 
   maybe you should let the code available like  a python egg, and with
   that it will be easier maintain it.
 
  I considered it, but the infrastructure would be larger than the actual
  code.
 
  I really think that the right way to do this is PyGtk should ship with a
  gtk.util namespace that contains such modules; I'm sure that people
  would come up with a shitload of useful helper modules.

 I have often thought the same thing. It would make it easier to add
 pythonic sugar around pygtk. A useful subset of kiwi would definately be
 welcome in pygtk.

 I guess it is up to the maintainers though.

 John

  -Samuel
 
  ___
  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 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 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] Using multiple dialog boxes

2008-06-11 Thread Timo
Hello all, I'm writing a program that has 3 dialog boxes, 1 main which
is the main window and runs on startup. Then I have 2 other that have to
show when the appropriat button is pressed. I made these 3 windows in Glade.

Now, since my program was getting big, I splitted up my .py file in 3,
each dialog has it's own .py file, but now my calls for opening the
dialogs aren't working as they should be anymore. They show the first
time I click the button, but the second time they don't and I have to
restart my program.

What is the proper way to call a dialog box that is in another .py-file?

Hope this explanation makes sense.

Greets,
Timo
___
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] How to embed pygtk into a glade created gui?

2008-06-11 Thread Kosa

Hi there,

this is my first time here and I'been using
python for just some weeks. I really love it.
First time writing code too, and loving it so
far too.

I'm using glade to build the gui and it works
very well, but now I want to insert some pure pygtk
things into it and I don't now how.

I mean, I have this glade created window and it has
an hbox with three columns. In the first column I put
a button using glade, in the second I have label and
the third is empty. I want to put a pygtk created
calendar there.

I can create a pure pygtk window and calendar, but
I can't find the way to mix xml glade created guis and
pygtk.

Please help me.

Thanks in advance.

Kosa

- Un mundo mejor es posible -
___
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/