~ubuntu-branches/ubuntu/precise/xfce4-panel/precise

« back to all changes in this revision

Viewing changes to panel/panel-window.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 15:45:53 UTC
  • mto: (4.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 50.
  • Revision ID: james.westby@ubuntu.com-20101204154553-f452gq02eiksf09f
Tags: upstream-4.7.5
ImportĀ upstreamĀ versionĀ 4.7.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2008 Nick Schermer <nick@xfce.org>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
17
 */
 
18
 
 
19
#ifndef __PANEL_WINDOW_H__
 
20
#define __PANEL_WINDOW_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
 
 
24
G_BEGIN_DECLS
 
25
 
 
26
typedef struct _PanelWindowClass PanelWindowClass;
 
27
typedef struct _PanelWindow      PanelWindow;
 
28
 
 
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))
 
35
 
 
36
GType      panel_window_get_type         (void) G_GNUC_CONST;
 
37
 
 
38
GtkWidget *panel_window_new              (void) G_GNUC_MALLOC;
 
39
 
 
40
void       panel_window_set_povider_info (PanelWindow *window,
 
41
                                          GtkWidget   *provider);
 
42
 
 
43
void       panel_window_freeze_autohide  (PanelWindow *window);
 
44
 
 
45
void       panel_window_thaw_autohide    (PanelWindow *window);
 
46
 
 
47
void       panel_window_set_locked       (PanelWindow *window,
 
48
                                          gboolean     locked);
 
49
 
 
50
gboolean   panel_window_get_locked       (PanelWindow *window);
 
51
 
 
52
void       panel_window_focus            (PanelWindow *window);
 
53
 
 
54
G_END_DECLS
 
55
 
 
56
#endif /* !__PANEL_WINDOW_H__ */