[83] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Frame around the pixmap in button and color

daemon@ATHENA.MIT.EDU (Sascha Ziemann)
Sun May 11 04:09:07 1997

Date: Sun, 11 May 1997 10:03:39 +0200
From: Sascha Ziemann <szi@aibon.ping.de>
To: GTK Mailinglist <gtk-list@redhat.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hi,

If I put a pixmap into a button, the pixmap has a small frame at the top
and at the left but not at the right and bottom.

Is that normal? Is gtk_misc_set_alignment with 0.5 0.5 not enough?

Another problem is the transparent color. I know the RGB values of the
color in the xpm file and the index of the color. But I need a GTK color
struct to specify the color. How can I get such a struct from the pixmap
object I created with pixmap_new_from_xpm?

-- bis später...
 - Sascha         ---<~>=( http://www.ping.de/sites/aibon/ )=<~>---

   () Free speech online
   /\ http://www.eff.org/BlueRibbon/bluehtml.html

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post