Re: tooltips
- From: Tristan Van Berkom <tristan van berkom gmail com>
- To: Paul Pogonyshev <pogonyshev gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: tooltips
- Date: Sat, 18 Feb 2006 12:01:33 -0500
Paul Pogonyshev wrote:
[...]
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...
Its not that bad, I'm sure many applications have the same need;
just install a handler for "motion-notify-event" (make sure that
your widget has been realized with the correct event mask)
and call gtk_tooltips_set_tip() whenever the tooltip should change.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]