How to draw a rectangle on a GtkImage widget?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am displaying an image in the main window with a thumbnail of the same
image on one side. The thumbnail always shows the entire image while the
main window shows just a part of the image because of zoom.

Now I want to draw a rectange in the thumbnail to indicate which part of the
image is currently displayed in the main window. How can I achieve this?

Thanks!!
--
View this message in context: http://www.nabble.com/How-to-draw-a-rectangle-on-a-GtkImage-widget--t1805314.html#a4920028
Sent from the Gtk+ - General forum at Nabble.com.

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux