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

« back to all changes in this revision

Viewing changes to plugins/pager/pager-buttons.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) 2010 Nick Schermer <nick@xfce.org>
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License as published by the Free
 
6
 * Software Foundation; either version 2 of the License, or (at your option)
 
7
 * any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful, but WITHOUT
 
10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 
12
 * more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along with
 
15
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
16
 * Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 */
 
18
 
 
19
#ifndef __PAGER_BUTTONS_H__
 
20
#define __PAGER_BUTTONS_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
#include <libwnck/libwnck.h>
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
27
typedef struct _PagerButtonsClass PagerButtonsClass;
 
28
typedef struct _PagerButtons      PagerButtons;
 
29
 
 
30
#define XFCE_TYPE_PAGER_BUTTONS            (pager_buttons_get_type ())
 
31
#define XFCE_PAGER_BUTTONS(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), XFCE_TYPE_PAGER_BUTTONS, PagerButtons))
 
32
#define XFCE_PAGER_BUTTONS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), XFCE_TYPE_PAGER_BUTTONS, PagerButtonsClass))
 
33
#define XFCE_IS_PAGER_BUTTONS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XFCE_TYPE_PAGER_BUTTONS))
 
34
#define XFCE_IS_PAGER_BUTTONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XFCE_TYPE_PAGER_BUTTONS))
 
35
#define XFCE_PAGER_BUTTONS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), XFCE_TYPE_PAGER_BUTTONS, PagerButtonsClass))
 
36
 
 
37
GType      pager_buttons_get_type        (void) G_GNUC_CONST;
 
38
 
 
39
void       pager_buttons_register_type   (XfcePanelTypeModule *type_module);
 
40
 
 
41
GtkWidget *pager_buttons_new             (WnckScreen          *screen) G_GNUC_MALLOC;
 
42
 
 
43
void       pager_buttons_set_orientation (PagerButtons        *pager,
 
44
                                          GtkOrientation       orientation);
 
45
 
 
46
void       pager_buttons_set_n_rows      (PagerButtons        *pager,
 
47
                                          gint                 rows);
 
48
 
 
49
G_END_DECLS
 
50
 
 
51
#endif /* !__PAGER_BUTTONS_H__ */