drawing text in gtkdrawable...

2005-08-20 Thread Marek Florianczyk
Hi, I'm using Pango to draw text, for example: double x=3,14; PangoLayout *mytext; char num[5]; sprintf(num,"%.2f",x); mytext=gtk_widget_create_pango_layout(my_drawable,num); gdk_draw_layout(pixmap,gc,450,450,mytext); works fine, but how do I draw text that I can rotate 360 degrees (eg. draw ho

newbie, very simple question

2005-08-11 Thread Marek Florianczyk
Some link to tutorial to gtk_threads, or examples about gtk_threads_enter/leave? How to write in GTK with threads? I have to, I want to, but I don't know how...:( Thanks Marek ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mai

threads in GTK+ HELP!

2005-08-08 Thread Marek Florianczyk
Hi, I've made a program using GTK+ 2.0 Program has GUI, and it calculates some mathematic equations in backgroud and after that, it draws a graph in gtk drawable, using GDK functions (it sets points in some pixels on pixmap, and on expose_event it copy pixmap to gtk_drawable) I can also load c