Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
On Fri, 2007-07-06 at 20:14 -0400, Peter Gavin wrote:
> It looks like the g_main_loop_run and friends are not wrapped, unless
> I'm looking in the wrong place. I can go ahead and wrap them if
> no-one else wants to :)
We've got some gtk main loop things in Graphics.UI.Gtk.General.General
and some other things in System.Glib.MainLoop.
What do you think we need the g_main_loop_* functions for? It seems like
the gtk ones wrap them, for the special case of the gtk/gdk event loop.
The glib support is for generic event loops. Do we need that? If so,
System.Glib.MainLoop or a new System.Glib.EventLoop would be an
If you're just looking for random useful things to wrap, there are
plenty of bits in Gtk that we've not done yet. Just ask if you want a
On Sat, 2007-07-07 at 11:14 -0400, Peter Gavin wrote:
> On 7/7/07, Duncan Coutts <duncan.coutts@...> wrote:
> > What do you think we need the g_main_loop_* functions for? It seems like
> > the gtk ones wrap them, for the special case of the gtk/gdk event loop.
> > The glib support is for generic event loops. Do we need that? If so,
> > System.Glib.MainLoop or a new System.Glib.EventLoop would be an
> > appropriate place.
> Well, I'm going to write a demo for the signals on one of the object
> types in gnomevfs, but I didn't want to make a gui for it, so gtk_main
> wasn't the right thing to use.
I see, yes fair enough.
> I didn't wrap the whole slew of g_main_* functions, though, just a few
> of them. I tacked them at the bottom of MainLoop.chs.
On Sat, 2007-07-07 at 17:25 -0400, Peter Gavin wrote:
> Hi Duncan,
> I've put a patch for this in
> <http://mongoose.merseine.nu/darcs/gtk2hs.glib>. I've also fixed a
> few things in gnomevfs as well :)
Ok, pulled from both repos, changes look ok to me. Will test build and