summaryrefslogtreecommitdiff
path: root/gtk/compat.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-10 00:36:47 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-10 00:36:47 +0100
commit44c0196dbf09c4e48ee4229e76382f29a8a35dd3 (patch)
tree06e1b2bb15bed980b93d62e5c7b3f9e37d621423 /gtk/compat.h
parent85f90899ed5fc9756fdd884b8936dc9e97c9fa09 (diff)
downloadnetsurf-44c0196dbf09c4e48ee4229e76382f29a8a35dd3.tar.gz
netsurf-44c0196dbf09c4e48ee4229e76382f29a8a35dd3.tar.bz2
extend GTK 3 compatability with opacity and viewport helpers
Diffstat (limited to 'gtk/compat.h')
-rw-r--r--gtk/compat.h4
1 files changed, 4 insertions, 0 deletions
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);