Gimp.Procedure.add_unit_argument

@accepts(Gimp.Procedure, unicode, unicode, unicode, bool, bool, Gimp.Unit, GObject.ParamFlags)
@returns(none)
def add_unit_argument(self, name, nick, blurb, show_pixels, show_percent, value, flags):
    # Python wrapper for gimp_procedure_add_unit_argument()
  

Add a new Gimp.Unit argument to self.

Since 3.0

self

the Gimp.Procedure.

name

the name of the argument to be created.

nick

the label used in #GimpProcedureDialog.

blurb

a more detailed help description.

show_pixels

whether to allow pixels as a valid option

show_percent

whether to allow percent as a valid option

value

the default value.

flags

argument flags.