RE: GtkSyles and Themes




Hi,

Hope this helps:

style "scrollbar" {
        ###### Theme Engine Style ######
        engine "smooth" {
                fill {
                        style           = gradient
                        hdirection      = vertical
                        vdirection      = horizontal

                        ### SELECTED: The Widget is highlighted by user
##########
                        ### (Such as selcetion in an Editable Widget List)
#######
                        ### Quelle:
live.gnome,org/GnomeArt/Tutorial/GtkThemes ###
                        ### Not funktion on this position in the Theme!
##########
                        ####################################################
######
                        # color1[SELECTED]      = "#faff2a" # DEACTIVATED
                        # color2[SELECTED]      = "#faff2a"     #
DEACTIVATED


                        color1[NORMAL]        = "#F6F4C2"
            color2[NORMAL]        = "#F6F4C2"

                        color1[PRELIGHT]        = "#fcffd9"
                        color2[PRELIGHT]        = "#faff2a"

                        color1[INSENSITIVE]     = "#f6f4c2"
                        color2[INSENSITIVE]     = "#f6f4c2"
                }

                line {
                        style           = smooth
                        thickness       = 0
                }

                trough {
                        fill {
                                style   = solid
                        }
                }

                grip {
                        style   = none
                }

                arrow {
                        style   = cleanice
                        solid   = TRUE

                        xpadding        = 1
                        ypadding        = 1
                }
        }
}
widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"


Regards,
Siddharth
TATA Elxsi


-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org]On Behalf Of Prasanna Kumar
K
Sent: Wednesday, August 08, 2007 5:34 PM
To: gtk-app-devel-list gnome org
Subject: GtkSyles and Themes


Hi,

I want a vertical scrollbar with different colors for "bar", two "boxes" and
the "up" and "down" arrows on those boxes.
By using gtk apis I can assign only one color to all of them.

How to get different color. Someone told me better to use themes.
any sites where I can get info/tutorial about themes.

Regards,
Prasanna.

This message (including any attachment) is confidential and may be legally
privileged.  Access to this message by anyone other than the intended
recipient(s) listed above is unauthorized.  If you are not the intended
recipient you are hereby notified that any disclosure, copying, or
distribution of the message, or any action taken or omission of action by
you in reliance upon it, is prohibited and may be unlawful.  Please
immediately notify the sender by reply e-mail and permanently delete all
copies of the message if you have received this message in error.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


The information contained in this electronic message and any attachments to this message are intended for the 
exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you 
are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the 
sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]