Re: regarding gtk and x11 componenets

2010-03-19 Thread Tor Lillqvist
> I am trying to build gtk-directfb on phoneme …. Why do you assume people would know what "phoneme" is? > how to replace these with similar functions of gtk …… By asking for help on the Interwebs? Or by doing the research and coding required yourself? Which approach would you be more proud of?

RE: how to draw something on GtkDrawingArea when I click a button?

2010-03-19 Thread Shawn Bakhtiar
As a matter of fact. I would suggest using Cairo. Which will allow you to then draw in any context (IE Printer, PDF, etc...) /* Local Variables */ cairo_t *cr;/* Rendering context derived from widget */ /* Get the context to which we need to draw */ cr = gdk_cairo_crea

Re: how to draw something on GtkDrawingArea when I click a button?

2010-03-19 Thread Tolic Ma
On Fri, Mar 19, 2010 at 2:46 PM, Claudio Saavedra wrote: > El vie, 19-03-2010 a las 13:34 +0800, Tolic Ma escribió: > > Hi,everyone! > > > > I want to draw something on GtkDrawingArea when I click a GtkButton,but I > > don't know how to do this... > > > > this is my code(it doesn't work...): > > >

Ho to use PangoContext returned by pango_xft_get_context()?

2010-03-19 Thread Vitaly V. Ch
Hi All! If I try to use PangoContext returned by pango_xft_get_context() my application SegFault via uninitialized some internal pointer in PangoContext. But if I use gtk_widget_get_pango_context() - all work success. Any ideas or examples? \\wbr Vitaly Chernookiy __