GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to add pixmap to fixed Frame

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
dennisWonders
Familiar Face


Joined: 20 Feb 2007
Posts: 12
Location: hyd

PostPosted: Wed Mar 28, 2007 1:15 pm    Post subject: How to add pixmap to fixed Frame Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP