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



2008/6/18 Ross Burton <ross burtonini com>:
> On Wed, 2008-06-18 at 18:38 +0300, Kalle Vahlman 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?
> Apart from that it would be impossible to do in gtk_init because no
> windows have been created of course. :)

It could be applied to either the first window with appropriate type
hint (don't like that idea as it'll be problematic) or to a window
marked with a new hint added for this feature.

-- 
Patryk Zawadzki
PLD Linux Distribution


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