[gtkmm] Added Added set_icon(Gio::Icon). Regenerated signal/properties defs.



commit b565085f02e4f9a6b3ac158936630e7abc79d4c4
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Feb 23 11:24:22 2010 +0100

    Added Added set_icon(Gio::Icon). Regenerated signal/properties defs.
    
    * gtk/src/gtk_signals.defs: Regenerated (Well, copied regenerated
    parts in to it) with extra_defs_gen.
    * gtk/src/tooltip.hg: Added set_icon(Gio::Icon).

 ChangeLog                |    8 ++++++
 gtk/src/gtk_signals.defs |   54 ++++++++++++++++++++++++++++++++++++++++++++++
 gtk/src/tooltip.hg       |    5 ++++
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bb61319..eedac49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-02-23  Murray Cumming  <murrayc murrayc com>
 
+	Added Added set_icon(Gio::Icon). Regenerated signal/properties defs.
+
+	* gtk/src/gtk_signals.defs: Regenerated (Well, copied regenerated
+	parts in to it) with extra_defs_gen.
+	* gtk/src/tooltip.hg: Added set_icon(Gio::Icon).
+
+2010-02-23  Murray Cumming  <murrayc murrayc com>
+
 	Added new methods to wrap new C functions.
 
 	* gtk/src/gtk_methods.defs: Regenerated with h2defs.py
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index e4e0963..70c5248 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -1889,6 +1889,16 @@
   (construct-only #f)
 )
 
+(define-property always-show-image
+  (of-object "GtkAction")
+  (prop-type "GParamBoolean")
+  (docs "Whether the image will always be shown")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
+
 ;; From GtkActionGroup
 
 (define-signal connect-proxy
@@ -5743,6 +5753,15 @@
   (construct-only #f)
 )
 
+(define-property always-show-image
+  (of-object "GtkToggleAction")
+  (prop-type "GParamBoolean")
+  (docs "Whether the image will always be shown")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property draw-as-radio
   (of-object "GtkCheckMenuItem")
   (prop-type "GParamBoolean")
@@ -34845,6 +34864,15 @@
   (construct-only #f)
 )
 
+(define-property gtk-auto-mnemonics
+  (of-object "GtkSettings")
+  (prop-type "GParamBoolean")
+  (docs "Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property gtk-button-images
   (of-object "GtkSettings")
   (prop-type "GParamBoolean")
@@ -35441,6 +35469,15 @@
   )
 )
 
+(define-property editing-canceled
+  (of-object "GtkSpinButton")
+  (prop-type "GParamBoolean")
+  (docs "Indicates that editing has been canceled")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
+
 (define-property user-data
   (of-object "GtkSpinButton")
   (prop-type "GParamPointer")
@@ -40035,6 +40072,15 @@
   (when "last")
 )
 
+(define-signal preedit-changed
+  (of-object "GtkTextView")
+  (return-type "void")
+  (when "last")
+  (parameters
+    '("const-gchar*" "p0")
+  )
+)
+
 (define-property user-data
   (of-object "GtkTextView")
   (prop-type "GParamPointer")
@@ -43854,3 +43900,11 @@
   (construct-only #f)
 )
 
+(define-property mnemonics-visible
+  (of-object "GtkWindow")
+  (prop-type "GParamBoolean")
+  (docs "Whether mnemonics are currently visible in this window")
+  (readable #t)
+  (writable #t)
+  (construct-only #f)
+)
diff --git a/gtk/src/tooltip.hg b/gtk/src/tooltip.hg
index e2868e9..5942c3c 100644
--- a/gtk/src/tooltip.hg
+++ b/gtk/src/tooltip.hg
@@ -16,6 +16,7 @@
  */
 
 #include <glibmm/object.h>
+#include <giomm/icon.h>
 #include <gdkmm/pixbuf.h>
 #include <gtkmm/enums.h>
 #include <gtkmm/widget.h>
@@ -80,9 +81,13 @@ public:
   _WRAP_METHOD(void set_markup(const Glib::ustring& markup), gtk_tooltip_set_markup)
   _WRAP_METHOD(void set_text(const Glib::ustring& markup), gtk_tooltip_set_text)
   _WRAP_METHOD(void set_icon(const Glib::RefPtr<Gdk::Pixbuf>& pixbuf), gtk_tooltip_set_icon)
+  _WRAP_METHOD(void set_icon(const Glib::RefPtr<Gio::Icon>& icon, IconSize size), gtk_tooltip_set_icon_from_gicon)
+
+  //TODO: Remove the _from_*() suffixes?
   _WRAP_METHOD(void set_icon_from_stock(const StockID& stock_id, IconSize size), gtk_tooltip_set_icon_from_stock)
   _WRAP_METHOD(void set_icon_from_icon_name(const Glib::ustring& icon_name, IconSize size), gtk_tooltip_set_icon_from_icon_name)
 
+
   _WRAP_METHOD(void set_custom(Widget& custom_widget), gtk_tooltip_set_custom)
   _WRAP_METHOD(void set_tip_area(const Gdk::Rectangle& rect), gtk_tooltip_set_tip_area)
 



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