[gtkmm/gtkmm-3-24] Gtk::Window: Wrap gtk_show_uri_on_window()



commit c9a6a3c8f664111c22c40218cf542fa913028de7
Author: Daniel Boles <dboles src gmail com>
Date:   Sun Nov 4 17:12:42 2018 +0100

    Gtk::Window: Wrap gtk_show_uri_on_window()
    
    This is a very useful function that gtkmm did not wrap until now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787242

 gtk/src/window.hg | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index 1a5d336f..9374d406 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -396,6 +396,10 @@ dnl
 
   _WRAP_METHOD(bool is_maximized() const, gtk_window_is_maximized)
 
+  // from gtk/gtkshow.h:
+  _WRAP_METHOD(void show_uri(const Glib::ustring& uri, guint32 timestamp),
+    gtk_show_uri_on_window, errthrow, newin "3,24")
+
 _DEPRECATE_IFDEF_START
   /** Returns a default accel group for this window.
    * This is a gtkmm-specific function.


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