-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login

-
- Group .- Group members (74) . 

GTKRC (themes)


Artwork
Description:

Well, I think there are a lot of new themers who have
trouble understanding gtkrc and think that the widget
factory is some magical app that once you have that
installed and you know how to use it theming becomes
very easy.

So this group I thought I'd start because I know there
are a lot of experienced themers here with a lot of
knowledge and a lot of new themers which have a lot
of questions.

This would be the place to discuss possible bugs
and fixes and ideas and such.

I think we need a place like this because:
"No problem should ever have to be solved twice."

Join if you have any knowledge in gtkrc or are interested
in starting making themes and contributing to this
site!

Useful links:

Object hierarchy (very useful for figuring out how to assign different classes and widgets and for figuring out why things got messed up during your last edit): http://library.gnome.org/devel/gtk/stable/ch01.html

Nice set of useful links on a number of topic: http://live.gnome.org/GnomeArt/Tutorials/UsefulLinks

Well linked theming tutorial: http://live.gnome.org/GnomeArt/Tutorials/GtkThemes

Yet another guide to theming: http://orford.org/gtk/

Another great set of links (some to the ones above, but there are more): http://www.gtk.org/documentation.html

You can spend a lot of time clicking around live.gnome.org's stuff and get a lot of really useful information.

http://library.gnome.org/devel/gtk/unstable/

Members:74
Comments:261
Created:Apr 17 2008
Changed:Apr 24 2008
Readability:readable for everybody
Membership:everybody can join

Invite people to join
Join group
Activate message notification



goto page: prev   1  2  3  4  5  6  7  8  9  10  11 

-
.

 PLZ::Answer!

 
 by Gnominator on: Jul 9 2008
 
Score 50%

IN PIXMAP ENGINE:

What class have separator that sitting on panel?


Reply to this

-

 Re: PLZ::Answer!

 
 by TheRob on: Jul 9 2008
 
Score 50%

sorry it took me so long to answer but
I don't think it's possible to do the
scroll effect... If I don't remember
wrongly I tried something similar myself
but never got it to work :)

image
{
function = HANDLE
recolorable = TRUE
overlay_file = "/panel/panel-handle.png"
overlay_stretch = FALSE
orientation = VERTICAL
}

image
{
function = HANDLE
recolorable = TRUE
overlay_file = "/panel/panel-handle.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
}

class "*panel*" style "the-style-for-the-handles-above"

should do the trick but it's a while since
I did any themeing so I could be wrong :)

hope this helps!

//Robert


\\\\\\\"life sucks, get a f***ing helmet alright!\\\\\\\" -Denis Leary
Reply to this

-
.

 Re: Re: PLZ::Answer!

 
 by Gnominator on: Jul 11 2008
 
Score 50%

I have two gtkrcs: gtkrc and panel.rc;
Maybe there is some conflicts between styles, but when I pasted your text to my style, and restarted theme, panel started to use default window style.

I meaning, panel.rc was ignored.
Can you help me?


Reply to this

-
.

 Re: Re: Re: PLZ::Answer!

 
 by code933k on: Jul 12 2008
 
Score 50%
code933kcode933k
oddFx
editor
Home

Use a simple window manager for an X session. Openbox for example. Then start gnome-panel from a terminal. You'll see there the output pointing the error...

May be just starting a Gnome app from a terminal could help too. Example: evince. This is simpler but I don't really know whether it helps.


Get a life! Out of Internet there are plenty opportunities to do real life tasks, as for example killing people. You can do it _serially_ if you want to!
Reply to this

-

 Re: Re: Re: PLZ::Answer!

 
 by TheRob on: Jul 14 2008
 
Score 50%

you can't just copy paste the code I
gave you... you'll have to modify it
and make your own pixmaps.....

look in panel.rc (the settings for the panel)
and you'll find something like :

style "panel"

there should be the place to enter the
image entries and then make the
file to point to the pixmap you wanna use :)

//Robert


