-void
-gtk_myfixed_set_offset (GtkMyFixed *myfixed,
- gint16 x,
- gint16 y)
-{
- GtkWidget *widget;
-
- g_return_if_fail (myfixed != NULL);
- g_return_if_fail (GTK_IS_MYFIXED (myfixed));
-
- myfixed->scroll_offset_x = x;
- myfixed->scroll_offset_y = y;
-
- widget = GTK_WIDGET( myfixed );
-
- if (GTK_WIDGET_REALIZED( GTK_WIDGET(myfixed) ))
- gdk_window_move_resize (widget->window,
- widget->allocation.x + x,
- widget->allocation.y + y,
- 32000,
- 32000);
-}
-