GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Nov 21, 2014 7:08 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to change a size of an image by one click on it?
PostPosted: Thu Dec 15, 2011 11:58 am 
Offline
Familiar Face

Joined: Mon Oct 17, 2011 10:18 am
Posts: 26
Hello All,

Background:
I have a GtkWidget (table) that contains 4 GdkPixbufs, each one of which contains an IplImage.
What is actually seen in the screen is a real time video stream from four cameras.

My goal:
Maximise an image (each one of the 4 above), in such a way it will occupy the whole grid (2X2), and vice versa.
I want to do it by one or double click.

The questions:
Where should I start from? Where can I see examples for this? Which libraries/APIĀ“s are needed to achieve the above goal?

Thank you all for your help,
Felix.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group