\\\\\\\"life sucks, get a f***ing helmet alright!\\\\\\\" -Denis Leary
Reply to this

-

 Re: Re: Re: Re: PLZ::Answer!

 
 by SteveWilliams on: Jul 19 2008
 
Score 50%
SteveWilliamsSteveWilliam s
dream-linux. wikidot.com/
Home

I compiled a similar string and it needs some work. Any chance you are interested in discussing it ?

It can be viewed at: http://www.gnome-look.org/content/show.php/gtkrc-2.0+Panel+Colour+Changer?content=83538


www.stevesapparel.com
Reply to this

-

 bold text on buttons

 
 by quaker66 on: Jul 22 2008
 
Score 50%
quaker66quaker66
EasyLinux

Hi, I am creating a imitation of Detour theme for E17 in GTK2. But original Detour theme has nice bold text in menus and on buttons. How can i do this? Thanks.


Reply to this

-

 Re: bold text on buttons

 
 by Arlanthir on: Jul 22 2008
 
Score 50%

In the section of the gtkrc you want (probably menu-item or button) you just have to do:

fontname = "bold"

I'm not really sure about the syntax because I don't have any themes here (windows :( ) but if it doesn't work feel free to post another reply pointing it out, and I'll check it when I can :)


Reply to this

-

 Re: Re: bold text on buttons

 
 by Arlanthir on: Jul 22 2008
 
Score 50%

Ah, here you go:

font_name = "Bold"

=)


Reply to this

-

 Re: Re: Re: bold text on butto

 
 by quaker66 on: Jul 22 2008
 
Score 50%
quaker66quaker66
EasyLinux

Thanks :) i will test it when i will be in my Debian(i am now in Windows too :()


Reply to this

-

 Re: Re: Re: Re: bold text on butto

 
 by quaker66 on: Jul 22 2008
 
Score 50%
quaker66quaker66
EasyLinux

it doesn't work :(
it has no effect. Buttons have still normal text.

this is my "button" style:

style "theme-button" = "theme-default"
{

xthickness = 6
ythickness = 4

font_name = "Bold"

bg[NORMAL] = shade (0.875,@base_color)
bg[ACTIVE] = shade (0.875, @base_color)
bg[PRELIGHT] = shade (0.875, @base_color) # shade (1.205, @bg_color)
bg[SELECTED] = @selected_bg_color #active border color
bg[INSENSITIVE] = shade (1.155,@bg_color)
fg[ACTIVE] = @fg_color

engine "pixmap"
{

image
{
function = BOX
recolorable = TRUE
detail = "buttondefault"
file = "/button/button-default.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}

image
{
function = BOX
state = NORMAL
recolorable = TRUE
file = "/button/button-normal.png"
border ={ 10, 10, 10 ,10}
stretch = TRUE
}

image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
shadow = OUT
file = "/button/button-prelight.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}

image
{
function = BOX
recolorable = TRUE
state = PRELIGHT
shadow = IN
file = "/button/button-active-prelight.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}

image
{
function = BOX
state = INSENSITIVE
shadow = OUT
file = "/button/button-inactive.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}
image
{
function = BOX
state = INSENSITIVE
shadow = IN
file = "/button/button-active-disabled.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}


image
{
function = BOX
state = ACTIVE
file = "/button/button-active.png"
border = { 10, 10, 10 ,10}
stretch = TRUE
}


}

}


Reply to this

-

 Re: Re: Re: Re: Re: bold text on butto

 
 by Arlanthir on: Jul 22 2008
 
Score 50%

Have you tried it in the menu items too?
I can't really test that because I don't have those pixmaps, so... Not really sure what I can do more =/

If you want, host the theme somewhere (megaupload, file.it, etc) and I'll have a look ;)


Reply to this

-

 Re: Re: Re: Re: bold text on butto

 
 by quaker66 on: Jul 22 2008
 
Score 50%
quaker66quaker66
EasyLinux

it works, when i add the line to "theme-default" style. But then, all widgets have bold text.


Reply to this

-

 Re: Re: Re: Re: Re: bold text on butto

 
 by quaker66 on: Jul 22 2008
 
Score 50%
quaker66quaker66
EasyLinux

i found it works in the menus. But it doesn't work on tabs and buttons. Why? :/


Reply to this

-

 Re: Re: Re: Re: Re: Re: bold text on butto

 
 by Arlanthir on: Jul 22 2008
 
Score 50%

You've stated that it works on the default section. Does that theme the buttons too? I'm guessing you're not theming the buttons right (i.e. creating a theme-button style but actually giving the default style in the attributions)



-

 Re: Re: Re: Re: Re: Re: Re: bo

 
 by quaker66 on: Jul 23 2008
 
Score 50%
quaker66quaker66
EasyLinux

I created a new topic because i can't reply on the last answer(The "Reply" button isn't there..)

When give bold text to "default" style, the text is bold everywhere. But if i theme a button or tab(I want tabs, menus and buttons), it has no effect.

If i give bold text to "menuitem" style, it works good. I will upload the theme and post a link.


Reply to this

-

 Re: Re: Re: Re: Re: Re: Re: Re: bo

 
 by quaker66 on: Jul 23 2008
 
Score 50%
quaker66quaker66
EasyLinux

and if I change

style "theme-button" = "theme-default"

to

style "theme-button"

it has no effect.

i will upload the theme when i will be on Linux.


Reply to this

-

 solved

 
 by quaker66 on: Jul 23 2008
 
Score 50%
quaker66quaker66
EasyLinux

my problem is solved :)

1) i added the line font_name="Bold" to the theme-button style.

2) i added those lines at the end of the gtkrc:

widget_class "*.GtkButton.GtkLabel*" style "theme-button"
widget_class "*.GtkToggleButton.GtkLabel*" style "theme-button"

and it works excellent :)


