Re: [pygtk] pyGTK + windows + skins
Great link to the GUI theme changer. Just what I was looking for. I may take a shot at porting it to PyGTK for educational purposes. Will post if I get anywhere. Thanks, Tyler Fabien COUTANT wrote: On Thursday, 18 March 2004, you (Christian Robottom Reis) wrote: | > More exactly the location is /share/themes. | | -> FAQ 21.13 | | http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.013.htp | | Reviews and corrections appreciated. Hmmm this pertains more to a GTK (than PyGTK) -on-windows FAQ. I can't change it directly (no password). Should reformulate the last sentence because it (I) was misleading: the patch I submitted to sf is pre-compiled engines and associated themes, NOT a patch to correct the off-by-one glitch ! Should also mention that: - engines can also be built quite easily with MinGW + MSYS - there is a GUI program called "gtk2_prefs" by Alex Shaduri at http://members.lycos.co.uk/alexv6/ that allows to preview and select the GTK theme and font to be used by GTK apps (it is far more easy than tweaking with rc files) ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
Fabien COUTANT [Thu, Mar 18, 2004 at 04:19:06PM +0100]: > On Thursday, 18 March 2004, you (Michal Pasternak) wrote: > | Fabien COUTANT [Thu, Mar 18, 2004 at 01:46:52PM +0100]: > | > All themes mostly work with some off-by-one glitch drawing seen on the > | > right of some borders. > | > | Do you mean this right-lower corner pixel missing in buttons? > | > | I'd really like to see it fixed. > > Depends on theme and engine: Some have no error (WinXP-Blue), some have > the corner single pixel missing, some have the whole right border offset > (or is it the two right corners' pixels missing ? ;) Hmm, compilation on win32 is sometimes troublesome. Any chances you make binary themes available somewhere? I have some stunning 115kbit/s webspace for rent, if that's an issue :) -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
On Thursday, 18 March 2004, you (Michal Pasternak) wrote: | Fabien COUTANT [Thu, Mar 18, 2004 at 01:46:52PM +0100]: | > All themes mostly work with some off-by-one glitch drawing seen on the | > right of some borders. | | Do you mean this right-lower corner pixel missing in buttons? | | I'd really like to see it fixed. Depends on theme and engine: Some have no error (WinXP-Blue), some have the corner single pixel missing, some have the whole right border offset (or is it the two right corners' pixels missing ? ;) -- Hope this helps, Fabien. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
On Thursday, 18 March 2004, you (Christian Robottom Reis) wrote: | > More exactly the location is /share/themes. | | -> FAQ 21.13 | | http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.013.htp | | Reviews and corrections appreciated. Hmmm this pertains more to a GTK (than PyGTK) -on-windows FAQ. I can't change it directly (no password). Should reformulate the last sentence because it (I) was misleading: the patch I submitted to sf is pre-compiled engines and associated themes, NOT a patch to correct the off-by-one glitch ! Should also mention that: - engines can also be built quite easily with MinGW + MSYS - there is a GUI program called "gtk2_prefs" by Alex Shaduri at http://members.lycos.co.uk/alexv6/ that allows to preview and select the GTK theme and font to be used by GTK apps (it is far more easy than tweaking with rc files) -- Hope this helps, Fabien. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
BTW, about the gtk-win patches, have you contacted the author or mailing list directly? Many people don't remember they have patches or bugs in sf.net's horrid bug tracker. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
On Thu, Mar 18, 2004 at 01:46:52PM +0100, Fabien COUTANT wrote: > Hi! Since I use GTK2 for a project at work I can give some advice on > this... > > On Thursday, 18 March 2004, you (Tyler W. Wilson) wrote: > | - The standard location for themes is /2.0/share/themes. You > | can drop any theme you want in there. > > More exactly the location is /share/themes. -> FAQ 21.13 http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.013.htp Reviews and corrections appreciated. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331 ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
Fabien COUTANT [Thu, Mar 18, 2004 at 01:46:52PM +0100]: > All themes mostly work with some off-by-one glitch drawing seen on the > right of some borders. Do you mean this right-lower corner pixel missing in buttons? I'd really like to see it fixed. -- Michal Pasternak :: http://pasternak.w.lub.pl :: http://winsrc.sf.net ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
Hi! Since I use GTK2 for a project at work I can give some advice on this... On Thursday, 18 March 2004, you (Tyler W. Wilson) wrote: | - The standard location for themes is /2.0/share/themes. You | can drop any theme you want in there. More exactly the location is /share/themes. | - Theme engines go into /lib/gtk-2.0/2.2.0/engines. The only | one included in the standard package is libwimp.dll. I have successfully | built and used cleanice and xfce - it was quite straightforward if you | have the GTK Dev package installed (I used Visual C++ 6). Right. I have personally successfully built several engines with MinGW + MSYS + some hand tweaking: bluecurve, cleanice, galaxy, industrial, thincream, thinice, xfce, pixbuf (aka pixmap in GTK1). I also got other engines from a previous GTK/Win32 distro: lighthouseblue, metal, mist, redmond95, smooth, wimp. I think all Unix engines compile easily on Windows too, except maybe QtPixmap. All themes mostly work with some off-by-one glitch drawing seen on the right of some borders. I have submitted a patch to sourceforge to request their inclusion in the main distro a while ago, with no luck. Check the patches page on http://sourceforge.net/projects/gtk-win/ (I had to split the file in 4 parts). | The tricky bit is how to tell GTK on Windows which theme to use. There | are at least 3 ways to do this (though I have only tested 2): | | I was hoping to build a little theme-switcher in PyGTK, but have not | found the proper incantations to tell an application to redraw itself (I | am new at this PyGTK thing). System-wide wise, you have to edit /etc/gtk-2.0/gtkrc and place an include directive inside for your wanted theme's gtkrc. You can do it by hand or more easily use use gtk2_prefs by Alex Shaduri from http://members.lycos.co.uk/alexv6/, which will also let you change the font to use. -- Hope this helps, Fabien. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
when am putting new theme folder in themes folder on windows, its givin error msg :Unable to locate theme engine in module_path: "pixmaps'' Somesh Bartakke Q-Soft Pvt Ltd,Pune. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
I did a bit of research on this for my own PyGTK project for Windows. Finally, I just spent a few hours trying to follow the GTK source. Here is what I came up with (this is just for the 2.x version): - The standard location for themes is /2.0/share/themes. You can drop any theme you want in there. - Theme engines go into /lib/gtk-2.0/2.2.0/engines. The only one included in the standard package is libwimp.dll. I have successfully built and used cleanice and xfce - it was quite straightforward if you have the GTK Dev package installed (I used Visual C++ 6). The tricky bit is how to tell GTK on Windows which theme to use. There are at least 3 ways to do this (though I have only tested 2): - Rename the theme folder in share/themes to 'Default'. This will then be the one used on the next execution of your GTK app. - Copy the gtkrc from the theme directory you want into /etc/gtk-2.0. (I also tried putting a shortcut in there instead, to no effect - would have been nice though). - (From the source) Put a .gtk-2.0rc (not sure of exact name at the moment) in your 'HOME' folder. The issue here is that every version of Windows gives you a different 'HOME' location. On my XP box, it is /Documents and Settings/. I personally prefer the second choice, since there is less room for error since you do not have to rename folders, you simply copy one file into a different location. And to get back to the original settings you just delete that gtkrc from the etc/gtk-2.0 folder. I was hoping to build a little theme-switcher in PyGTK, but have not found the proper incantations to tell an application to redraw itself (I am new at this PyGTK thing). Later, Tyler Somesh Bartakke wrote: i want to use own - Themes or skins in my pygtk application can anybody suggest exact place for it ? Somesh Bartakke -- Truth does not pay homage to society, ancient or modern but society has to pay homage to Truth or ..Die ! -- Swami Vivekanand ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] pyGTK + windows + skins
Google search for GTK theme: "I'm feeling lucky": http://gtk.themes.org You know PyGTK is using GTK, don't you? By the way, I suppose you are using PyGTK 2.x, so look at the GTK 2.X themes. For PyGTK 0.6.X it's GTK 1.X. -- Pierre On Thu, 2004-03-18 at 06:53, Somesh Bartakke wrote: > i want to use own - Themes or skins in my pygtk application > can anybody suggest exact place for it ? > > > Somesh Bartakke > > -- > Truth does not pay homage to society, ancient or modern but society > has to pay homage to Truth or ..Die ! > -- Swami Vivekanand > > __ > ___ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ signature.asc Description: This is a digitally signed message part ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
[pygtk] pyGTK + windows + skins
i want to use own - Themes or skins in my pygtk application can anybody suggest exact place for it ? Somesh Bartakke --Truth does not pay homage to society, ancient or modern but society has to pay homage to Truth or ..Die !-- Swami Vivekanand ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/