/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* e-sidebar.h * * Copyright (C) 2003 Ettore Perazzoli * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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 Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * Author: Ettore Perazzoli */ #ifndef _E_SIDEBAR_H_ #define _E_SIDEBAR_H_ #include #define E_TYPE_SIDEBAR (e_sidebar_get_type ()) #define E_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TYPE_SIDEBAR, ESidebar)) #define E_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TYPE_SIDEBAR, ESidebarClass)) #define E_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_SIDEBAR)) #define E_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_SIDEBAR)) typedef struct _ESidebar ESidebar; typedef struct _ESidebarPrivate ESidebarPrivate; typedef struct _ESidebarClass ESidebarClass; typedef enum { E_SIDEBAR_MODE_TEXT, E_SIDEBAR_MODE_ICON, E_SIDEBAR_MODE_BOTH, E_SIDEBAR_MODE_TOOLBAR } ESidebarMode; struct _ESidebar { GtkContainer parent; ESidebarPrivate *priv; }; struct _ESidebarClass { GtkContainerClass parent_class; /* signals */ void (* button_selected) (ESidebar *sidebar, int id); void (* button_pressed) (ESidebar *sidebar, GdkEventButton *event, int id); }; GType e_sidebar_get_type (void); GtkWidget *e_sidebar_new (void); void e_sidebar_set_selection_widget (ESidebar *sidebar, GtkWidget *widget); void e_sidebar_add_button (ESidebar *sidebar, const char *label, const char *tooltips, GdkPixbuf *icon, int id); void e_sidebar_select_button (ESidebar *sidebar, int id); void e_sidebar_change_button_icon (ESidebar *sidebar, GdkPixbuf *icon, int button_id); ESidebarMode e_sidebar_get_mode (ESidebar *sidebar); void e_sidebar_set_mode (ESidebar *sidebar, ESidebarMode mode); void e_sidebar_set_show_buttons (ESidebar *sidebar, gboolean show); gboolean e_sidebar_get_show_buttons (ESidebar *sidebar); #endif /* _E_SIDEBAR_H_ */ t-snmp53?id=a310555ac833c9416fa15fdc932e8437b7a9c8ae'>diffstats
Commit message (Expand)AuthorAgeFilesLines
* Fix the problem which cannot get ifPhysAddress value.kuriyama2005-04-072-1/+294
* (1) Fix memory leak by connections from <UNKNOWN>.kuriyama2005-03-223-3/+59
* - Remove 0 sized patchfile.kuriyama2005-02-051-0/+0
* - Update to 5.2.1.kuriyama2005-01-2632-24/+358
* Update maintainer's note to record ports which should be bumped afterkuriyama2004-12-091-1/+1
* - Add missing patch files in previos commitkuriyama2004-12-085-0/+47
* Remove empty patches.krion2004-12-062-0/+0
* - Upgrade to 5.2.kuriyama2004-11-29085b40c3172a5f066f438ac893&showmsg=1'>Expand)AuthorAgeFilesLines
* - Set username to descr during interface is in use.ume2014-05-294-8/+105
* Make ${dtcps_fib} work.ume2014-05-203-1/+73
* Update LICENSE.ume2013-12-311-1/+1
* Fix packaging as a userbapt2013-10-311-1/+1
* - enable stage.ume2013-10-052-13/+25
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Trim Makefile header.ume2013-06-021-5/+0
* Update to 20130602 which has Ruby 1.9 awareness.ume2013-06-022-4/+3
* Move the rc.d scripts of the form *.sh.in to *.indougb2012-08-063-1/+1
* Update master site.ume2012-07-262-2/+2
* In the rc.d scripts, change assignments to rcvar to use thedougb2012-01-142-2/+2
* Remove more tags from pkg-descr files fo the form:dougb2011-10-241-2/+0
* It doesn't work with Ruby 1.9.ume2011-08-211-0/+1
* - Get Rid MD5 supportmiwi2011-03-201-1/+0
* Begin the process of deprecating sysutils/rc_subr bydougb2010-03-272-2/+2
* Fix a few "bad example" problems in the rc.d scripts that have beendougb2009-07-162-19/+7
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.dougb2006-02-212-2/+2
* Update to 20060109.ume2006-02-072-5/+5
* don't show obsolete message.ume2005-12-181-8/+0
* depend on qpopper only when WITH_QPOPAUTH is defined.ume2005-12-181-2/+2
* add SHA256.ume2005-11-091-0/+1
* Update to 20050521.ume2005-05-212-4/+4
* use new scheme of USE_RC_SUBR.ume2005-02-113-16/+6
* use PLIST_FILES.ume2005-02-042-5/+3
* use `command_args' instead of overriding `flags'.ume2004-06-113-3/+3
* Update to 20040611.ume2004-06-112-3/+3
* provide homepage.ume2004-06-091-0/+2
* Update to 20040608.ume2004-06-082-9/+7
* Use USE_RC_SUBR.ume2004-04-204-7/+126
* add http://home.jp.FreeBSD.org/~ume/ipv6/ for MASTER_SITES.ume2004-02-221-1/+2
* SIZEfyume2004-02-041-0/+1
* ECHO -> ECHO_MSGume2003-09-271-4/+4
* Use pre-everything:: instead of pre-everything: to avoid conflict withkris2003-03-011-1/+1
* Update to 20030228.ume2003-02-28