It is currently Sun Jul 12, 2026 6:43 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Action for quickly selecting themes
PostPosted: Fri Oct 21, 2016 5:46 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Mar 18, 2011
Posts: 283
Location: Lusaka, Zambia
Hi,

Is it possible to code an action in GIMP for selecting themes by merely hitting some short-cut key, without necessarily opening the preferences dialog, Much like in Photoshop?

Would be fun.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: I think: not possible for 2.8.18
PostPosted: Sun Oct 30, 2016 8:37 am  (#2) 
Offline
GimpChat Member

Joined: Sep 13, 2016
Posts: 137
It looks like that Gimp 2.8.18 can only tell you where themes are at home,

Python Console output:

theme_dir = pdb.gimp_get_theme_dir()
theme_dir
C:\\Program Files\\GIMP 2\\share\\gimp\\2.0\\themes\\Default

and no other info about 'theme' ...
So I see at this moment for 2.8.18 no chance to save you some seconds :)


Top
 Post subject: Re: Action for quickly selecting themes
PostPosted: Sun Oct 30, 2016 10:24 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
There is no way for scripts to alter the UI. You can't even close an Image window that wasn't created by the script itself. This is a conscious design decision AFAIK.

_________________
Image


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group