void
-store_xwidget_event_string(struct xwidget* xw, char* eventname,char* eventstr)
+store_xwidget_event_string(struct xwidget* xw, char* eventname, const char* eventstr)
{
//refactor attempt
struct input_event event;
return 0;
}
-
+#if 0
void
refactor_attempt(){
//this methhod should be called from xwgir-xwidget-call-method and from xwgir xwidget construction
}
return Qt;
}
-
+#endif
DEFUN ("xwgir-xwidget-call-method", Fxwgir_xwidget_call_method, Sxwgir_xwidget_call_method, 3, 3, 0,
doc: /* call xwidget object method.*/)
gtk_widget_set_size_request (GTK_WIDGET (xw->widget_osr), xw->width, xw->height); //minimum size
//gtk_window_resize( GTK_WINDOW(xw->widget_osr), xw->width, xw->height);
gtk_window_resize( GTK_WINDOW(xw->widgetwindow_osr), xw->width, xw->height);
- gtk_container_resize_children ( GTK_WINDOW(xw->widgetwindow_osr));
+ //gtk_container_resize_children ( GTK_WINDOW(xw->widgetwindow_osr));
+ gtk_container_resize_children ( GTK_CONTAINER(xw->widgetwindow_osr));
}