[Gimp-developer] my plugin not works now!!

2007-03-28 Thread coolhand
I'm developing a new plugin for gimp that works in the 2.2 series, but not in 2.3.10. It shows the menu entry in gray, but there aren't any messages in the console about. In the other hand, i have other plugin that works fine. In this case, is a load image plugin, but shows in console: GIMP:

Re: [Gimp-developer] my plugin not works now!!

2007-03-29 Thread coolhand
Ok, all works now!. -- View this message in context: http://www.nabble.com/my-plugin-not-works-now%21%21-tf3472129.html#a9731510 Sent from the Gimp Developer mailing list archive at Nabble.com. ___ Gimp-developer mailing list

[Gimp-developer] Position in the menu

2007-04-10 Thread coolhand
Is possible to control when put a new plug-in menu entry in a menu?? Is posible to add separators in the menu?? -- View this message in context: http://www.nabble.com/Position-in-the-menu-tf3551722.html#a9915730 Sent from the Gimp Developer mailing list archive at Nabble.com.

[Gimp-developer] problem with gimp progress bar

2007-04-12 Thread coolhand
I use in a gimp dialog a progress bar. The problem is that when the progress bar reaches 100%, don't disapear (only when the dialog closes). ¿There are some way to do this before the end of the plugin? I use gimp_progress_init() and gimp_progress_update(), so i don't have any progress callback

[Gimp-developer] about gimp dialogs...

2007-04-12 Thread coolhand
Is possible to activate the maximize icon in a dialog or is mandatory to use a window?? How i can to make work the X button to close the dialog? Maybe silly questions, but... -- View this message in context: http://www.nabble.com/about-gimp-dialogs...-tf3564765.html#a9957004 Sent from the

[Gimp-developer] gimp_drawable_get_image fails?

2007-04-12 Thread coolhand
When i open an image of my format, I create an multiple-layer image. With this image, i work normally. If i open other image of this format, i can work normally with both images. The problem is that when i open the first image, then close it and then i open the second, gimp_drawable_get_image

Re: [Gimp-developer] problem with gimp progress bar

2007-04-13 Thread coolhand
gtk_widget_hide() doesn't do the trick? Oh! i didn't think on it... Anyway, it's not considered good style to hide and show widgets. Perhaps you could explain us what exactly you want to achieve? Sven Yes; sorry by my bad english: when a progress bar is associated with a plugin, it don't

Re: [Gimp-developer] about gimp dialogs...

2007-04-13 Thread coolhand
Alexandre Prokoudine wrote: On 4/12/07, coolhand wrote: Is possible to activate the maximize icon in a dialog or is mandatory to use a window?? What for? The windows have three buttons, minimize, maximize and close. Min/maximize are not in the dialogs; my question is about

Re: [Gimp-developer] gimp_drawable_get_image fails?

2007-04-13 Thread coolhand
Hi, On Thu, 2007-04-12 at 04:34 -0700, coolhand wrote: When i open an image of my format, I create an multiple-layer image. With this image, i work normally. If i open other image of this format, i can work normally with both images. The problem is that when i open the first image

Re: [Gimp-developer] about gimp dialogs...

2007-04-13 Thread coolhand
My question was, _why_ you want min/maximize buttons in dialogs :) Are util in some cases (if you want to show a little graph window and don't need to create a complex interface on a window). All i want is a graph and a close button, and it's easier to make with a dialog. How i can to make

Re: [Gimp-developer] problem with gimp progress bar

2007-04-13 Thread coolhand
Why do you expect the dialogue to disappear on its own just because you set it's position to 100% ? This may be what is required in a general context and it would be wrong for it to disappear automatically. Is there are in gimp two functions to get a progress bar working from/associate to

Re: [Gimp-developer] problem with gimp progress bar

2007-04-16 Thread coolhand
Just create this before you do any gimp_progress calls and place it at the bottom of the first dialog. Sven If it redirects all calls to a progress bar created by me, it kills my problem, so thanks!!. -- View this message in context:

Re: [Gimp-developer] gimp_drawable_get_image fails?

2007-04-16 Thread coolhand
I may be misunderstanding you but it sounds as though you are trying take a layer from one image and add it to another image directly. Oh, no!. There are different layers created for different images. The problem comes when i close the first image, and open a new image; then i create this new

Re: [Gimp-developer] gimp_drawable_get_image fails?

2007-04-17 Thread coolhand
I don't understand your call to gimp_layer_new. Its arguments should be: gimp_layer_new (GimpImage*image, gint width, gint height, GimpImageType type, const gchar

Re: [Gimp-developer] Pixel coordinates input type for script-fu?

2007-05-02 Thread coolhand
You cou use the selection tool and get the selection or use the path tool's initial point, or create a preview window, where you can get events more directly. Other way is to associate a key binding at your plugin that catches the position of your mouse in that moment and then get the pixel