Re: focus-line-width
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: focus-line-width
- Date: Tue, 17 Oct 2006 20:29:39 +0200
On Tue, Oct 17, 2006 at 05:38:22PM +0530, krithika sivakumar wipro com wrote:
I'm unable to use the style property focus-line-width or
focus-line-pattern.
While running the application it states
"GLib-GObject-WARNING **: g_object_set_valist: object class `GtkButton'
has no property named `focus-line-pattern'
Style properties are not properties, they cannot be set with
g_object_set(). They are defined by Gtk+ theme and all
rendering code only reads and follows them.
If you for whatever reason want different focus lines, set
the parameters in your ~/.gtkrc-2.0. You can also modify
it programatically in an app for example by giving
gtk_rc_parse_string() the same code you put to gtkrc, though
this should be done with deliberation -- and ideally not at
all. Another thing to take into accout is that theme
engines generally can draw things the way they like it
ignoring certain style settings.
Yeti
--
Whatever.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]