2
* Copyright (c) 2010 Nick Schermer <nick@xfce.org>
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)
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
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
19
#ifndef __PAGER_BUTTONS_H__
20
#define __PAGER_BUTTONS_H__
23
#include <libwnck/libwnck.h>
27
typedef struct _PagerButtonsClass PagerButtonsClass;
28
typedef struct _PagerButtons PagerButtons;
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))
37
GType pager_buttons_get_type (void) G_GNUC_CONST;
39
void pager_buttons_register_type (XfcePanelTypeModule *type_module);
41
GtkWidget *pager_buttons_new (WnckScreen *screen) G_GNUC_MALLOC;
43
void pager_buttons_set_orientation (PagerButtons *pager,
44
GtkOrientation orientation);
46
void pager_buttons_set_n_rows (PagerButtons *pager,
51
#endif /* !__PAGER_BUTTONS_H__ */