Re: Should GNOME apps support a --geometry option?



On Wed, Jun 18, 2008 at 11:38 AM, Kalle Vahlman <kalle vahlman gmail com> wrote:
> 2008/6/18 Matthew Barnes <mbarnes redhat com>:
>> I think I'm correct in saying the GConf approach is preferred, but are
>> there use cases for supporting a --geometry option as well?  Perhaps
>> just for consistency across apps?
>
> I can't think of any reason why that couldn't be a part of gtk_init(),
> that way it'd be supported not only in GNOME but in every GTK+ app.
> After all, the ability to define initial window size can be quite
> handy for any application. Specially in scripting situations.
>
> Maybe this should be proposed on gtk-devel?

The reason why gtk_init does not do this by default is that there is
no rule that says that gtk apps must have exactly one main window.
This is best handled on the application side.


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