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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkcellrenderer.pre:29:   //! to determine the appropriate size for the cell_area passed to render().   //! If cell_area is present, fills in the x and y offset of the cell relative   //! to this location. Please note that the values set in width and height,   //! as well as those in x_offset and y_offset are inclusive of the xpad and   //! ypad properties.   {    pgtk2_verify_inited();    {    struct object *o1,*o2=NULL;    gint x_offset,y_offset,width,height; -  get_all_args("get_size",args,"%o.%o",&o1,&o2); +  get_all_args(NULL,args,"%o.%o",&o1,&o2);   #ifdef HAVE_GTK_BETA    gtk_cell_renderer_get_size(GTK_CELL_RENDERER(THIS->obj),    GTK_WIDGET(get_gobject(o1)),    &width,&height);    ref_push_string(_STR("width")); push_int(width);    ref_push_string(_STR("height")); push_int(height);    f_aggregate_mapping(4);   #else /* !HAVE_GTK_BETA */    gtk_cell_renderer_get_size(GTK_CELL_RENDERER(THIS->obj),    GTK_WIDGET(get_gobject(o1)),
pike.git/src/post_modules/GTK2/source/gtkcellrenderer.pre:68:   //! should be honored with respect to cell_area. background_area includes the   //! blank space around the cell, and also the area containing the tree   //! expander; so the background_area rectangles for all cells tile to cover the   //! entire window. expose_area is a clip rectangle.   //! flags is one of CONST(GTK_CELL_RENDERER_).   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3,*o4,*o5;    INT_TYPE flags; -  get_all_args("render",args,"%o%o%o%o%o%i",&o1,&o2,&o3,&o4,&o5,&flags); +  get_all_args(NULL,args,"%o%o%o%o%o%i",&o1,&o2,&o3,&o4,&o5,&flags);    gtk_cell_renderer_render(GTK_CELL_RENDERER(THIS->obj),    GDK_WINDOW(get_gobject(o1)),    GTK_WIDGET(get_gobject(o2)),    (GdkRectangle *)get_gdkobject(o3,rectangle),    (GdkRectangle *)get_gdkobject(o4,rectangle),    (GdkRectangle *)get_gdkobject(o5,rectangle),flags);    }    RETURN_THIS();   }   
pike.git/src/post_modules/GTK2/source/gtkcellrenderer.pre:92:   //! Passes an activate event to the cell renderer for possible processing.   //! Some cell renderers may use events; for example, W(CellRendererToggle)   //! toggles when it gets a mouse click.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3,*o4;    const gchar *path;    INT_TYPE flags;    int res; -  get_all_args("activate",args,"%o%o%s%o%o%i",&o1,&o2,&path,&o3,&o4,&flags); +  get_all_args(NULL,args,"%o%o%s%o%o%i",&o1,&o2,&path,&o3,&o4,&flags);    res=gtk_cell_renderer_activate(GTK_CELL_RENDERER(THIS->obj),    (GdkEvent *)get_gdkobject(o1,event),    GTK_WIDGET(get_gobject(o2)),    path,(GdkRectangle *)get_gdkobject(o3,rectangle),    (GdkRectangle *)get_gdkobject(o4,rectangle),flags);    pgtk2_pop_n_elems(args);    push_int(res);    }   }      void start_editing(GDK2.Event event, GTK2.Widget widget, string path,    GDK2.Rectangle background_area, GDK2.Rectangle cell_area,    int flags)   //! Passes an activate event to the cell renderer for possible processing.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3,*o4;    const gchar *path;    INT_TYPE flags; -  get_all_args("start_editing",args,"%o%o%s%o%o%i",&o1,&o2,&path,&o3,&o4,&flags); +  get_all_args(NULL,args,"%o%o%s%o%o%i",&o1,&o2,&path,&o3,&o4,&flags);    gtk_cell_renderer_start_editing(GTK_CELL_RENDERER(THIS->obj),    (GdkEvent *)get_gdkobject(o1,event),    GTK_WIDGET(get_gobject(o2)),path,    (GdkRectangle *)get_gdkobject(o3,rectangle),    (GdkRectangle *)get_gdkobject(o4,rectangle),flags);    }    RETURN_THIS();   }      require gtk26;