Re: Can I have tabs and Apply button in the plugin GUI?

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

 



On 09/28/2009 06:46 PM, Louise Hoffman wrote:
>> Yes it's possible, you can create any GTK+ interface in plug-ins.
>> To get tabs you'd use GtkNotebook. You can hook any code to an
>> Apply button, including code that takes the active tab into
>> account.
> 
> Is it possible that my plugin can be opened without a canvas?

Yes, just pass NULL to the image_type argument to gimp_install_procedure() [1]
That's how file plug-ins and plug-ins under File -> Create for example is
able to run without any image opened.

Hugs,
Martin

[1] http://developer.gimp.org/api/2.0/libgimp/libgimp-gimp.html#gimp-install-procedure

-- 

My GIMP Blog:
http://www.chromecode.com/

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

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux