2
* Copyright (C) 2008 Nick Schermer <nick@xfce.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
#ifndef __PANEL_WINDOW_H__
20
#define __PANEL_WINDOW_H__
26
typedef struct _PanelWindowClass PanelWindowClass;
27
typedef struct _PanelWindow PanelWindow;
29
#define PANEL_TYPE_WINDOW (panel_window_get_type ())
30
#define PANEL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PANEL_TYPE_WINDOW, PanelWindow))
31
#define PANEL_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANEL_TYPE_WINDOW, PanelWindowClass))
32
#define PANEL_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PANEL_TYPE_WINDOW))
33
#define PANEL_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANEL_TYPE_WINDOW))
34
#define PANEL_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANEL_TYPE_WINDOW, PanelWindowClass))
36
GType panel_window_get_type (void) G_GNUC_CONST;
38
GtkWidget *panel_window_new (void) G_GNUC_MALLOC;
40
void panel_window_set_povider_info (PanelWindow *window,
43
void panel_window_freeze_autohide (PanelWindow *window);
45
void panel_window_thaw_autohide (PanelWindow *window);
47
void panel_window_set_locked (PanelWindow *window,
50
gboolean panel_window_get_locked (PanelWindow *window);
52
void panel_window_focus (PanelWindow *window);
56
#endif /* !__PANEL_WINDOW_H__ */