i' working with Gtk developing some app. I must put some buttons over a map. I'm drawing the map on a GtkDrawingarea, but i'm not able to put buttons over it. Any suggestion? Thanks
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
Suggestions:
GtkFixed
container. Probably not the best solution, becauseGtkFixed
has no way of controlling the z-ordering (other than the order in which you add the widgets to it?)GtkDrawingArea
, use a canvas widget that can include other widgets, such asGooCanvas
.Why no other library? Any specific reason?
There is a library for exactly what you want
http://geocanvas.sourceforge.net/