Mercurial > pidgin.yaz
diff src/gtklist.h @ 4724:b9e7ccf21f9c
[gaim-migrate @ 5037]
I stayed up all night and readded tooltips. It feels great.
GTK 2 provides no easy way to add a tooltip to a row of a GtkTreeView so
I had to do it all by hand. In doing so, I took some liberties and did
some stuff most tooltips can't do... my tooltips have Markup and Pixbufs
in them =-).
Tomorrow, KingAnt gets back. I'll let him readd the AIM-specific tooltip
stuff. Capabilities and logged on time used to live in the buddy struct, but
were removed for being too aim-centric. KingAnt will put them back, I'm sure.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 12 Mar 2003 11:37:31 +0000 |
parents | 4d7a23938b67 |
children | fd44726a527f |
line wrap: on
line diff
--- a/src/gtklist.h Wed Mar 12 07:09:27 2003 +0000 +++ b/src/gtklist.h Wed Mar 12 11:37:31 2003 +0000 @@ -34,6 +34,10 @@ BLIST_COLUMNS }; +typedef enum { + GAIM_STATUS_ICON_LARGE, + GAIM_STATUS_ICON_SMALL +} GaimStatusIconSize; /************************************************************************** * @name Structures **************************************************************************/ @@ -49,6 +53,12 @@ GtkTreeStore *treemodel; /**< This is the treemodel. */ GtkWidget *bbox; /**< A Button Box. */ + + guint timeout; /**< The timeout for the tooltip. */ + GdkRectangle rect; /**< This is the bounding rectangle of the + cell we're currently hovering over. This is + used for tooltips. */ + GtkWidget *tipwindow; /**< The window used by the tooltip */ }; /**