Re:RadioMenuItem

2009-04-12 Thread 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 unselected will also send a "toggled" signal. So you can use if (gtk_toggle_button_get_active(button)) to check the state of "button" in your callback func

RadioMenuItem

2009-04-12 Thread Paolo
How can I get the state of my radiomenuitem inside a callback function? This is the situation: I've a group of two radiomenuitems; each of them holds a callbacks function that listen the toggled signal. The signal fires for both radiomenuitems if I push singleradiomenuitem. Why? And how can I fix t

Re: Drawingarea in a scrolled window

2009-04-12 Thread Dov Grobgeld
I know this is not answering your question, but you can get the same effect of the drawing area by using my GtkImageViewer widget, without an image. See the tutorial at: http://giv.sourceforge.net/gtk-image-viewer/gtkimageviewer_tutorial.html for an example. Regards, Dov 2009/4/12 Paolo > hi!

Drawingarea in a scrolled window

2009-04-12 Thread Paolo
hi! I've put a drawing area into the scrolled window. My drawing are is bigger than the scrolled window and there're problems about the refresh. How can I fix that? Please help me!! ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://m

drag and drop

2009-04-12 Thread philsjunk
I need to drag and drop from my app to the opsys desktop or folder. This is an email so it is part of a mailbox file. Or it could be some other part like an attachment of the email. does mailbox:// protocol automatically handle the drop in opsys? I find a lot of code using drag and drop but t