claws-mail/src/noticeview.h
Colin Leroy 85d5d9dc5a 2012-09-08 [colin] 3.8.1cvs46
* AUTHORS
	* src/Makefile.am
	* src/action.c
	* src/addr_compl.c
	* src/addrbook.c
	* src/compose.c
	* src/compose.h
	* src/editaddress.c
	* src/filtering.c
	* src/folder.c
	* src/folder.h
	* src/folderview.h
	* src/headerview.h
	* src/imap_gtk.c
	* src/localfolder.c
	* src/main.c
	* src/mainwindow.c
	* src/mainwindow.h
	* src/matcher.c
	* src/matcher_parser_parse.y
	* src/messageview.c
	* src/messageview.h
	* src/mh.c
	* src/mh_gtk.c
	* src/mimeview.c
	* src/mimeview.h
	* src/noticeview.h
	* src/prefs_account.c
	* src/prefs_account.h
	* src/prefs_filtering.c
	* src/prefs_filtering_action.c
	* src/prefs_gtk.h
	* src/prefs_matcher.c
	* src/prefs_template.c
	* src/prefs_toolbar.c
	* src/privacy.c
	* src/procheader.h
	* src/procmime.c
	* src/procmime.h
	* src/procmsg.c
	* src/procmsg.h
	* src/proctypes.h
	* src/remotefolder.c
	* src/summaryview.c
	* src/summaryview.h
	* src/textview.c
	* src/textview.h
	* src/toolbar.c
	* src/uri_opener.c
	* src/viewtypes.h
	* src/common/defs.h
	* src/gtk/authors.h
	* src/gtk/description_window.c
	* src/plugins/trayicon/trayicon.c
		Break circular dependencies in Claws' headers,
		Patch by Sean Buckheister <s_buckhe@cs.uni-kl.de>
2012-09-08 20:23:12 +00:00

79 lines
2.4 KiB
C

/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
* Copyright (C) 2002-2012 Hiroyuki Yamamoto & The Claws Mail Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef NOTICEVIEW_H__
#define NOTICEVIEW_H__
#include "viewtypes.h"
#include "stock_pixmap.h"
struct _NoticeView
{
GtkWidget *vbox;
GtkWidget *hsep;
GtkWidget *hbox;
GtkWidget *icon;
GtkWidget *text;
GtkWidget *button;
GtkWidget *button2;
GtkWidget *window;
gboolean visible;
gpointer user_data;
gpointer user_data2;
void (*press) (NoticeView *, gpointer user_data);
void (*press2) (NoticeView *, gpointer user_data);
gboolean icon_clickable;
GtkWidget *evtbox;
#if !GTK_CHECK_VERSION(2,12,0)
GtkTooltips *tooltips;
#endif
};
NoticeView *noticeview_create (MainWindow *mainwin);
void noticeview_destroy (NoticeView *noticeview);
void noticeview_init (NoticeView *noticeview);
void noticeview_set_icon (NoticeView *noticeview,
StockPixmap icon);
void noticeview_set_text (NoticeView *noticeview,
const gchar *text);
void noticeview_set_button_text
(NoticeView *noticeview,
const gchar *text);
void noticeview_set_2ndbutton_text
(NoticeView *noticeview,
const gchar *text);
gboolean noticeview_is_visible (NoticeView *noticeview);
void noticeview_show (NoticeView *noticeview);
void noticeview_hide (NoticeView *noticeview);
void noticeview_set_button_press_callback
(NoticeView *noticeview,
void (*callback)(void),
gpointer *user_data);
void noticeview_set_2ndbutton_press_callback
(NoticeView *noticeview,
void (*callback)(void),
gpointer *user_data);
void noticeview_set_icon_clickable
(NoticeView *noticeview,
gboolean setting);
void noticeview_set_tooltip
(NoticeView *noticeview,
const gchar *text);
#endif /* NOTICEVIEW_H__ */