File indexing completed on 2024-05-05 05:34:57

0001 #ifndef oxygentabdemowidget_h
0002 #define oxygentabdemowidget_h
0003 
0004 /*
0005 * this file is part of the oxygen gtk engine
0006 * SPDX-FileCopyrightText: 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr>
0007 *
0008 * based on the Null Theme Engine for Gtk+.
0009 * SPDX-FileCopyrightText: 2008 Robert Staudinger <robert.staudinger@gmail.com>
0010 *
0011 * SPDX-License-Identifier: LGPL-2.0-or-later
0012 */
0013 
0014 #include "oxygendemowidget.h"
0015 #include "oxygensignal.h"
0016 
0017 #include <gtk/gtk.h>
0018 
0019 namespace Oxygen
0020 {
0021 
0022     class TabDemoWidget: public DemoWidget
0023     {
0024 
0025         public:
0026 
0027         //! constructor
0028         TabDemoWidget( void );
0029 
0030         //! destructor
0031         virtual ~TabDemoWidget( void );
0032 
0033         protected:
0034 
0035         //! add page to notebook
0036         void addPage( const std::string&, GtkWidget* ) const;
0037 
0038         //! orientation changed
0039         static void orientationChanged( GtkComboBox*, gpointer );
0040 
0041         private:
0042 
0043         //! tab widget
0044         GtkWidget *_notebook;
0045 
0046     };
0047 
0048 }
0049 
0050 #endif