Re: [gtk-list] Humble request...



On Sat, Jul 18, 1998 at 03:12:20AM -0400, Matthew Berg wrote:
> I happen to use interactive window placement on my desktop.  The reason
> I bring this up is because of the (I'll admit somewhat minor) annoyance
> of having to manually drop all the standard dialogs in GTK, as well as
> dialogs for many of the programs I use.
> 
> Normally I wouldn't nit-pick, but it does get very tiresome after a
> while, and it is very easily fixed with a single line of code :
> 
>   GTK_WINDOW(window)->type = GTK_WINDOW_DIALOG;
> 
> Personally, for convienence sake, I also like to add 
> 
>   gtk_window_position (GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
> 
> for most dialogs, as they usually require user interaction.
> 
> On that note, I wouldn't mind the addition of gtk_window_type as a
> function, but I really don't care that much, since most of the time the
> type will be specified in gtk_window_new.  The only reason I mention it
> is for use in composite widgets using GtkWindow as a parent type.

window = gtk_window_new (GTK_WINDOW_DIALOG);


Ian



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