| 1 |
/* gtkmm example Copyright (C) 2012 gtkmm development team |
| 2 |
* |
| 3 |
* This program is free software; you can redistribute it and/or modify |
| 4 |
* it under the terms of the GNU General Public License as published by |
| 5 |
* the Free Software Foundation; either version 2 of the License, or |
| 6 |
* (at your option) any later version. |
| 7 |
* |
| 8 |
* This program is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
* GNU General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU General Public License along |
| 14 |
* with this program; if not, see <https://www.gnu.org/licenses/>. |
| 15 |
*/ |
| 16 |
|
| 17 |
#ifndef GTKMM_EXAMPLEWINDOW_H |
| 18 |
#define GTKMM_EXAMPLEWINDOW_H |
| 19 |
|
| 20 |
#include <gtkmm/window.h> |
| 21 |
#include <gtkmm/box.h> |
| 22 |
#include <gtkmm/checkbutton.h> |
| 23 |
#include "myarea.h" |
| 24 |
|
| 25 |
class ExampleWindow : public Gtk::Window |
| 26 |
{ |
| 27 |
public: |
| 28 |
ExampleWindow(); |
| 29 |
virtual ~ExampleWindow(); |
| 30 |
|
| 31 |
protected: |
| 32 |
//Signal handlers: |
| 33 |
void on_button_toggled(); |
| 34 |
|
| 35 |
private: |
| 36 |
Gtk::Box m_HBox; |
| 37 |
MyArea m_Area_Lines; |
| 38 |
Gtk::CheckButton m_Button_FixLines; |
| 39 |
}; |
| 40 |
|
| 41 |
#endif //GTKMM_EXAMPLEWINDOW_H |