Simple (or should be) GTK question..?
- From: Scott Stone <sstone ume pht co jp>
- To: GTK List <gtk-list redhat com>
- Subject: Simple (or should be) GTK question..?
- Date: Tue, 29 Sep 1998 17:36:15 +0900 (JST)
OK, If I'm writing a GTK program, and I don't want to use GTK's default
colors for the widgets, how do I change them?  I can use GtkStyles, but
they're not documented *at all* (that I can find), and if I apply a style
to one button, it gets applied to *all of them*.  What's the way to do
this?  I'm coming from a perl-Tk background, in which I could just say:
$button=$window->Button(-fg => 'red', -bg => 'blue');
and that would do it.  So, what's the equivalent in C using gtk?
--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@turbolinux.com>
               <sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)
http://www.pht.com		http://armadillo.pht.co.jp
http://www.pht.co.jp	        http://www.turbolinux.com
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]