GtkLabel wrapping, GdkPixbuf pixels
- From: Trevor Spiteri <tspiteri falmalta com>
- To: gtk-app-devel-list gnome org
- Subject: GtkLabel wrapping, GdkPixbuf pixels
- Date: 20 Jun 2002 16:21:46 +0200
Hi
I have two questions.
1) How can I make a GtkLabel wrap by character? Using
gtk_label_set_line_wrap() makes it wrap by word only.
2) How do I get a pixel from a a GdkPixbuf? I need to get the color from
a pixel in a .png file and use it to create a pango attribute using
pango_attr_foreground_new(guint16 red, guint16 green, guint16 blue).
Thanks in advance.
Trevor Spiteri
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]