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



Ian Main wrote:

>> 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
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < 
> /dev/null

If you'll notice, I did specify that most of the time the type is
specified when calling gtk_window_new, but when using GtkWindow as a
parent class, the behavior of the new widget defaults to that of
GTK_WINDOW_TOPLEVEL.  

I personally don't really care if I have to access it by casting to
GTK_WINDOW and setting it manually, since it doesn't come up often.

My real problem is that both the default and most custom widgets don't
correct this behavior.

---
Matthew Berg



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