src/gtk/iupgtk_dialog.c
static void gtkDialogSetChildrenPositionMethod(Ihandle* ih, int x, int y)
{
  if (ih->firstchild)
  {
    char* offset = iupAttribGet(ih, "CHILDOFFSET");

    /* Native container, position is reset */
    x = 0;
    y = 0;

    if (offset) iupStrToIntInt(offset, &x, &y, 'x');

    y += gtkDialogGetMenuSize(ih);

    /* Child coordinates are relative to client left-top corner. */
    if (ih->firstchild)
      iupBaseSetPosition(ih->firstchild, x, y);
  }
}
/* replace the common dialog SetChildrenPosition method because of 
   the menu that it is inside the dialog. */
replace the common dialog SetChildrenPosition method because of
the menu that it is inside the dialog.
replace the common dialog SetChildrenPosition method because of the menu that it is inside the dialog .
static void gtkDialogSetChildrenPositionMethod(Ihandle* ih, int x, int y)
{
  if (ih->firstchild)
  {
    char* offset = iupAttribGet(ih, "CHILDOFFSET");
    x = 0;
    y = 0;
    if (offset) iupStrToIntInt(offset, &x, &y, 'x');
    y += gtkDialogGetMenuSize(ih);
    if (ih->firstchild)
      iupBaseSetPosition(ih->firstchild, x, y);
  }
}
static void gtkDialogSetChildrenPositionMethod ( Ihandle * ih , int x , int y ) { if ( ih -> firstchild ) { char * offset = iupAttribGet ( ih , " " ) ; x = 0 ; y = 0 ; if ( offset ) iupStrToIntInt ( offset , & x , & y , ' ' ) ; y += gtkDialogGetMenuSize ( ih ) ; if ( ih -> firstchild ) iupBaseSetPosition ( ih -> firstchild , x , y ) ; } }
replace the common dialog SetChildrenPosition method because of
the menu that it is inside the dialog.
replace the common dialog SetChildrenPosition method because of the menu that it is inside the dialog .
/* Native container, position is reset */ /* Child coordinates are relative to client left-top corner. */