From 44c0196dbf09c4e48ee4229e76382f29a8a35dd3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 10 Apr 2015 00:36:47 +0100 Subject: extend GTK 3 compatability with opacity and viewport helpers --- gtk/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/compat.h') diff --git a/gtk/compat.h b/gtk/compat.h index 0b5e02e66..eeeeac4c0 100644 --- a/gtk/compat.h +++ b/gtk/compat.h @@ -159,6 +159,10 @@ GtkWidget *nsgtk_button_new_from_stock(const gchar *stock_id); */ gboolean nsgtk_stock_lookup(const gchar *stock_id, GtkStockItem *item); +void nsgtk_window_set_opacity(GtkWindow *window, gdouble opacity); + +void nsgtk_scrolled_window_add_with_viewport(GtkScrolledWindow *window, GtkWidget *child); + GtkWidget *nsgtk_entry_new(void); void nsgtk_entry_set_icon_from_pixbuf(GtkWidget *entry, GtkEntryIconPosition icon_pos, GdkPixbuf *pixbuf); -- cgit v1.2.3