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


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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]