[Bug 997645] gtk colored buttons

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=997645



--- Comment #3 from Tom "spot" Callaway <tcallawa@xxxxxxxxxx> ---
If you're trying to set the text color in the button, this code works:

($button->get_children)[0]->modify_fg(normal => Gtk2::Gdk::Color->new(0xffff,
0, 0));

If you're trying to set the background color in the button, man... I don't know
if that's ever worked right. I think Gtk3 uses CSS to do that reliably.

You might try opening this bug with the perl-Gtk2 upstream.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=LNXBzWaz4C&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux