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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkscrolledwindow.pre:24:   //! Style properties:   //! int scrollbar-spacing      signal move_focus_out;   signal scroll_child;      void create(?GTK2.Adjustment|mapping(string:mixed)|void hadjustment_or_props,    ?GTK2.Adjustment vadjustments)   //! The two adjustments are most commonly set to 0.   { -  pgtk_verify_not_inited(); -  pgtk_verify_setup(); +  pgtk2_verify_not_inited(); +  pgtk2_verify_setup();    if (args) {    if (Pike_sp[-args].type==PIKE_T_OBJECT) {    struct object *o1,*o2=NULL;    GtkWidget *gs;    get_all_args("create",args,"%o.%o",&o1,&o2);    gs=gtk_scrolled_window_new(    GTK_ADJUSTMENT(get_gobject(o1)),    GTK_ADJUSTMENT(get_gobject(o2)));    THIS->obj=G_OBJECT(gs);    } else {    INIT_WITH_PROPS(GTK_TYPE_SCROLLED_WINDOW);    } -  my_pop_n_elems(args); +  pgtk2_pop_n_elems(args);    } else {    GtkWidget *gs;    gs=gtk_scrolled_window_new(NULL,NULL);    THIS->obj=G_OBJECT(gs);    } -  pgtk__init_this_object(); +  pgtk2__init_this_object();   }      GTK2.Adjustment get_hadjustment();   //! Get the horizontal adjustment.      GTK2.Adjustment get_vadjustment();   //! Get the vertical adjustment.      require gtk28;   GTK2.HScrollbar get_hscrollbar();
pike.git/src/post_modules/GTK2/source/gtkscrolledwindow.pre:112:   int get_placement();   //! Gets the placement of the scrollbars.      mapping(string:int) get_policy()   //! Returns the current policy values for the horizontal and vertical   //! scrollbars.   //! ([ "h-policy": horizontal policy,   //! "v-policy": vertical policy   //! ]);   { -  pgtk_verify_inited(); -  my_pop_n_elems(args); +  pgtk2_verify_inited(); +  pgtk2_pop_n_elems(args);    {    GtkPolicyType hpol,vpol;    gtk_scrolled_window_get_policy(GTK_SCROLLED_WINDOW(THIS->obj),    &hpol,&vpol);    ref_push_string(_STR("h-policy")); push_int(hpol);    ref_push_string(_STR("v-policy")); push_int(vpol);    f_aggregate_mapping(4);    }   }      int get_shadow_type();   //! Gets the shadow type.