I have added one GtkMenu popup using following code...
and to adjust this popup under my button i have used this function...
but popup is getting displayed at the end of the whole window not at the end of the button... Out put of the printf: w[350] h[400] px[341] py[607] what is going wrong why it is not giving x, y and height, width of button correctly? Note: The button widget used in this, is a custom composite widget with (GtkHBox+(GtkImage+GtkLabel)) in it. Cheers, Pradeep |