Re: GNOME CVS: gtk+ timj




Tim Janik <timj@gtk.org> writes:

> On 3 Sep 1998, Owen Taylor wrote:
> 
> > 
> > Gnome CVS User <gnomecvs@cvs.labs.redhat.com> writes:
> > 
> > > CVSROOT:	/debian/home/gnomecvs
> > > Module name:	gtk+
> > > Changes by:	timj	98/09/03 02:38:55
> > > 
> > > * gtk/gtktooltips.h:
> > > * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
> > > gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
> > > prior to the first tip being set.
> > 
> > Hmmm, why would somebody want to do this? Should we encourage
> > it?
> 
> to set a window name on the tips window that can be used to associate
> certain styles via the rc mechanism.
> if gtk_tooltips_force_window() is not invoked, one has to wait until the first
> tip is set to set the widget name on the tip window.

This shows why we need to make tooltips a widget.

But even if we don't, shouldn't tooltips->tip_window be created
immediately?  The overhead is small, and it would be more
consistent with composite widgets where we create all the windows
immediately, and avoid complicating the API further.

Regards,
                                        Owen



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