Drawing thumbnails for non visible widgets

2016-01-29 Thread Gerald Nunn
I have a Notebook in my application and instead of using tabs I would like to show the user a ListBox with a set of thumbnails one for each page. Drawing the currently visible page is no problem, however the pages that are not visible are proving challenging. My current code is shown below and use

Workaround for too-fast tooltips

2016-01-29 Thread Richard Shann
Here are two macros that developers may need when building with GTK versions above 3.10 They replace the tooltip system with a call to a custom display of the tooltip. #define gtk_widget_set_tooltip_text(w, t) {gchar *tip = g_strdup(t);g_object_set_data(G_OBJECT(w), "tooltip", (gpointer)tip);g