How can I colorize a Gtk::Entry field?
- From: Christoph Lorenz <Christoph_Lorenz gmx de>
- To: gtk-perl-list gnome org
- Subject: How can I colorize a Gtk::Entry field?
- Date: 11 Nov 2001 14:29:49 +0100
Hi,
can anybody please tell me, what is the correct way to colorize a
Gtk::Entry field?
I already tried with ->set_foreground($color) with
my $color = Gtk::Gdk::Color->parse_color("red");
but it failed with a "
Can't locate object method "set_foreground" via package "Gtk::Entry"
error :(
And is there also a way to "remove" the color settings and to give the
field back its original (defined by the theme) color setting?
Ciao and thank you very much in advance
Christoph
--
Christoph Lorenz *** http://ChLorenz.home.pages.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]