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 Oct 24, 2014 2:45 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: How to add pixmap to fixed Frame
PostPosted: Wed Mar 28, 2007 1:15 pm 
Offline
Familiar Face

Joined: Tue Feb 20, 2007 6:04 am
Posts: 12
Location: hyd
hai guys i need to add the pixmap code into fixed frame not horizantal and vertical boxes.
i am submiting the code adding the pixmap to vertical box.but i need to add the same parameters to fixed frame.

cam->pixmap = gdk_pixmap_new(NULL, cam->x, cam->y, 24);


cam->da = gtk_drawing_area_new();
gtk_drawing_area_size(GTK_DRAWING_AREA(cam->da), cam->x, cam->y);
gtk_widget_set_size_request (cam->da, cam->x, cam->y);
gtk_widget_show(cam->da);


gtk_box_pack_start(GTK_BOX(vbox1), cam->da, FALSE, FALSE, 1);
hbox1 = gtk_hbox_new(FALSE, 0);
gtk_widget_show(hbox1);
gtk_container_add(GTK_CONTAINER(vbox1), hbox1);

can u help me adding the pixmap to fixed frame.

bye
Dennis

_________________
werwrwer wer 45 45345tgdfgd f4534 rtertertert


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: Google [Bot], pneveu and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group