[gtkmm] Entry: Added get_text_window() and get_icon_window().



commit a18f6abca36b566f04524c214446af480b45e9e9
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jan 25 09:00:34 2010 +0100

    Entry: Added get_text_window() and get_icon_window().
    
    * gtk/src/entry.hg: Added get_text_window() and get_icon_window().

 ChangeLog        |    6 ++++++
 gtk/src/entry.hg |    5 +++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 939e137..4f67e3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-01-25  Murray Cumming  <murrayc murrayc com>
+
+	Entry: Added get_text_window() and get_icon_window().
+
+	* gtk/src/entry.hg: Added get_text_window() and get_icon_window().
+
 2010-01-19  Murray Cumming  <murrayc murrayc com>
 
 	Updated gtk_docs.xml to get API reference for new methods.
diff --git a/gtk/src/entry.hg b/gtk/src/entry.hg
index 1781a86..e180d8b 100644
--- a/gtk/src/entry.hg
+++ b/gtk/src/entry.hg
@@ -63,6 +63,8 @@ public:
   _CTOR_DEFAULT
   
 
+  _WRAP_METHOD(Glib::RefPtr<Gdk::Window> get_text_window(), gtk_entry_get_text_window, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Gdk::Window> get_text_window() const, gtk_entry_get_text_window, refreturn, constversion)
   _WRAP_METHOD(void set_visibility(bool visible = true), gtk_entry_set_visibility)
   _WRAP_METHOD(bool get_visibility() const, gtk_entry_get_visibility)
   _WRAP_METHOD(void set_invisible_char(gunichar ch), gtk_entry_set_invisible_char)
@@ -162,6 +164,9 @@ public:
     
   _WRAP_METHOD(int get_current_icon_drag_source(), gtk_entry_get_current_icon_drag_source)
 
+  _WRAP_METHOD(Glib::RefPtr<Gdk::Window> get_icon_window(EntryIconPosition icon_pos = ENTRY_ICON_PRIMARY), gtk_entry_get_icon_window, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Gdk::Window> get_icon_window(EntryIconPosition icon_pos = ENTRY_ICON_PRIMARY) const, gtk_entry_get_icon_window, refreturn, constversion)
+
   _WRAP_SIGNAL(void populate_popup(Menu* menu), "populate_popup")
 
 #m4 _CONVERSION(`const char*',`const Glib::ustring&',__GCHARP_TO_USTRING)



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