source: trunk/third/evolution/shell/e-task-bar.h @ 16787

Revision 16787, 2.1 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-task-bar.h
3 *
4 * Copyright (C) 2001  Ximian, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Author: Ettore Perazzoli <ettore@ximian.com>
21 */
22
23#ifndef _E_TASK_BAR_H_
24#define _E_TASK_BAR_H_
25
26#include "e-task-widget.h"
27
28#include <gtk/gtkhbox.h>
29
30#ifdef __cplusplus
31extern "C" {
32#pragma }
33#endif /* __cplusplus */
34
35#define E_TYPE_TASK_BAR                 (e_task_bar_get_type ())
36#define E_TASK_BAR(obj)                 (GTK_CHECK_CAST ((obj), E_TYPE_TASK_BAR, ETaskBar))
37#define E_TASK_BAR_CLASS(klass)         (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_TASK_BAR, ETaskBarClass))
38#define E_IS_TASK_BAR(obj)                      (GTK_CHECK_TYPE ((obj), E_TYPE_TASK_BAR))
39#define E_IS_TASK_BAR_CLASS(klass)              (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_TASK_BAR))
40
41
42typedef struct _ETaskBar        ETaskBar;
43typedef struct _ETaskBarPrivate ETaskBarPrivate;
44typedef struct _ETaskBarClass   ETaskBarClass;
45
46struct _ETaskBar {
47        GtkHBox parent;
48};
49
50struct _ETaskBarClass {
51        GtkHBoxClass parent_class;
52};
53
54
55GtkType      e_task_bar_get_type         (void);
56void         e_task_bar_construct        (ETaskBar    *task_bar);
57GtkWidget   *e_task_bar_new              (void);
58
59void         e_task_bar_prepend_task     (ETaskBar    *task_bar,
60                                          ETaskWidget *task_widget);
61void         e_task_bar_remove_task      (ETaskBar    *task_bar,
62                                          int          n);
63
64ETaskWidget *e_task_bar_get_task_widget  (ETaskBar    *task_bar,
65                                          int          n);
66
67#ifdef __cplusplus
68}
69#endif /* __cplusplus */
70
71#endif /* _E_TASK_BAR_H_ */
Note: See TracBrowser for help on using the repository browser.