RE: About dialog API
- From: martyn 2 russell bt com
- To: gtk-devel-list gnome org
- Subject: RE: About dialog API
- Date: Fri, 11 Apr 2003 09:09:42 +0100
> > From: Owen Taylor [mailto:otaylor redhat com]
> > To: Matthias Clasen
> > > But we are not, or are we ? The last API proposal was
> > >
> > > void gtk_about_dialog_show (GtkWindow *parent,
> > > GdkPixbuf *logo,
> > > const gchar *name,
> > > const gchar *version,
> > > const gchar *copyright,
> > > const gchar *comments,
> > > const gchar **authors,
> > > const gchar **documenters,
> > > const gchar *translator_credits);
>
> > I really dislike the 9 argument form above, and it just
> > gets worse if you add build ID, license expiration date, etc.
> > I'm pretty sure we need an extensible API of some sort.
>
> Could someone remind me why we need all this in one function.
> Why can't we
> use multiple setters?
That's part of the debate. This was just the original proposal (i believe).
I personally prefere either mutliple member get's and set's OR an argv
function similar to how gtk_tree_store_set() works.
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]