[gtkmm] Gtk::Window: Deprecate parse_geometry() and set_default_geometry()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Window: Deprecate parse_geometry() and set_default_geometry()
- Date: Tue, 16 Feb 2016 19:09:06 +0000 (UTC)
commit e009eea29a9c0d7668ecab958fd517fe3dc35fce
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue Feb 16 20:06:18 2016 +0100
Gtk::Window: Deprecate parse_geometry() and set_default_geometry()
gtk/src/window.hg | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index fdd29b1..b52fb97 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -32,7 +32,7 @@ namespace Gtk
class AccelGroup;
class WindowGroup;
-/** Toplevel Window
+/** Toplevel Window.
* This represents all widgets which are physical windows controlled
* by the window manager.
*
@@ -354,10 +354,10 @@ dnl
_WRAP_METHOD(void get_position(int& root_x, int& root_y) const,
gtk_window_get_position)
- _WRAP_METHOD(bool parse_geometry(const Glib::ustring& geometry),
- gtk_window_parse_geometry)
-
- _WRAP_METHOD(void set_default_geometry(int width, int height), gtk_window_set_default_geometry)
+ _WRAP_METHOD(bool parse_geometry(const Glib::ustring& geometry), gtk_window_parse_geometry,
+ deprecated "Geometry handling in GTK is deprecated.")
+ _WRAP_METHOD(void set_default_geometry(int width, int height), gtk_window_set_default_geometry,
+ deprecated "This function does nothing. If you want to set a default size, use set_default_size()
instead.")
_WRAP_METHOD(void resize_to_geometry(int width, int height), gtk_window_resize_to_geometry,
deprecated "This function does nothing. Use resize() and compute the geometry yourself.")
@@ -368,7 +368,8 @@ dnl
_WRAP_METHOD(WindowType get_window_type() const, gtk_window_get_window_type)
- _WRAP_METHOD(void reshow_with_initial_size(), gtk_window_reshow_with_initial_size, deprecated "GUI
builders can call Widget::hide(), Widget::unrealize() and then Widget::show() themselves, if they still need
this functionality.")
+ _WRAP_METHOD(void reshow_with_initial_size(), gtk_window_reshow_with_initial_size,
+ deprecated "GUI builders can call Widget::hide(), Widget::unrealize() and then Widget::show()
themselves, if they still need this functionality.")
_WRAP_METHOD(Glib::RefPtr<Application> get_application(), gtk_window_get_application, refreturn)
_WRAP_METHOD(Glib::RefPtr<const Application> get_application() const, gtk_window_get_application,
refreturn)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]