GtkFixedChild *child_info;
g_return_if_fail (GTK_IS_FIXED (fixed));
- g_return_if_fail (widget != NULL);
+ g_return_if_fail (GTK_IS_WIDGET (fixed));
child_info = g_new (GtkFixedChild, 1);
child_info->widget = widget;
gint x,
gint y)
{
- g_return_if_fail (GTK_IS_FIXED (fixed));
- g_return_if_fail (GTK_IS_WIDGET (widget));
- g_return_if_fail (widget->parent == GTK_WIDGET (fixed));
-
gtk_fixed_move_internal (fixed, widget, TRUE, x, TRUE, y);
}
GdkWindowAttr attributes;
gint attributes_mask;
- g_return_if_fail (GTK_IS_FIXED (widget));
-
if (GTK_WIDGET_NO_WINDOW (widget))
GTK_WIDGET_CLASS (parent_class)->realize (widget);
else
GList *children;
GtkRequisition child_requisition;
- g_return_if_fail (GTK_IS_FIXED (widget));
- g_return_if_fail (requisition != NULL);
-
fixed = GTK_FIXED (widget);
requisition->width = 0;
requisition->height = 0;
GList *children;
guint16 border_width;
- g_return_if_fail (GTK_IS_FIXED(widget));
- g_return_if_fail (allocation != NULL);
-
fixed = GTK_FIXED (widget);
widget->allocation = *allocation;
gtk_fixed_add (GtkContainer *container,
GtkWidget *widget)
{
- g_return_if_fail (GTK_IS_FIXED (container));
- g_return_if_fail (widget != NULL);
-
gtk_fixed_put (GTK_FIXED (container), widget, 0, 0);
}
GtkFixedChild *child;
GList *children;
- g_return_if_fail (GTK_IS_FIXED (container));
- g_return_if_fail (widget != NULL);
-
fixed = GTK_FIXED (container);
children = fixed->children;
GtkFixedChild *child;
GList *children;
- g_return_if_fail (GTK_IS_FIXED (container));
g_return_if_fail (callback != NULL);
fixed = GTK_FIXED (container);
* Sets whether a #GtkFixed widget is created with a separate
* #GdkWindow for widget->window or not. (By default, it will be
* created with no separate #GdkWindow). This function must be called
- * while the is not realized, for instance, immediately after the
+ * while the #GtkFixed is not realized, for instance, immediately after the
* window is created.
**/
void
* Gets whether the #GtkFixed has it's own #GdkWindow.
* See gdk_fixed_set_has_window().
*
- * Return value:
+ * Return value: %TRUE if @fixed has its own window.
**/
gboolean
gtk_fixed_get_has_window (GtkFixed *fixed)