Trying to get Height and Width of GtkEventBox.
Tried following Things.
GtkRequisition requisition;
gtk_widget_get_child_requisition(widget, &requisition);
// Getting requisition.height 0
----------------------------------------------------------
widget->allocation-x //getting 0
widget->allocation-height //getting -1
----------------------------------------------------------
gtk_widget_get_size_request( widget, &height, &width); // Again getting 0
--------------------------------------------------------------------------
It is really bad that Gtk has not provided simple function that will give you the actual displayed height and with of the widget.
Anyone tried to get height and with of GtkWidget?