[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gimp-developer
Subject:    Re: [Gimp-developer] Any examples for gimp-progress-install?
From:       Sven Neumann <sven () gimp ! org>
Date:       2010-10-30 22:04:31
Message-ID: 1288476271.32023.4.camel () bender
[Download RAW message or body]

On Sat, 2010-10-30 at 12:51 +0200, Gino D wrote:

> I would like to precisely understand how the "gimp-progress-install"
> procedure works; sorry, I have tried to see the source code for this
> purpose, but I am still not very experienced in reading and managing
> it, and I have some difficulty in figuring out what a
> "progress-callback" exactly represents.
> 
> More than anything, I am interested in knowing in which cases and for
> what purposes the aforesaid procedure (as well as related commands,
> such as "gimp-progress-uninstall" and "gimp-progress-cancel") could be
> used within scripts. Can you give me some examples?

You don't need to use these procedures from scripts.

Their purpose is to allow plug-ins to install their own UI for
displaying progress information from other procedures. The Script-Fu
extension uses it for example to redirect progress information from a
script to the progress-bar in the script dialog window.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic