Re: Gtk+ Entry and Combobox problem
- From: "Tadej Borovšak" <tadeboro gmail com>
- To: gordon <gordon formosa21 com>
- Cc: gtk-list gnome org
- Subject: Re: Gtk+ Entry and Combobox problem
- Date: Mon, 8 Dec 2008 16:57:21 +0100
Hi.
You can modify text color of GtkEntry with gtk_widget_modify_text
function (docs:
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-modify-text).
You have more options (and problems;) when coloring your GtkComboBox,
since it uses GtkCellRenderers to render it's content. See docs for
more details. (docs:
http://library.gnome.org/devel/gtk/stable/GtkCellRendererText.html)
2008/12/8 gordon <gordon formosa21 com>:
> Hi,
> I am a software programmer. I do have a problem about programming
> with Gtk+. I can not change the color of the words
> which show on Entry and Combobox. I use the Gtk 2.10.
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
--
Tadej Borovšak
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]