Recursosss

Página principal: [|www.**gimp**.org/docs/**python**/index.html]  TUTORIALES [] 
 * RECURSOS **

OTRAS PAGINAS DE APOYO [|www.jamesh.id.au/software/py**gimp**/] [|www.**gimp**users.com/.../install-**python**-for-**gimp**-2-6-windows.html] In this plugin, a number of modules are imported.  En este plugin, se han importado una serie de módulos. The important ones are: Los más importantes son: · gimpfu  : this module provides a simple interface for writing plug-ins, similar to what script-fu provides.  gimpfu:  este módulo proporciona una interfaz simple para escribir plug-ins, similar al script-fu lo que proporciona. It provides the GUI for entering in parameters in interactive mode and performs some sanity checks when registering the plugin. Proporciona la interfaz gráfica de usuario para entrar en los parámetros en el modo interactivo y realiza algunas comprobaciones de integridad al registrar el plugin. By using "from gimpfu import *", this module also provides an easy way to get all the commonly used symbols into the plug-in's namespace. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Mediante el uso de "de la importación gimpfu *", este módulo también proporciona una manera fácil de obtener todos los símbolos comúnmente usados en el plug-in de espacio de nombres. <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">gimp <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> : the main part of the gimp extension. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">GIMP: <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> la parte principal de la extensión de GIMP. This is imported with gimpfu. Esta es importado con gimpfu. <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">gimpenums <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> : a number of useful constants. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">gimpenums: <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> una serie de constantes útiles. This is also automatically imported with gimpfu. Esto también se importan automáticamente con gimpfu. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">The pdb variable is a variable for accessing the procedural database. It is imported into the plug-in's namespace with gimpfu for convenience. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> La variable de AP es una variable para acceder a la base de datos de procedimiento. Se trata de importados en el plug-in de espacio de nombres con gimpfu por conveniencia. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">With pygimp-0.4, the gimpfu module was introduced. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Con pygimp-0.4, se introdujo el módulo de gimpfu. It simplifies writing plug-ins a lot. Se simplifica la escritura de plug-ins mucho. It handles the run mode (interactive, non interactive or run with last values), providing a GUI for interactive mode and saving the last used settings. Maneja el modo de ejecución (interactivo y no interactivo o correr con los últimos valores), proporcionando una interfaz gráfica para el modo interactivo y el ahorro de la última configuración utilizada. <span style="display: none; font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT; msohide: all;">Using the gimpfu plugin, all you need to do is write the function that should be run, make a call to <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">register <span style="display: none; font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT; msohide: all;">, and finally a call to <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">main <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> to get the plugin started. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Usando el plugin gimpfu, todo lo que necesitas hacer es escribir la función que se debe ejecutar, realizar una llamada para <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">inscribirse, <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> y por último un llamamiento a la <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">principal <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> para obtener el plugin de empezar. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">If the plugin is to be run on an image, the first parameter to the plugin function should be the image, and the second should be the current drawable (do not worry about the run_mode parameter). <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Si el plug-in se ejecutan en una imagen, el primer parámetro de la función de plugin deben ser la imagen, y el segundo debe ser el actual dibujable (no te preocupes por el parámetro RUN_MODE). Plug-ins that do not act on an existing image (and hence go in the toolbox's menus) do not need these parameters. Plug-ins que no actúan sobre una imagen existente (y por lo tanto, ir en los menús de la caja de herramientas) no necesitan de estos parámetros. Any other parameters are specific to the plugin. Los demás parámetros son específicos para el plugin. <span style="display: none; font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT; msohide: all;">After defining the plugin function, you need to call <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">register <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> to register the plugin with gimp (When the plugin is run to query it, this information is passed to gimp. When it is run interactively, this information is used to construct the GUI). <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Después de definir la función de plugin, es necesario llamar a <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">registro <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> para registrar el complemento con el GIMP (Cuando se ejecuta el plugin para consulta, es pasar esta información a gimp. Cuando se ejecuta de forma interactiva, esta información es utilizada para construir la interfaz gráfica de usuario). The parameters to <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">register <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> are: <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Los parámetros de  <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">registro <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> son: <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">name <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> nombre <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">blurb <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> blurb <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">help <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> ayuda <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">author <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> autor <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">copyright <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> los derechos de autor <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">date <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> fecha <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">menupath <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> menupath <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">imagetypes <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> imagetypes <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">params <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> params <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">results <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> resultados <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">function <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> función <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">Most of these parameters are quite self explanatory. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> La mayoría de estos parámetros son bastante autoexplicativo. The menupath option should start with <Image>;/ for image plug-ins and <Toolbox>/ for toolbox plug-ins. La opción de menupath debe comenzar con ; / para plug-ins de imagen y maamq caja de herramientas para los plug-ins. The remainder of the menupath is a slash separated path to its menu item. El resto de la menupath es una barra separada camino a su elemento de menú. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">The params parameter holds a list parameters for the function. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> El parámetro params tiene una lista de parámetros para la función. It is a list of tuples. Se trata de una lista de tuplas. Note that you do not have to specify the run_type, image or drawable parameters, as gimpfu will add these automatically for you. Tenga en cuenta que usted no tiene que especificar el run_type, la imagen o parámetros dibujable, como gimpfu los añadirá automáticamente. The tuple format is (type, name, description, default [, extra]). El formato de tupla (tipo, nombre, descripción, por defecto, [extra]). The allowed type codes are: Los códigos de tipo permitidos son: <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_INT8 <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_INT8 <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_INT16 <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_INT16 <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_INT32 <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_INT32 <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_INT <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_INT <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_FLOAT <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_FLOAT <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_STRING <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_STRING <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_VALUE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_VALUE <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_COLOR <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_COLOR <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_COLOUR <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_COLOUR <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_REGION <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_REGION <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_IMAGE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_IMAGE <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_LAYER <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_LAYER <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_CHANNEL <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_CHANNEL <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_DRAWABLE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_DRAWABLE <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_TOGGLE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_TOGGLE <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_BOOL <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_BOOL <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_RADIO <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_RADIO <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_SLIDER <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_SLIDER <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_SPINNER <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_SPINNER <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_ADJUSTMENT <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_ADJUSTMENT <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_FONT <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_FONT <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_FILE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_FILE <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_BRUSH <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_BRUSH <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_PATTERN <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_PATTERN <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_GRADIENT <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_GRADIENT <span style="font-family: Symbol; font-size: 10pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Symbol; mso-fareast-language: ES-GT; msobidifontfamily: Symbol; msobidifontsize: 12.0pt; msofareastfontfamily: Symbol; msofareastlanguage: ES-GT; msolist: Ignore;">· <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">PF_PALETTE <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> PF_PALETTE <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">These values map onto the standard PARAM_* constants. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Estos valores en el mapa param_ estándar * constantes. The reason to use the extra constants is that they give gimpfu more information, so it can produce a better interface (for instance, the PF_FONT type is equivalent to PARAM_STRING, but in the GUI you get a small button that will bring up a font selection dialog). La razón para usar las constantes adicional es que dan gimpfu más información, por lo que puede producir una mejor interfaz (por ejemplo, el tipo PF_FONT es equivalente a PARAM_STRING, pero en la interfaz gráfica de usuario que recibe un pequeño botón que le mostrará una selección de fuente de diálogo). <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">The PF_SLIDER, PF_SPINNER and PF_ADJUSTMENT types require the extra parameter. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> El PF_SLIDER, PF_SPINNER y tipos PF_ADJUSTMENT requieren el parámetro adicional. It is of the form (min, max, step), and gives the limits for the spin button or slider. Se trata de la forma (mínimo, máximo, paso), y da a los límites para el botón giratorio o deslizante. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">The results parameter is a list of 3-tuples of the form (type, name, description). <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> El parámetro de los resultados es una lista de 3-tuplas de la forma (tipo, nombre, descripción). It defines the return values for the function. Define los valores de retorno de la función. If there is only a single return value, the plugin function should return just that value. Si sólo hay un valor de retorno única, la función de plugin que acaba de regresar de ese valor. If there is more than one, the plugin function should return a tuple of results. Si hay más de uno, la función de plugin debe devolver una tupla de los resultados. <span style="display: none; font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT; msohide: all;">The final parameter to <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">register <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> is the plugin function itself. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> El parámetro final para <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">inscribirse <span style="font-family: Times New Roman; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; msofareastfontfamily: 'Times New Roman'; msofareastlanguage: ES-GT;"> es el plugin de la propia función. <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">After registering one or more plugin functions, you must call the <span style="color: navy; display: none; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">main <span style="display: none; font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;"> function. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Después de registrar una o más funciones de plugin, usted debe llamar a la función <span style="color: navy; font-family: 'Courier New'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">principal. <span style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> This will cause the plugin to start running. Esto hará que el plugin para empezar a funcionar. A GUI will be displayed when needed, and your plugin function will be called at the appropriate times. Una interfaz gráfica de usuario se mostrará cuando sea necesario, y su función de plugin se llama en el momento adecuado.
 * <span style="color: #527bbd; display: none; font-size: 13.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">Installation **<span style="color: #527bbd; font-size: 13.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> <span style="font-family: 'Courier New'; font-size: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;">
 * <span style="color: #527bbd; display: none; font-family: 'Arial','sans-serif'; font-size: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">Import Modules ****<span style="color: #527bbd; font-family: 'Arial','sans-serif'; font-size: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Módulos de Importación **
 * <span style="color: #527bbd; display: none; font-family: 'Arial','sans-serif'; font-size: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT; mso-hide: all;">Plugin Framework ****<span style="color: #527bbd; font-family: 'Arial','sans-serif'; font-size: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ES-GT;"> Plugin Marco **