Lines Matching refs:attributes
382 GdkWindowAttr attributes;
394 attributes.window_type = GDK_WINDOW_CHILD;
396 attributes.x = widget->allocation.x;
397 attributes.y = widget->allocation.y;
398 attributes.width = widget->allocation.width;
399 attributes.height = widget->allocation.height;
402 attributes.x += border;
403 attributes.y += border;
404 attributes.width -= 2 * border;
405 attributes.height -= 2 * border;
408 if (attributes.width < 2) attributes.width = 2;
409 if (attributes.height < 2) attributes.height = 2;
411 attributes.wclass = GDK_INPUT_OUTPUT;
412 attributes.visual = gtk_widget_get_visual (widget);
413 attributes.colormap = gtk_widget_get_colormap (widget);
414 attributes.event_mask = GDK_VISIBILITY_NOTIFY_MASK;
418 &attributes, attributes_mask);
421 attributes.x = 0;
422 attributes.y = 0;
424 attributes.event_mask = gtk_widget_get_events (widget);
425 attributes.event_mask |= GDK_EXPOSURE_MASK |
442 &attributes, attributes_mask);