BasicItem:
[simple-launcher] / settings-page-entries.h
1 // This file is a part of Simple Launcher
2 //
3 // Copyright (C) 2006, 2007, Mikhail Sobolev
4 //
5 // Simple Launcher is free software; you can redistribute it and/or modify it
6 // under the terms of the GNU General Public License version 2 as published by
7 // the Free Software Foundation.
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., 51
16 // Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
18 #ifndef _SETTINGS_PAGE_ENTRIES_H_
19 #define _SETTINGS_PAGE_ENTRIES_H_
20
21 #include <gtk/gtksizegroup.h>
22
23 #include "dialog-entry.h"
24 #include "settings-page.h"
25
26 class SettingsPageWithEntries : public SettingsPage {
27 public:
28   SettingsPageWithEntries();
29  ~SettingsPageWithEntries();
30
31   GtkWidget *getWidget() const { return myBox; }
32
33   void addEntry(SettingsDialogEntry *);
34
35 private:
36   GtkWidget *myBox;
37   GtkSizeGroup *myGroup;
38 };
39
40 #endif
41
42 // vim:ts=2:sw=2:et