Re: How to make my own widget semi-transparent?

2009-04-13 Thread John Stebbins
The documentation for GdkWindow has a good example of how to do translucent widgets. http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#composited-window-example Your attachments didn't go through, so I can't say what your doing wrong. But if I had to guess, I would say you're probably

Re: Rendering lines

2009-04-13 Thread Dov Grobgeld
Slow or fast is obviously application dependent. The original poster didn't complain about speed... The most important thing is never to send to the rendering pipeline data that will not be shown. E.g. in a GIS system if you are zoomed out you don't want to draw small features. And you don't want t

Re: Rendering lines

2009-04-13 Thread Dov Grobgeld
gdk_draw_line() is deprecated. Use cairo instead. Regards, Dov 2009/4/13 Paolo > Hi! > I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The > results is good, but not enough. How can I increase the rendering? > ___ > gtk-app-deve

Re: Rendering lines

2009-04-13 Thread jcupitt
2009/4/13 Paolo : > I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The > results is good, but not enough. How can I increase the rendering? Do you mean "make it faster'? You could try: - disable gtk's automatic double buffering - try another X driver (there's often a choice

Rendering lines

2009-04-13 Thread Paolo
Hi! I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The results is good, but not enough. How can I increase the rendering? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-ap

Re: RadioMenuItem

2009-04-13 Thread donglongchao
you are always welcome.:-) 在2009-04-13,Paolo 写道: Sorry. I've fix my problem. Thanks 2009/4/13 Paolo How can I apply gtk_toggle_button_get_active() function? I have a radiomenuitem and the function needs a togglebutton 2009/4/13 donglongchao Hi, Because they are in the same group,and if

Re: RadioMenuItem

2009-04-13 Thread Paolo
Sorry. I've fix my problem. Thanks 2009/4/13 Paolo > How can I apply gtk_toggle_button_get_active() function? I have a > radiomenuitem and the function needs a togglebutton > > 2009/4/13 donglongchao > > Hi, >> Because they are in the same group,and if one is selected(or toggled), >> >> then be

Re: RadioMenuItem

2009-04-13 Thread Paolo
How can I apply gtk_toggle_button_get_active() function? I have a radiomenuitem and the function needs a togglebutton 2009/4/13 donglongchao > Hi, > Because they are in the same group,and if one is selected(or toggled), > > then before it send a "toggled" signal,the other one which becomes unsel