On Wed, 2004-02-11 at 11:18, Steven Howe wrote:
>
> 2) I used glade to create the interface. I'd like to package it without
> the glade file. Is there a way to compile the glade file into a python
> function that I can add to my current scripts?
>
You could always assign your glade xml to a long string (of the """
variety) and then use:
gtk.glade.xml_new_from_buffer(xmlvar, len(xmlvar))
Tim.
P.S. I *think* that's the signature... reciting from memory here...
--
_______________________________________________________________________
Timothy E. Peoples
Have Camel, Will Code
[EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/