RSS/Atom feed Twitter
Site is read-only, email is disabled

GimpAspect

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

GimpAspect Kristian Jantz 17 Jun 11:03
Kristian Jantz
2005-06-17 11:03:27 UTC (almost 19 years ago)

GimpAspect

Hello, i am trying to code a preview using a gimp aspect i use the following code, but the preview always remains black no matter what the original image was.
..
preview = gimp_aspect_preview_new (drawable, NULL); gtk_box_pack_start_defaults (GTK_BOX (main_vbox), preview); //preview = gimp_aspect_preview_new(drawable,NULL); // gtk_box_pack_start (GTK_BOX (main_vbox), preview, TRUE, TRUE, 0); g_signal_connect (G_OBJECT (preview), "button_press_event", G_CALLBACK (button_press_event), NULL); gtk_widget_show(preview);
..

If i use the same code with the drawable preview function instead:

preview = gimp_drawable_preview_new (drawable, NULL);

i can see a preview. Nevertheless i would like to use the gimpaspect due to the fixed aspect ratio. Anyone having an idea what i am doing wrong?

regards,
Kristian