I program my application in C using GTK+3 and cairo.
is there a way to draw a line on top of a Vertical GtkBox ?
the thing is that I need to mark an area with a line. the area is a row of a vertical GtkBox, which is not a GtkDrawingArea.
is that possible?
any information regarding the issue would be greatly appreciated.
GtkBox
, overwriting the default draw handler (no signal connect foo, that can't work as it is executed before the default draw handler if I remember correctly, recheck that) and within that call your the defaultGtkBox
draw
handler and afterwards draw the line before exiting theyour_draw_handler
function? Just a thought. Also, code? Note that I did not try this, I can only tell you what I stumbled upon when implementing custom widgets, not hacking existing ones. – drahnr