[gtkmm] Add ApplicationWindow.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Add ApplicationWindow.
- Date: Wed, 29 Feb 2012 08:51:54 +0000 (UTC)
commit b91c71f18dced08da502dd80fa3fb0f205354087
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Feb 29 09:51:44 2012 +0100
Add ApplicationWindow.
* tools/extra_defs_gen/generate_defs_gtk.cc: Mention GtkApplicationWindow.
* gtk/src/gtk_signals.defs: Add defs for GtkApplicationWindow.
* gtk/src/filelist.am:
* gtk/src/applicationwindow.[hg|ccg]: Add Gtk::ApplicationWindow.
ChangeLog | 11 +++++++++++
gtk/src/application.hg | 1 +
gtk/src/filelist.am | 1 +
gtk/src/gtk_signals.defs | 11 +++++++++++
tools/extra_defs_gen/generate_defs_gtk.cc | 1 +
5 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e1efc17..db80b1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-02-29 Murray Cumming <murrayc murrayc com>
+
+ Add ApplicationWindow.
+
+ * tools/extra_defs_gen/generate_defs_gtk.cc: Mention GtkApplicationWindow.
+ * gtk/src/gtk_signals.defs: Add defs for GtkApplicationWindow.
+ * gtk/src/filelist.am:
+ * gtk/src/applicationwindow.[hg|ccg]: Add Gtk::ApplicationWindow.
+
+3.3.16:
+
2012-02-28 Mark Vender <markv743 yahoo co uk>
Wrap several missing methods in Gtk::Grid.
diff --git a/gtk/src/application.hg b/gtk/src/application.hg
index eb5e055..c1bc608 100644
--- a/gtk/src/application.hg
+++ b/gtk/src/application.hg
@@ -50,6 +50,7 @@ protected:
*/
explicit Application(const Glib::ustring& application_id, Gio::ApplicationFlags flags = Gio::APPLICATION_FLAGS_NONE);
_IGNORE(gtk_application_new)
+ _IGNORE(gtk_application_window_new)
//This constructor does not correspond to anything in the C API.
//We added it so we can choose to always initialize gtkmm as early as possible.
diff --git a/gtk/src/filelist.am b/gtk/src/filelist.am
index d1fef89..929c06e 100644
--- a/gtk/src/filelist.am
+++ b/gtk/src/filelist.am
@@ -28,6 +28,7 @@ gtkmm_files_any_hg = \
appchooserdialog.hg \
appchooserwidget.hg \
application.hg \
+ applicationwindow.hg \
arrow.hg \
aspectframe.hg \
assistant.hg \
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 7914541..598eaa4 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -1061,6 +1061,17 @@
(construct-only #f)
)
+;; From GtkApplicationWindow
+
+(define-property show-menubar
+ (of-object "GtkApplicationWindow")
+ (prop-type "GParamBoolean")
+ (docs "TRUE if the window should show a menubar at the top of the window")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
;; From GtkArrow
(define-property arrow-type
diff --git a/tools/extra_defs_gen/generate_defs_gtk.cc b/tools/extra_defs_gen/generate_defs_gtk.cc
index bb26ce7..da8174d 100644
--- a/tools/extra_defs_gen/generate_defs_gtk.cc
+++ b/tools/extra_defs_gen/generate_defs_gtk.cc
@@ -68,6 +68,7 @@ int main(int argc, char** argv)
<< get_defs( GTK_TYPE_APP_CHOOSER_DIALOG )
<< get_defs( GTK_TYPE_APP_CHOOSER_WIDGET )
<< get_defs( GTK_TYPE_APPLICATION )
+ << get_defs( GTK_TYPE_APPLICATION_WINDOW )
<< get_defs( GTK_TYPE_ARROW )
<< get_defs( GTK_TYPE_ASPECT_FRAME )
<< get_defs( GTK_TYPE_ASSISTANT )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]