1 /* 2 * Copyright © 2011 Red Hat, Inc. 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 15 * along with this program; if not, see <http://www.gnu.org/licenses/>. 16 * 17 * Authors: Peter Hutterer <peter.hutterer@redhat.com> 18 * Bastien Nocera <hadess@hadess.net> 19 */ 20 21 #pragma once 22 23 #include <gtk/gtk.h> 24 #include "cc-wacom-tool.h" 25 26 G_BEGIN_DECLS 27 28 #define CC_TYPE_WACOM_STYLUS_PAGE (cc_wacom_stylus_page_get_type ()) 29 G_DECLARE_FINAL_TYPE (CcWacomStylusPage, cc_wacom_stylus_page, CC, WACOM_STYLUS_PAGE, GtkBox) 30 31 GtkWidget * cc_wacom_stylus_page_new (CcWacomTool *stylus); 32 33 CcWacomTool * cc_wacom_stylus_page_get_tool (CcWacomStylusPage *page); 34 35 void cc_wacom_stylus_page_set_navigation (CcWacomStylusPage *page, 36 GtkNotebook *notebook); 37 38 G_END_DECLS 39