dennisWonders Familiar Face
Joined: 20 Feb 2007 Posts: 12 Location: hyd
|
Posted: Wed Mar 28, 2007 1:15 pm Post subject: How to add pixmap to fixed Frame |
|
|
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 |
|