Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?
> 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. That's much better than I expected =) I will start on that tomorrow. Thanks a lot =) Hugs, Louise ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?
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@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?
> 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. Hi Martin, Thank you very much for the detailed answer. That is just perfect =) Can I ask another question? Right now when I start GIMP, all plugins can not be opened, because there is no canvas. Once the user have defined an image size in File->New all the plugins become available. Is it possible that my plugin can be opened without a canvas? The reason for this is, that it would be very convenient if the user could set image size in the plugin, and once the user presses Apply, GIMP creates the canvas. Can that be done? And if so, do you have a link to the API's that allow me to do that? Hugs, Louise ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?
On 09/28/2009 02:21 PM, Louise Hoffman wrote: > Dear developers, > > Can someone tell if this GUI design is possible? > > http://pastebin.com/m1ccbcd06 > > The reason I would like to have tabs is because of the work flow, and > the values in the Modify tab will be different depending to the loaded > audio[0] file. > > If tabs is possible, can I also have the Apply button? > > And if so, will the Apply button apply changes to all tabs or just the > active tab? > > Hugs, > Louise Hi Louise 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. Hugs, Martin -- My GIMP Blog: http://www.chromecode.com/ ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Can I have tabs and Apply button in the plugin GUI?
Dear developers, Can someone tell if this GUI design is possible? http://pastebin.com/m1ccbcd06 The reason I would like to have tabs is because of the work flow, and the values in the Modify tab will be different depending to the loaded audio[0] file. If tabs is possible, can I also have the Apply button? And if so, will the Apply button apply changes to all tabs or just the active tab? Hugs, Louise [0] The user loads audio files, and the plugin convert it to graphics/spectrogram. ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer