[Gimp-developer] Can I have tabs and Apply button in the plugin GUI?

2009-09-28 Thread Louise Hoffman
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

Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?

2009-09-28 Thread Martin Nordholts
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

Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?

2009-09-28 Thread Louise Hoffman
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

Re: [Gimp-developer] Can I have tabs and Apply button in the plugin GUI?

2009-09-28 Thread Louise Hoffman
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