Re: GtkTreeView column-chooser dialog



Sven Neumann <sven gimp org> writes:

> Hi,
> 
> Jonathan Blandford <jrb redhat com> writes:
> 
> > I'd like to add a new dialog to GTK+.
> 
> please, don't continue to do the same mistake over and over again.
> A toolkit should not provide dialogs for special purposes. It should
> provide widgets. Leave it up to the application developer to embed
> that widget into a dialog. If you insist, you can add a convenience
> function that creates a dialog with the widget packed into it, but
> please provide a way to create the standalone widget.
> 
> This mistake has been done before (see GtkInputDialog and
> GtkFileSelection) and it has bitten us (the GIMP developers) every so
> often.

That's why I proposed allowing three ways to do this:

1) The widget itself
2) A dialog wrapper around it
3) Exporting the model column so that you could write your own dialog.

Still, given that no one liked the widget at all, it seems kind of moot.

-Jonathan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]