[gimp-perl] Doc $result return from interact().



commit 70062cba2a4e22d11f69f994d1eb8c8fff6eb245
Author: Ed J <edj src gnome org>
Date:   Fri May 16 23:49:29 2014 +0100

    Doc $result return from interact().

 UI/UI.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/UI/UI.pm b/UI/UI.pm
index 3d58fa0..2abe5e9 100644
--- a/UI/UI.pm
+++ b/UI/UI.pm
@@ -720,9 +720,9 @@ C<examples/example-no-fu>.
  $button = new Gimp::UI::BrushSelect;
  $button = new Gimp::UI::GradientSelect;
 
- @new_vals = Gimp::UI::interact(
+ ($result, @new_vals) = Gimp::UI::interact(
    $functionname, $blurb, $help, $params, $menupath, @previous_vals
- );
+ ); # $result = true if "Ok", false if "Cancel"
 
 =back
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]