[Gtk-sharp-list] change look of widget - Style help

David Makovský (Yakeen) yakeen@sannyas-on.net
22 Jul 2003 19:11:57 +0200


--=-jRFf7WbT3Df7bhdGPPfN
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: quoted-printable

HI,
I was wondering to code widget with diferent style - like mergeant or
evolution have. Stripe with different bg and fg colors or with another
font ....

I have tried this...


[Glade.Widget] Gtk.Label admin_title;
 inicializing, autocennect,....
Gdk.Color title_color =3D new Gdk.Color (0xff, 0xff, 0xff);
admin_title.ModifyBg(Gtk.StateType.Normal, title_color);=09


and nothing happend

admin_title.ResetRcStyles(); didn't helped (probably cudln't)

I was wondering about using Gtk.Style, but I couldn't find anything
usable.
Maybe I have say to application that something in style changed..
Can someone help me with some tips?

Thanks
--=20
David Makovsk=FD (Yakeen) <yakeen@sannyas-on.net>

--=-jRFf7WbT3Df7bhdGPPfN
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.7">
</HEAD>
<BODY>
HI,<BR>
I was wondering to code widget with diferent style - like mergeant or evolution have. Stripe with different bg and fg colors or with another font ....<BR>
<BR>
I have tried this...<BR>
<BR>
<PRE>[Glade.Widget] Gtk.Label admin_title;
 inicializing, autocennect,....
Gdk.Color title_color = new Gdk.Color (0xff, 0xff, 0xff);
admin_title.ModifyBg(Gtk.StateType.Normal, title_color);	</PRE>
<BR>
and nothing happend
<PRE>admin_title.ResetRcStyles(); didn't helped (probably cudln't)</PRE>
I was wondering about using Gtk.Style, but I couldn't find anything usable.<BR>
Maybe I have say to application that something in style changed..<BR>
Can someone help me with some tips?<BR>
<BR>
Thanks<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
David Makovsk&#253; (Yakeen) &lt;<A HREF="mailto:yakeen@sannyas-on.net"><U>yakeen@sannyas-on.net</U></A>&gt;
</TD>
</TR>
</TABLE>

</BODY>
</HTML>

--=-jRFf7WbT3Df7bhdGPPfN--