Python GUI

Christopher Browne cbbrowne at
Sat Aug 14 03:24:14 CEST 1999

On 13 Aug 1999 07:15:25 +0100, Michael Hudson <mwh21 at> wrote:
>cbbrowne at (Christopher Browne) writes:
>> On 12 Aug 1999 19:43:45 +0200, Christian Egli <christian.egli at> wrote:
>> >>>>>> "Phil" == Phil Hunt <philh at> writes:
>> >>>>>> "Paul" == Paul Prescod <paul at> writes:
>> >Paul> Glade is a GUI application that allows you to build a window
>> >Paul> visually.
>> > 
>> >Phil> Okay, but I saw a reference somewhere to Glade having a
>> >Phil> declarative file format that could be converted into code to
>> >Phil> build the GUI. I was mostly talking about the declarative file
>> >Phil> format.
>> >
>> >Maybe you meant the storage format of Glade which is XML which in
>> >turn can be used with Libglade to build the GUI dynamically.
>> Sounds Really A Lot like CORBA DII...
>Not to me. Could you elaborate for the slow of thought?

DII == Dynamic Invocation Interface.

Basic idea is that it allows a CORBA client to dynamically discover
new objects and their interfaces, and connect to them.

Same idea as having a LibGlade client dynamically discover new GTK
widgets and their interfaces, and then connecting to them.

Upside: It's pretty cool, and potentially makes programs more

Downside: You have to write the client so that it knows how to
discover and use these new objects.  Suffice it to say that This Can
Get Complex.

>> >Paul> Glade does that too, as long as your "favorite language" is
>> >Paul> C. :)
>> >
>> >Not only. See below
>> ...
>> >AFAIK Libglade does exactly that.
>> Question: How do you tie events to widgets?
>> Is it, maybe, perchance, via pointers to C functions???
>I mean, yes, gtk+ ties events to widgets via C function pointers, but
>the Python wrappers are sufficiently sophisticated that you can use a
>Python function. 

Glad to hear it.

>pygtk rocks. I'm not sure it's as perfectly designed as could be, but
>it's pretty damn cool.
Non-determinism means never having to say you're wrong.
cbbrowne at <>

More information about the Python-list mailing list