[gtkmm] Add missing files.



commit 2bcb6147b9eb821a140c9a573f58323e2bcc60b9
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Feb 29 10:01:06 2012 +0100

    Add missing files.

 gtk/src/applicationwindow.ccg |   25 ++++++++++++++++++++
 gtk/src/applicationwindow.hg  |   51 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/applicationwindow.ccg b/gtk/src/applicationwindow.ccg
new file mode 100644
index 0000000..1043db9
--- /dev/null
+++ b/gtk/src/applicationwindow.ccg
@@ -0,0 +1,25 @@
+/* Copyright 2012 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <gtkmm/applicationwindow.h>
+
+namespace Gtk
+{
+
+
+
+} // namespace Gtk
diff --git a/gtk/src/applicationwindow.hg b/gtk/src/applicationwindow.hg
new file mode 100644
index 0000000..47c6733
--- /dev/null
+++ b/gtk/src/applicationwindow.hg
@@ -0,0 +1,51 @@
+/* Copyright (C) 2012 The gtkmm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+_CONFIGINCLUDE(gtkmmconfig.h)
+
+#include <gtkmm/window.h>
+#include <giomm/actiongroup.h>
+#include <giomm/actionmap.h>
+
+_DEFS(gtkmm,gtk)
+_PINCLUDE(gtkmm/private/window_p.h)
+
+namespace Gtk
+{
+
+/** TODO
+ */
+class ApplicationWindow
+: public Gtk::Window,
+  public Gio::ActionGroup,
+  public Gio::ActionMap
+{
+  _CLASS_GOBJECT(ApplicationWindow, GtkApplicationWindow, GTK_APPLICATION_WINDOW, Gtk::Window, GtkWindow)
+  _IMPLEMENTS_INTERFACE(Gio::ActionGroup)
+  _IMPLEMENTS_INTERFACE(Gio::ActionMap)
+
+public:
+  _CTOR_DEFAULT
+  _WRAP_CTOR(ApplicationWindow(const Glib::RefPtr<Application>& application), gtk_application_window_new)
+
+  _WRAP_METHOD(void set_show_menubar(bool show_menubar = true), gtk_application_window_set_show_menubar)
+  _WRAP_METHOD(bool get_show_menubar() const, gtk_application_window_get_show_menubar)
+
+  _WRAP_PROPERTY("show-menubar", bool)
+};
+
+} // namespace Gtk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]