view, 0, 0, 1, 1);
gtk_container_add(GTK_CONTAINER(window), grid);
gtk_widget_show_all(window);
gtk_main();
g_object_unref(pixbuf);
return 0;
}
-Original Message-
From: Ferdinand Ramirez via gtk-app-devel-list
To: gtk-app-devel-list
Sent: Th
Op 08/03/2017 om 12:02 AM schreef Ferdinand Ramirez via gtk-app-devel-list:
> I have a program that adds a GdkPixbuf to a GtkTextView. I would like to
> right click on the image and capture the mouse click event and execute a
> callback function. Is there any way of achieving this using GdkPixbuf
I'm not sure it will work, but have you tried wrapping the pixbuf in a
GtkEventBox?
On 08/02/17 18:02, Ferdinand Ramirez via gtk-app-devel-list wrote:
I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execut
I have a program that adds a GdkPixbuf to a GtkTextView. I would like to right
click on the image and capture the mouse click event and execute a callback
function. Is there any way of achieving this using GdkPixbuf?
Thanks,
Ferdinand
___
gtk-app-devel