Re: [Gimp-developer] Hide progress bar

2009-10-06 Thread Sven Neumann
On Tue, 2009-10-06 at 17:08 +0300, Cristi Balas wrote:
> Hi!
> I have a perl plugin that calls gimp-file-load-layer. and when i call
> this function, a progress bar apears in the status bar (if the status
> bar is hidden, then it's temporary made visible). I want my plugin not
> to display any progress bar / status bar.
> 
> Is gimp-progress-install function going to help me? if so, how do i use it?

You can use gimp_progress_install() to take over responsibility of the
progress handling. Then your plug-in can just do nothing from the
installed callbacks and the result will be no progress bar.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Hide progress bar

2009-10-06 Thread Aurimas Juška
Hi,

On Tue, Oct 6, 2009 at 5:08 PM, Cristi Balas  wrote:
> I have a perl plugin that calls gimp-file-load-layer. and when i call
> this function, a progress bar apears in the status bar (if the status
> bar is hidden, then it's temporary made visible). I want my plugin not
> to display any progress bar / status bar.
>
> Is gimp-progress-install function going to help me? if so, how do i use it?

You can simply create a hidden GimpProgressBar, which will handle all
the difficulties of gimp-progress-install for you. All progress /
status info will go to the created GimpProgressBar, but user will not
see it.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Hide progress bar

2009-10-06 Thread Cristi Balas
Hi!
I have a perl plugin that calls gimp-file-load-layer. and when i call
this function, a progress bar apears in the status bar (if the status
bar is hidden, then it's temporary made visible). I want my plugin not
to display any progress bar / status bar.

Is gimp-progress-install function going to help me? if so, how do i use it?

I looked everywhere for this function, but can't find a usage scenario
to test it if it's gonna help me.
Thanks
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer