[As-users] GTK applications looking like AfterStep

Carl Bolduc (drcurl@gmail.com)
Sun, 9 Apr 2006 08:57:36 -0400


------=_Part_36751_23897974.1144587456887
Content-Type: multipart/alternative; 
	boundary="----=_Part_36752_6706043.1144587456887"

------=_Part_36752_6706043.1144587456887
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Dear Afterstep users,

As you may have noticed, colorization of gtl applications by AS is now
possible. I've been working on a gtkrc template that would fit well with AS
and would be less boring than most gtk theme out there.

Here is a screenshot of the result at the moment:
http://agora.ulaval.ca/~cabol36/gtkrc.jpg

It looks very good with the default theme BTW. You will get nicer results
with clearlooks theme installed.

Please test this setup by putting the gtkrc template in you ~/.afterstep di=
r
and give me feedback to improve it.

Thank you,

Carl

------=_Part_36752_6706043.1144587456887
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Dear Afterstep users,<br>
<br>
As you may have noticed, colorization of gtl applications by AS is now
possible. I've been working on a gtkrc template that would fit well
with AS and would be less boring than most gtk theme out there.<br>
<br>
Here is a screenshot of the result at the moment: <a href=3D"http://agora.u=
laval.ca/~cabol36/gtkrc.jpg">http://agora.ulaval.ca/~cabol36/gtkrc.jpg</a><=
br>
<br>
It looks very good with the default theme BTW. You will get nicer results w=
ith clearlooks theme installed.<br>
<br>
Please test this setup by putting the gtkrc template in you ~/.afterstep di=
r and give me feedback to improve it.<br>
<br>
Thank you,<br>
<br>
Carl<br>

------=_Part_36752_6706043.1144587456887--

------=_Part_36751_23897974.1144587456887
Content-Type: application/octet-stream; name=gtkrc-2.0_template
Content-Transfer-Encoding: 7bit
X-Attachment-Id: f_eltdsss6
Content-Disposition: attachment; filename="gtkrc-2.0_template"

# Uncomment and Edit the next line to enable your prefered gtk icon theme.
gtk-icon-theme-name = "Tango"

# Edit these colors and fonts however you like.
style "default"
{
	fg[NORMAL]         =    "InactiveText1"   	
	fg[ACTIVE]         =    "InactiveText2"   	
	fg[PRELIGHT]       =    "HighInactiveText"	
	fg[SELECTED]       =    "ActiveText"      	
	fg[INSENSITIVE]	   =    "DisabledText"    	   	
	bg[NORMAL]	   =	"BaseLight" #*** buttons, menu, tabs and apps background
	bg[ACTIVE]         =   	"Inactive2" # tabs not selected, buttons pressed but not prelight 
	bg[PRELIGHT]       =  	"Inactive1Light" # button mouseover, just like wharf		
	bg[SELECTED]       =  	"Active" # ???	  	
	bg[INSENSITIVE]    = 	"Inactive1" # ???   		

#	text[NORMAL]       =    "#101010" # text color while typing, non negociable
	text[NORMAL]       =    "InactiveText1" #*** text color while typing
	text[ACTIVE]       = 	"InactiveText2"   	
	text[PRELIGHT]     = 	"HighInactiveText"	
	text[SELECTED]     = 	"ActiveText"		
	text[INSENSITIVE]  = 	"InactiveText1"   	

#	base[NORMAL]       = 	"#efebe7" # text background while typing, non negociable
	base[NORMAL]       = 	"Inactive1" #*** text background while typing
	base[ACTIVE]       = 	"Inactive2" # selected text not focused  		
	base[PRELIGHT]     = 	"HighInactiveDark" #???		
	base[SELECTED]     = 	"Active" # selected text in text area	  	
	base[INSENSITIVE]  = 	"Inactive1" # ???  		


	GtkButton::default_border = { 0, 0, 0, 0 }
  	GtkButton::default_outside_border = { 0, 0, 0, 0 }
  	GtkRange::trough_border = 0

	GtkWidget::focus_padding = 1
	
        GtkRange::slider_width = 15
        GtkRange::stepper_size = 15
        GtkScrollbar::min_slider_length = 30
        GtkCheckButton::indicator_size = 12
	GtkMenuBar::internal-padding = 0

	engine "clearlooks"  {
	       menubarstyle      = 0       # 0 = flat, 1 = sunken, 2 = flat gradient
               menuitemstyle     = 1       # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
               listviewitemstyle = 1       # 0 = flat, 1 = 3d-ish (gradient)
               progressbarstyle  = 1      # 0 = candy bar, 1 = flat
	}
}

class "*" style "default"


style "ToolTip"
{
  bg[NORMAL] = "Inactive1Light"
  base[NORMAL] = "Inactive1Light"
  text[NORMAL] = "InactiveText1"
  fg[NORMAL] = "InactiveText1"
}

widget "gtk-tooltips" style "ToolTip"


style "scrollbar" = "default"
{
  bg[PRELIGHT]     =  "Inactive1Light"
  bg[NORMAL]        = "HighInactiveBack" #***
  bg[ACTIVE]        = "HighInactiveDark"
}

widget_class "*GtkVScrollbar*"     style "scrollbar"
class "*GtkVScrollbar*"            style "scrollbar"
widget_class "*GtkHScrollbar*"     style "scrollbar"
class "*GtkHScrollbar*"            style "scrollbar"


style "button" = "default"
{
    xthickness = 1
    ythickness = 1

    bg[PRELIGHT]      = "Inactive1Light" # button mouseover, just like wharf
    bg[NORMAL]        = "HighInactiveBack" #*** buttons, menu, tabs and apps background
    bg[ACTIVE]        = "Inactive2" # tabs not selected, buttons pressed but not prelight
}

widget_class "*Button*"            style "button"
class "*Button*"                   style "button"
widget_class "*button*"            style "button"
class "*button*"                   style "button"
widget_class "*OptionMenu*"        style "button"
class "*OptionMenu*"               style "button"

# Modify this for reverse text in menu according to colorscheme
style "clearlooks-menu-item" = "default"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT] = "ActiveText"
  text[PRELIGHT] = "ActiveText"
}

widget_class "*MenuItem.*" style "clearlooks-menu-item"
class "GtkMenuItem"    style "clearlooks-menu-item"





------=_Part_36751_23897974.1144587456887
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users

------=_Part_36751_23897974.1144587456887--