Re: g_main_context_push_thread_default() & g_io_*()

2010-03-29 Thread A. Walton
On Mon, Mar 29, 2010 at 6:58 PM, Thomas Stover wrote: > In the documentation for g_main_context_push_thread_default(), the > following sentence appears: > > "This will cause certain asynchronous operations (such as most gio-based > I/O) which are started in this thread to run under context and del

g_main_context_push_thread_default() & g_ io_*()

2010-03-29 Thread Thomas Stover
In the documentation for g_main_context_push_thread_default(), the following sentence appears: "This will cause certain asynchronous operations (such as most gio-based I/O) which are started in this thread to run under context and deliver their results to its main loop, rather than running under t

RE: displaying a number on screen

2010-03-29 Thread Shawn Bakhtiar
Try retreiving the cairo context for the widget you want to draw in and try this: /* Create the default Layout */ layout = pango_cairo_create_layout(cr); /* Atach the font descriptor */ font_description = pango_font_description_new(); /* Setup Fonts and color and other l