Reply to this

-

 Re: solved

 
 by Arlanthir on: Jul 23 2008
 
Score 50%

Great ;) Glad it works!


Reply to this

-
.

 quest

 
 by krig on: Aug 11 2008
 
Score 50%

hi, everybody ;)
some problems creating a pixmap them; anyone can help me with "tooltip" pixmap based?
code (don't work ;( here below:
#############################
style "tooltips" # = "default"
{
xthickness= 5
ythickness= 5
# bg[NORMAL] = "#ffffff"
# bg_pixmap[NORMAL] = "Others/tooltip.png"

image
{
function = FLAT_BOX
detail = "tooltip"
recolorable = TRUE
file = "Others/tooltip-bg.png"
border = { 2 ,2, 2, 2 }
stretch = TRUE
}
}
widget "gtk-tooltip*" style "tooltips"


We are living in a sick world...
Reply to this

-
.

 blank display

 
 by krig on: Aug 11 2008
 
Score 50%

Some other problem is comes out... the action of progressbar, or event, I don't know how to call, is not displayed at all ;( please take a look here:
http://docs.google.com/Doc?id=dcrtjc3v_21884bcwgr


I can't figure out
Reply to this

-
.

 Gedit text field

 
 by szerencsefia on: Sep 8 2008
 
Score 50%
szerencsefiaszerencsefia
LUX Desktop Project
Home

Does anyone of you know what is the widget_class / class that effects gedit text area?
Gedit has integrated theme option and for some reason I could not find what effects the text field color in general.


SzerencseFia
---------------
Home: http://szerencsefia.webs.com/
WhoIs https://wiki.ubuntu.com/SzerencseFia

Reply to this

-
.

 Re: Gedit text field

 
 by szerencsefia on: Sep 8 2008
 
Score 50%
szerencsefiaszerencsefia
LUX Desktop Project
Home

Never mind, I have found it.


SzerencseFia
---------------
Home: http://szerencsefia.webs.com/
WhoIs https://wiki.ubuntu.com/SzerencseFia

Reply to this

goto page: prev   1  2  3  4  5  6  7  8  9  10  11 

Add commentBackHomeCreate new groupView all groups



-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team