pidgin/gtkconv.h

changeset 40690
8aadc4b6a592
parent 40601
228284223862
child 40713
766bbe6061ec
equal deleted inserted replaced
40689:da31cedd7345 40690:8aadc4b6a592
30 * @section_id: pidgin-gtkconv 30 * @section_id: pidgin-gtkconv
31 * @short_description: <filename>gtkconv.h</filename> 31 * @short_description: <filename>gtkconv.h</filename>
32 * @title: Conversation API 32 * @title: Conversation API
33 * @see_also: <link linkend="chapter-signals-gtkconv">Conversation signals</link> 33 * @see_also: <link linkend="chapter-signals-gtkconv">Conversation signals</link>
34 */ 34 */
35
36 #define PIDGIN_TYPE_CONVERSATION (pidgin_conversation_get_type())
37 35
38 typedef struct _PidginImPane PidginImPane; 36 typedef struct _PidginImPane PidginImPane;
39 typedef struct _PidginChatPane PidginChatPane; 37 typedef struct _PidginChatPane PidginChatPane;
40 typedef struct _PidginConversation PidginConversation; 38 typedef struct _PidginConversation PidginConversation;
41 39
90 * 88 *
91 * A GTK+ conversation pane. 89 * A GTK+ conversation pane.
92 */ 90 */
93 struct _PidginConversation 91 struct _PidginConversation
94 { 92 {
95 gint box_count;
96
97 PurpleConversation *active_conv; 93 PurpleConversation *active_conv;
98 PurpleConversation *last_conversed;
99 GList *convs; 94 GList *convs;
100 GList *send_history; 95 GList *send_history;
101 96
102 PidginConvWindow *win; 97 PidginConvWindow *win;
103 98
117 GtkWidget *icon; 112 GtkWidget *icon;
118 GtkWidget *tab_label; 113 GtkWidget *tab_label;
119 GtkWidget *menu_icon; 114 GtkWidget *menu_icon;
120 GtkWidget *menu_label; 115 GtkWidget *menu_label;
121 116
122 GtkWidget *lower_hbox;
123
124 PidginUnseenState unseen_state; 117 PidginUnseenState unseen_state;
125 guint unseen_count; 118 guint unseen_count;
126 119
127 union 120 union
128 { 121 {
139 132
140 /* Used when attaching a PidginConversation to a PurpleConversation 133 /* Used when attaching a PidginConversation to a PurpleConversation
141 * with message history */ 134 * with message history */
142 int attach_timer; 135 int attach_timer;
143 GList *attach_current; 136 GList *attach_current;
144
145 /*
146 * Quick Find.
147 */
148 GtkWidget *quickfind_entry;
149 GtkWidget *quickfind_container;
150 }; 137 };
151 138
152 G_BEGIN_DECLS 139 G_BEGIN_DECLS
153 140
154 /************************************************************************** 141 /**************************************************************************
155 * GTK+ Conversation API 142 * GTK+ Conversation API
156 **************************************************************************/ 143 **************************************************************************/
157
158 /**
159 * pidgin_conversation_get_type:
160 *
161 * Returns: The #GType for the #PidginConversation boxed structure.
162 */
163 GType pidgin_conversation_get_type(void);
164 144
165 /** 145 /**
166 * pidgin_conversations_get_conv_ui_ops: 146 * pidgin_conversations_get_conv_ui_ops:
167 * 147 *
168 * Returns the UI operations structure for GTK+ conversations. 148 * Returns the UI operations structure for GTK+ conversations.

mercurial