[gtkmm-documentation] Use Gtk::ApplicationWindow.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Use Gtk::ApplicationWindow.
- Date: Wed, 29 Feb 2012 09:51:32 +0000 (UTC)
commit b2212febb7c175fd51713adef53ddecfeae1f088
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Feb 29 10:51:04 2012 +0100
Use Gtk::ApplicationWindow.
* examples/book/application/command_line_handling/examplewindow.h:
* examples/book/application/simple/examplewindow.h:
* examples/book/base/base.cc: Use ApplicationWindow instead of
Window.
ChangeLog | 9 +++++++++
.../command_line_handling/examplewindow.h | 2 +-
examples/book/application/simple/examplewindow.h | 2 +-
examples/book/base/base.cc | 2 +-
4 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9ca3095..dfb13f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-02-29 Murray Cumming <murrayc murrayc com>
+
+ Use Gtk::ApplicationWindow.
+
+ * examples/book/application/command_line_handling/examplewindow.h:
+ * examples/book/application/simple/examplewindow.h:
+ * examples/book/base/base.cc: Use ApplicationWindow instead of
+ Window.
+
2012-02-28 Murray Cumming <murrayc murrayc com>
Spanish translation: Correct some markup.
diff --git a/examples/book/application/command_line_handling/examplewindow.h b/examples/book/application/command_line_handling/examplewindow.h
index 80fc00f..1180135 100644
--- a/examples/book/application/command_line_handling/examplewindow.h
+++ b/examples/book/application/command_line_handling/examplewindow.h
@@ -19,7 +19,7 @@
#include <gtkmm.h>
-class ExampleWindow: public Gtk::Window
+class ExampleWindow: public Gtk::ApplicationWindow
{
public:
diff --git a/examples/book/application/simple/examplewindow.h b/examples/book/application/simple/examplewindow.h
index 80fc00f..1180135 100644
--- a/examples/book/application/simple/examplewindow.h
+++ b/examples/book/application/simple/examplewindow.h
@@ -19,7 +19,7 @@
#include <gtkmm.h>
-class ExampleWindow: public Gtk::Window
+class ExampleWindow: public Gtk::ApplicationWindow
{
public:
diff --git a/examples/book/base/base.cc b/examples/book/base/base.cc
index 676bde2..37b10f5 100644
--- a/examples/book/base/base.cc
+++ b/examples/book/base/base.cc
@@ -6,7 +6,7 @@ int main(int argc, char *argv[])
Gtk::Application::create(argc, argv,
"org.gtkmm.examples.base");
- Gtk::Window window;
+ Gtk::ApplicationWindow window;
return app->run(window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]