2010-08-29 15:14:38 +00:00
|
|
|
/* main_toolbar.h
|
2003-10-15 19:40:42 +00:00
|
|
|
* Definitions for toolbar utility routines
|
|
|
|
* Copyright 2003, Ulf Lamping <ulf.lamping@web.de>
|
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
2003-10-15 19:40:42 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2003-10-15 19:40:42 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* 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 2
|
|
|
|
* 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, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2003-10-15 19:40:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TOOLBAR_H__
|
|
|
|
#define __TOOLBAR_H__
|
|
|
|
|
2005-08-20 14:02:00 +00:00
|
|
|
|
2004-06-01 17:33:37 +00:00
|
|
|
/** @file
|
|
|
|
* The main toolbar.
|
2004-06-04 17:19:01 +00:00
|
|
|
* @ingroup main_window_group
|
2004-06-01 17:33:37 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** Redraw the main toolbar. Used, when user changes preferences. */
|
|
|
|
void toolbar_redraw_all(void);
|
|
|
|
|
|
|
|
/** Set object data of some buttons (where needed). It's needed so callback
|
2008-04-11 17:58:27 +00:00
|
|
|
* functions can read back their required data. Acts like g_object_set_data()
|
2004-06-01 17:33:37 +00:00
|
|
|
* on multiple buttons.
|
|
|
|
*
|
|
|
|
* @param key the key
|
|
|
|
* @param data the data to set
|
|
|
|
*/
|
2012-12-26 05:57:06 +00:00
|
|
|
void set_toolbar_object_data(const gchar *key, gpointer data);
|
2003-10-15 19:40:42 +00:00
|
|
|
|
2013-04-12 11:56:00 +00:00
|
|
|
void set_start_button_sensitive(gboolean enable);
|
|
|
|
void set_menus_capture_start_sensitivity(gboolean enable);
|
|
|
|
|
2003-10-15 19:40:42 +00:00
|
|
|
#endif /* __TOOLBAR_H__ */
|