Re: Arrows in gtknotebook in gtk 2.4
- From: Matthias Clasen <mclasen redhat com>
- To: gtk-list gnome org
- Subject: Re: Arrows in gtknotebook in gtk 2.4
- Date: Sun, 26 Sep 2004 23:46:54 -0400
On Mon, 2004-09-27 at 03:49 +0200, Mich� Garoche wrote:
>
>
> ______________________________________________________________________
>
> While searching for a way to have both left and right arrows grouped
> together at the right end in gtknotebook, I've discovered something
> strange in gktnotebook.c.
>
> gtk_widget_class_install_style_property (widget_class,
> g_param_spec_boolean ("has_secondary backward_stepper",
> P_("Secondary backward stepper"),
> P_("Display a second backward arrow button on the opposite end of the
> tab area"),
> FALSE,
>
> G_PARAM_READABLE));
>
> See the missing _ character in the second parameter.
>
> It is in version 2.4.9.
>
> Just to mention it, it may be corrected in a later version.
Good catch, I've fixed that now.
> Would it be possible to have the has_..._stepper properties not only
> readable, but writable too?
>
No, they are style properties, which are not set by applications, but
from the rc file.
> If not, how can I change the gtkrc file to have them as I want? Or is
> it possible to change them within a foorc file?
>
Yes, you should be able to say something like
GtkNotebook::has_secondary_forward_stepper = 1
in the relevant style {} block in your gtkrc.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]