comparison 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
comparison
equal deleted inserted replaced
4723:39068784aa08 4724:b9e7ccf21f9c
32 BUDDY_ICON_COLUMN, 32 BUDDY_ICON_COLUMN,
33 NODE_COLUMN, 33 NODE_COLUMN,
34 BLIST_COLUMNS 34 BLIST_COLUMNS
35 }; 35 };
36 36
37 typedef enum {
38 GAIM_STATUS_ICON_LARGE,
39 GAIM_STATUS_ICON_SMALL
40 } GaimStatusIconSize;
37 /************************************************************************** 41 /**************************************************************************
38 * @name Structures 42 * @name Structures
39 **************************************************************************/ 43 **************************************************************************/
40 /** 44 /**
41 * Like, everything you need to know about the gtk buddy list 45 * Like, everything you need to know about the gtk buddy list
47 51
48 GtkWidget *treeview; /**< It's a treeview... d'uh. */ 52 GtkWidget *treeview; /**< It's a treeview... d'uh. */
49 GtkTreeStore *treemodel; /**< This is the treemodel. */ 53 GtkTreeStore *treemodel; /**< This is the treemodel. */
50 54
51 GtkWidget *bbox; /**< A Button Box. */ 55 GtkWidget *bbox; /**< A Button Box. */
56
57 guint timeout; /**< The timeout for the tooltip. */
58 GdkRectangle rect; /**< This is the bounding rectangle of the
59 cell we're currently hovering over. This is
60 used for tooltips. */
61 GtkWidget *tipwindow; /**< The window used by the tooltip */
52 }; 62 };
53 63
54 /** 64 /**
55 * A GTK+ buddy list node. 65 * A GTK+ buddy list node.
56 */ 66 */