Re: How to remove Focus Rectabgle

"Diego A. Fons" <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm,gmane.comp.gnome.themes
Message-ID <[email protected]>
Iker Perez de Albeniz wrote:
> Hi,
>
> Is there any way to renove the doted focus rectangle?? i am tring to do it
> in my GtkRc file but it was imposible.. any idea??
>
> thanks,
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>   
Hi,

I could remove the rectangle by adding this line in the rc style file:
    GtkWidget::focus-line-width = 2

I wrote when defining the style of the buttons.

Example:
style "boton" {
    GtkWidget::focus-line-width = 0
    engine "pixmap" {
        ...
    }
}

class "GtkButton" style "boton"

Regards,
Diego A. Fons.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.