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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkadjustment.pre:51:   //! All values are optional, they default to 0.0.   //! For most widgets the unit is pixels.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    GtkObject *ga;    if (TYPEOF(Pike_sp[-args]) == PIKE_T_FLOAT) {    FLOAT_TYPE val,lower,upper,step_inc,page_inc,page_size;    val=lower=upper=step_inc=page_inc=page_size=0.0; -  get_all_args("create",args,"%f.%f%f%f%f%f",&val,&lower,&upper, +  get_all_args(NULL,args,"%f.%f%f%f%f%f",&val,&lower,&upper,    &step_inc,&page_inc,&page_size);    ga=gtk_adjustment_new(val,lower,upper,step_inc,page_inc,page_size);    THIS->obj=G_OBJECT(ga);    } else {    INIT_WITH_PROPS(GTK_TYPE_ADJUSTMENT);    }    pgtk2_pop_n_elems(args);    } else {    GtkObject *ga;    ga=gtk_adjustment_new(0.0,0.0,0.0,0.0,0.0,0.0);