pike.git / src / post_modules / GTK2 / source / gtkalignment.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkalignment.pre:40:   //! <td>the amount that the child widget expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the GTK2.Alignment.</td></tr>   //! <tr><td> yscale :</td>   //! <td>the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to xscale.</td></tr>   //! </table>   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args==4) {    FLOAT_TYPE xalign,yalign,xscale,yscale;    GtkWidget *ga; -  get_all_args("create",args,"%f%f%f%f",&xalign,&yalign,&xscale,&yscale); +  get_all_args(NULL,args,"%f%f%f%f",&xalign,&yalign,&xscale,&yscale);    ga=gtk_alignment_new(xalign,yalign,xscale,yscale);    THIS->obj=G_OBJECT(ga);    } else {    INIT_WITH_PROPS(GTK_TYPE_ALIGNMENT);    }    pgtk2_pop_n_elems(args);    pgtk2__init_this_object();   }      void set(float xalign, float yalign, float xscale, float yscale);