Matthias Clasen wrote: > On 6/12/07, Johan Dahlin <[EMAIL PROTECTED]> wrote: >> Havoc Pennington wrote: >> > Is the Hello, World simplest use case as short and simple as it >> possibly >> > could be? That's always a handy final litmus test for an API. >> >> How do you do an hello world in a ui toolkit? >> Should it include signals? How many widgets? >> >> > From the header it looks like the simplest hello, world would have to >> > builder_new, add_from_file, connect_signals, get_object at minimum? >> > Maybe there's a convenience function or two that makes sense? >> >> builder_new + add_from_file could be combined into one constructor, >> I've been thinking about that, which would make it easier to >> port applications using libglade which has such an api. > > You could combine it with get_object too, to arrive at > > GObject * > gtk_builder_load_object_from_file (const gchar *filename, > const gchar *name);
Not so nice, really. And still missing connect_signals() and (maybe) set_translation_domain. Do we really want this? -- Johan Dahlin <[EMAIL PROTECTED]> Async Open Source _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list