Re: [Gimp-developer] Accessing the thumbnail size preference from Python...
- From: Ragnar Brynjúlfsson <ragtag ragtag net>
- To: "Joao S. O. Bueno" <gwidion mpc com br>
- Cc: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Accessing the thumbnail size preference from Python...
- Date: Tue, 14 Aug 2012 20:23:38 +0200
Thanks. It's not a big issue, so I'll manage fine without it.
On Tue, Aug 14, 2012 at 6:51 PM, Joao S. O. Bueno <gwidion mpc com br> wrote:
> On 14 August 2012 12:57, Ragnar Brynjúlfsson <ragtag ragtag net> wrote:
>> Hi,
>>
>> Is there a way to access what the thumbnail size
>> (Edit>Preferences>Environment>Size of Thumbnails) is set to in the
>> Gimp preferences from within my Python script?
>
>
> No, there is no API for that.
>
> The only ways of doing that are hacking around the application. One
> way I can think of would be to change GIMP's configuration files -
> but GIMP would have to be restarted for that to take effect.
>
>
> js
> -><-
>
>>
>> My script currently uses the largest size thumbnails it can find of
>> the .xcf files it uses, but I would prefer if it stuck to the
>> thumbnail size the user has chosen in the preferences.
>>
>> The script is available here http://registry.gimp.org/node/25975
>>
>> Cheers,
>>
>> Ragnar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]