int clip_GTK_CONTAINERQUEUERESIZE(ClipMachine * cm) { C_widget *ccon = _fetch_cw_arg(cm); CHECKCWID(ccon,GTK_IS_CONTAINER); gtk_container_queue_resize(GTK_CONTAINER(ccon->widget)); return 0; err: return 1; }
void gtk_form_set_size(GtkForm *form, guint width, guint height) { g_return_if_fail(GTK_IS_FORM(form)); /* prevent unneccessary calls */ if (form->width == width && form->height == height) return; form->width = width; form->height = height; /* signal the change */ #ifdef HAVE_GTK2 gtk_widget_queue_resize(gtk_widget_get_parent(GTK_WIDGET(form))); #else gtk_container_queue_resize(GTK_CONTAINER(GTK_WIDGET(form)->parent)); #endif }