-
 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 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com    Open-PC.com   
Kubuntu-Art.org - Stuff for your Kubuntu Desktop
Kubuntu-Art.orgKubuntu-Art.org

 Apr 18 2014  
 Not logged in  
Kubuntu-Art.org
 Home    Add Artwork   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-

-
- Group .- Group members (75) . 

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:75
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%

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
-
Steve Williams 0

dream-linux.wikidot.com/
United States of America, Wilmer, Texas 75172
Last visit Nov 5 2009
0 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

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%

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%

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%

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%

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%

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%

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%

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%

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
-
Szerencse Fia 5

LUX Desktop Project
Denmark, Copenhagen
Last visit Dec 10 2010
11 Friends
6 Groups

More info
Send a message
Add as friend
Other contents
--

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
-
Szerencse Fia 5

LUX Desktop Project
Denmark, Copenhagen
Last visit Dec 10 2010
11 Friends
6 Groups

More info
Send a message
Add as friend
Other contents
--

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



-

Copyright 2007-2014 Kubuntu-Art.org Team  Legal Notice
All rights reserved. Kubuntu-Art.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Kubuntu-Art.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message
Kubuntu is a registered trademark of Canonical Ltd.
Content RSS   
Events RSS