bitmap trouble
- From: Elumeze Nwanua <nwanua makaha colorado edu>
- To: gtk-list redhat com
- Subject: bitmap trouble
- Date: Sun, 12 Jul 1998 01:51:54 -0600 (MDT)
Forwarded message:
>From nwanua@makaha.colorado.edu Sun Jul 12 01:50 MDT 1998
Sender: nwanua@makaha.colorado.edu
Message-ID: <35A86AD9.747E5FE4@colorado.edu>
Date: Sun, 12 Jul 1998 01:50:49 -0600
From: Nwanua Elumeze <nwanua@makaha.colorado.edu>
Organization: The Disk Adaptive Servo Control Group
X-Mailer: Mozilla 4.05 [en] (X11; U; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: robert@physiol.med.tu-muenchen.de,
"nwanua@colorado.edu" <nwanua@colorado.edu>
Subject: bitmap trouble
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Content-Length: 708
Hello:
I too cannot get a bitmap displayed. My program also shows a completely
black box.
Seeing that you had this problem last November, I'm hoping that
you might have a solution. My section of code:
/* directly related to the bitmap: */
GtkWidget *gtk_img;
GdkImage *image;
buttonframe = gtk_frame_new ("Button");
image =gdk_image_new_bitmap(gdk_visual_get_system(),
ace_bits,ace_width,ace_height);
gtk_img = gtk_image_new(image, NULL);
gtk_container_add (GTK_CONTAINER (buttonframe), gtk_img);
gtk_widget_show( gtk_img);
but for all my trouble, I get a nice sqare black box!
I hope this problem has been licked.
Thanks in advance,
Nwanua.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]