Re: tooltips



Ronald Vincent Tarrant wrote:
Paul Pogonyshev wrote:

I want to add tooltips to my widget, but they should be different for
different widget areas.  It seems there is no way to implement this
using GtkTooltips...  Any hints?

How about two (or more) separate instances of the ToolTips class, one 
for each separate area of your app?

The overhead can't be that bad, right?

But I have many areas, the widget is much like two-dimensional grid.
There can easily be like 100 areas.  Think of GtkTreeView with many
columns.

Besides, it seems that GtkTooltips works only with widgets.  So, I'd
have to wrap each `area' in a separate widget which is cumbersome.
The widget is scrollable and on overall, there can be thousands of
those areas.  This means that either the overhead would be really bad
or I'd have to write some evil code to create widgets for only those
areas that are visible in the viewport, gah...

:(

Paul



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