How do I run gtk demos?
- by Runner
They are located under:
share\gtk-2.0\demo
But none of them contains a main function, how can I make the following textscroll.c actually work:
/* Text Widget/Automatic scrolling
*
* This example demonstrates how to use the gravity of
* GtkTextMarks to keep a text view scrolled to the bottom
* while appending text.
*/
#include…