Slaving the GTK+ main loop to an external main loop

2008-09-01 Thread Owen Taylor
One distinct problem for ports of GTK+ to other windowing systems has been dealing with modal operations in the windowing systems API; this comes up for: - Window resizing - Drag and drop - Modal print dialogs And so forth. While the modal operation is going on, the GTK+ main loop is not runni

Re: GObject-Introspection

2008-09-01 Thread Colin Walters
On Mon, Sep 1, 2008 at 11:18 AM, Murray Cumming <[EMAIL PROTECTED]> wrote: > > As I've told Johan, this won't be possible for significant amounts of > the API, because human thought really is required to make truly usable > APIs. And I worry that the auto-generation will create bad API that will >

Re: GObject-Introspection

2008-09-01 Thread Johan Dahlin
Murray Cumming wrote: On Mon, 2008-09-01 at 16:33 +0200, Johan Dahlin wrote: [..] As I've told Johan, this won't be possible for significant amounts of the API, because human thought really is required to make truly usable APIs. And I worry that the auto-generation will create bad API that will

Re: GObject-Introspection

2008-09-01 Thread Murray Cumming
On Mon, 2008-09-01 at 16:33 +0200, Johan Dahlin wrote: > There were a couple of reasons to switching to xml over s-expressions. > The primary one is that XML is more popular, most modern languages > have parsers builtin which will make it easier to write tools upon it. > Other reasons includes that

Re: GObject-Introspection

2008-09-01 Thread Johan Dahlin
Michael Lawrence wrote: [..] The VAPI format from the Vala project is a nice human-writeable format that should soon be convertable to GIR (currently can be converted to GIDL). Example: public class Gtk.Label : Gtk.Misc { public void get(out text); ... } Using an IDL such as VAPI has been

Re: GObject-Introspection

2008-09-01 Thread Michael Lawrence
On Mon, Sep 1, 2008 at 7:33 AM, Johan Dahlin <[EMAIL PROTECTED]> wrote: > BJörn Lindqvist wrote: > >> 2008/6/2 Johan Dahlin <[EMAIL PROTECTED]>: >> >>> An alternative here is make a clean break, eg only use this in new >>> language bindings and make the typelib/GIR define the API. >>> >>> For Pyth

Re: GObject-Introspection

2008-09-01 Thread Johan Dahlin
BJörn Lindqvist wrote: 2008/6/2 Johan Dahlin <[EMAIL PROTECTED]>: An alternative here is make a clean break, eg only use this in new language bindings and make the typelib/GIR define the API. For Python I plan to; * Convert PyGTK .defs to .xml, still keep them locally * Find out the changes bet

Re: GObject-Introspection

2008-09-01 Thread BJörn Lindqvist
2008/6/2 Johan Dahlin <[EMAIL PROTECTED]>: > An alternative here is make a clean break, eg only use this in new > language bindings and make the typelib/GIR define the API. > > For Python I plan to; > * Convert PyGTK .defs to .xml, still keep them locally > * Find out the changes between the .gir i

GObject-Introspection 0.5.0

2008-09-01 Thread Johan Dahlin
I'm proud to announce the initial release of GObject-Introspection. Colin Walters and I have been hacking madly on it for the past couple of weeks and we have finally reached a point to where we're ready for more more users. Tarball can be found at: http://download.gnome.org/sources/gobject-