Zoom/magnification of images in GDK

2010-04-20 Thread lindleyf
I have a GUI which shows 640x480 video frames from a firewire camera. I've gotten a request to allow the user to zoom in on a particular part of the image if they choose; the camera doesn't have a zoom feature, so this wouldn't give any better resolution, but might make things easier to see anyw

How can I programatically activate a GtkRadioToolButton?

2010-04-02 Thread lindleyf
I have a tool bar containing several GtkRadioToolButtons. Clicking on them works fine. However, I'm trying to figure out how I can activate one of them programatically. My first guess was to do gtk_widget_activate(GTK_WIDGET(radiobutton)); but that didn't work; gtk_widget_activate returned FALSE