Ed J > Gimp-2.32 > Gimp::UI

Download:
Gimp-2.32.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.32   Source  

NAME ^

Gimp::UI - Programming interface to libgimpui, plus Gtk widgets for other parameter types.

SYNOPSIS ^

  use Gimp::UI;

DESCRIPTION ^

If you use Gimp::Fu in your script, a GUI will be taken care of for you. However, for an example of implementing your own UI, see examples/example-no-fu.

 $combo_box = new Gimp::UI::Combo::Image;
 $combo_box = new Gimp::UI::Combo::Layer;

 $button = new Gimp::UI::PatternSelect;
 $button = new Gimp::UI::BrushSelect;
 $button = new Gimp::UI::GradientSelect;

 # if $code = undef, just run the UI and return the Ok/Cancel and values
 ($result, \@input_vals, \@return_vals) = Gimp::UI::interact(
   $functionname, $blurb, $help, $params, $menupath, $code,
   \@silent_vals, # don't show in UI or return in \@input_vals
   \@start_vals, # do show in UI and return in \@input_vals
 ); # $result = true if "Ok", false if "Cancel"

AUTHOR ^

Marc Lehmann <pcg@goof.com>, Seth Burgess <sjburges@gimp.org>

SEE ALSO ^

perl(1), Gimp.

syntax highlighting: