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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:27:      void create(GTK2.TextTagTable|mapping(string:mixed)|void table_or_props)   //! Creates a new text buffer.   {    pgtk2_verify_not_inited();    pgtk2_verify_setup();    if (args) {    if (TYPEOF(Pike_sp[-args]) == PIKE_T_OBJECT) {    struct object *o1;    GtkTextBuffer *gt; -  get_all_args("create",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gt=gtk_text_buffer_new(GTK_TEXT_TAG_TABLE(get_gobject(o1)));    THIS->obj=G_OBJECT(gt);    } else {    INIT_WITH_PROPS(GTK_TYPE_TEXT_BUFFER);    }    pgtk2_pop_n_elems(args);    } else {    GtkTextBuffer *gt;    gt=gtk_text_buffer_new(NULL);    THIS->obj=G_OBJECT(gt);
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:64:   //! Insert len bytes of text at position iter. If len is -1, string   //! will be inserted in its entirely. Emits the 'insert-text' signal.   //! iter is invalidated after insertion, but the default signal handler   //! revalidates it to point to the end of the inserted text.   {    pgtk2_verify_inited();    {    struct object *o1;    const gchar *text;    INT_TYPE len; -  get_all_args("insert",args,"%o%s%i",&o1,&text,&len); +  get_all_args(NULL,args,"%o%s%i",&o1,&text,&len);    gtk_text_buffer_insert(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),text,len);    }    RETURN_THIS();   }      void insert_at_cursor(string text, int len);   //! Simply calls insert(), using the current cursor position as the   //! insertion point.   
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:92:   //! default_edtibale indicates the editability of text that doesn't have a   //! tag affecting editability applied to it. Typically the result of   //! get_editable() is appropriate here.   {    pgtk2_verify_inited();    {    struct object *o1;    const gchar *text;    INT_TYPE len,defed;    int res; -  get_all_args("insert_interactive",args,"%o%s%i%i",&o1,&text,&len,&defed); +  get_all_args(NULL,args,"%o%s%i%i",&o1,&text,&len,&defed);    res=gtk_text_buffer_insert_interactive(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),text,len,defed);    pgtk2_pop_n_elems(args);    push_int(res);    }   }      int insert_interactive_at_cursor(string text,int len, int default_editable);   //! Calls insert_interactive() at the cursor position.   
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:116:   //! instead of simply getting/inserting text because it preserves images   //! and tags. If start and end are in a different buffer from this buffer,   //! the two buffers must share the same tag table.   //! <p>   //! Implemented via emissions of the insert-text and apply-tag signals, so   //! expect those.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3; -  get_all_args("insert_range",args,"%o%o%o",&o1,&o2,&o3); +  get_all_args(NULL,args,"%o%o%o",&o1,&o2,&o3);    gtk_text_buffer_insert_range(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o3,pgtk2_text_iter_program));    }    RETURN_THIS();   }      int insert_range_interactive(GTK2.TextIter iter, GTK2.TextIter start,    GTK2.TextIter end, int default_editable)   //! Same as insert_range(), but does nothing if the insertion point isn't   //! editable. The default_editable parameter indicates whether the text is   //! editable at iter if no tags enclosing iter affect editability.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3;    INT_TYPE defed;    int res; -  get_all_args("insert_range_interactive",args,"%o%o%o%i",&o1,&o2,&o3,&defed); +  get_all_args(NULL,args,"%o%o%o%i",&o1,&o2,&o3,&defed);    res=gtk_text_buffer_insert_range_interactive(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o3,pgtk2_text_iter_program),defed);    pgtk2_pop_n_elems(args);    push_int(res);    }   }      void insert_with_tags(GTK2.TextIter iter, string text, int len, array tags)
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:161:    pgtk2_verify_inited();    {    struct object *o1;    struct array *a;    char *text;    INT_TYPE len;    int start_offset;    int i;    GtkTextIter *iter,start;    GtkTextTag *tag; -  get_all_args("insert_with_tags",args,"%o%s%i%A",&o1,&text,&len,&a); +  get_all_args(NULL,args,"%o%s%i%A",&o1,&text,&len,&a);    iter=(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program);    start_offset=gtk_text_iter_get_offset(iter);    gtk_text_buffer_insert(GTK_TEXT_BUFFER(THIS->obj),iter,text,len);    gtk_text_buffer_get_iter_at_offset(GTK_TEXT_BUFFER(THIS->obj),&start,start_offset);    if (a==NULL)    Pike_error("Invalid array.\n");    for (i=0; i<a->size; i++) {    if (TYPEOF(ITEM(a)[i]) == PIKE_T_OBJECT) {    GObject *go=get_gobject((ITEM(a)+i)->u.object);   /* if (G_OBJECT_TYPE(go)==GTK_TYPE_TEXT_TAG) { */
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:200:    struct object *o1;    struct array *a;    char *text;    char *tag_name;    INT_TYPE len;    int start_offset;    int i;    GtkTextIter *iter,start;    GtkTextTag *tag;    GtkTextTagTable *table; -  get_all_args("insert_with_tags_by_name",args,"%o%s%i%A",&o1,&text,&len,&a); +  get_all_args(NULL,args,"%o%s%i%A",&o1,&text,&len,&a);    iter=(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program);    start_offset=gtk_text_iter_get_offset(iter);    gtk_text_buffer_insert(GTK_TEXT_BUFFER(THIS->obj),iter,text,len);    gtk_text_buffer_get_iter_at_offset(GTK_TEXT_BUFFER(THIS->obj),&start,start_offset);    if (a==NULL)    Pike_error("Invalid array\n");    table=gtk_text_buffer_get_tag_table(GTK_TEXT_BUFFER(THIS->obj));    for (i=0; i<a->size; i++) {    if (TYPEOF(ITEM(a)[i]) == PIKE_T_STRING) {    tag_name=(char *)STR0((ITEM(a)+i)->u.string);
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:235:   //! actually relevant; delete() will reorder them. This function actually   //! emits the "delete-range" signal, and the default handler of that signal   //! deletes the text. Because the buffer is modified, all outstanding   //! iterators become invalid after calling this function; however, start   //! and end will be re-initialized to point to the location where text was   //! deleted.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("delete",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_delete(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }      int delete_interactive(GTK2.TextIter start, GTK2.TextIter end,    int default_editable)   //! Deletes all editable text in the given range. Calls delete() for each   //! editable sub-range of [start,end). start and end are revalidated to   //! point to the location of the last deleted range, or left untouched if no   //! text was deleted.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    INT_TYPE defed;    int res; -  get_all_args("delete_interactive",args,"%o%o%i",&o1,&o2,&defed); +  get_all_args(NULL,args,"%o%o%i",&o1,&o2,&defed);    res=gtk_text_buffer_delete_interactive(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),defed);    pgtk2_pop_n_elems(args);    push_int(res);    }   }      require gtk26;   int backspace(GTK2.TextIter iter, int interactive, int default_editable)
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:282:   //! <p>   //! Because the buffer is modified, all outstanding iterators become invalid   //! after calling this function; however, iter will be re-initialized to   //! point to the location where text was deleted.   {    pgtk2_verify_inited();    {    struct object *o1;    INT_TYPE inter,defed;    int res; -  get_all_args("backspace",args,"%o%i%i",&o1,&inter,&defed); +  get_all_args(NULL,args,"%o%i%i",&o1,&inter,&defed);    res=gtk_text_buffer_backspace(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),inter,defed);    pgtk2_pop_n_elems(args);    push_int(res);    }   }   endrequire;      void set_text(sprintf_format text, sprintf_args ... fmt)   //! Deletes current contents of this buffer, and inserts text instead.
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:315:   //! include_hidden_chars is false. Does not include characters representing   //! embedded images, so byte and character indexes into the returned   //! string do not correspond to byte and character indexes into the buffer.   //! Contrast with get_slice().   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    INT_TYPE inc;    gchar *s; -  get_all_args("get_text",args,"%o%o%i",&o1,&o2,&inc); +  get_all_args(NULL,args,"%o%o%i",&o1,&o2,&inc);    s=gtk_text_buffer_get_text(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),inc);    pgtk2_pop_n_elems(args);    PGTK_PUSH_GCHAR(s);    g_free(s);    }   }      string get_slice(GTK2.TextIter start, GTK2.TextIter end,
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:341:   //! character indexes into the returned string do correspond to byte and   //! character indexes into the buffer. Contrast with get_text(). Note that   //! 0xFFFC can occur in normal text as well, so it is not a reliable   //! indicator that a pixbuf or widget is in the buffer.   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    INT_TYPE inc;    gchar *s; -  get_all_args("get_slice",args,"%o%o%i",&o1,&o2,&inc); +  get_all_args(NULL,args,"%o%o%i",&o1,&o2,&inc);    s=gtk_text_buffer_get_slice(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),inc);    pgtk2_pop_n_elems(args);    PGTK_PUSH_GCHAR(s);    g_free(s);    }   }      void insert_pixbuf(GTK2.TextIter iter, GDK2.Pixbuf pixbuf)
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:363:   //! counted as one character in character counts, and when obtaining the   //! contents as a string, will be represented by the Unicode   //! "object replacement character" 0xFFFC. Note that the "slice" variants   //! for obtaining portions of the buffer as a string include this character   //! for pixbufs, but the "text" variants do not. e.g. see get_slice()   //! and get_text().   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("insert_pixbuf",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_insert_pixbuf(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    GDK_PIXBUF(get_gobject(o2)));    }    RETURN_THIS();   }      void insert_child_anchor(GTK2.TextIter iter, GTK2.TextChildAnchor anchor)   //! Inserts a child widget anchor into the buffer at iter. The anchor will   //! be counted as one character in character counts, and when obtaining
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:385:   //! "object replacement character" oxFFFC. Note that the "slice" variants   //! for obtaining portions of the buffer as a string include this character   //! for child anchors, but the "text" variants do not. e.g. see get_slice()   //! and get_text(). Consider create_child_anchor() as a more convenient   //! alternative to this function. The buffer will add a reference to the   //! anchor, so you can unref it after insertion.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("insert_child_anchor",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_insert_child_anchor(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    GTK_TEXT_CHILD_ANCHOR(get_gobject(o2)));    }    RETURN_THIS();   }      +GTK2.TextChildAnchor create_child_anchor(GTK2.TextIter iter)   //! This is a convenience function which simply creates a child anchor with   //! GTK2.TextChildAnchor->create() and inserts it into the buffer with   //! insert_child_anchor(). The new anchor is owned by the buffer; no   //! reference count is returned.   {    pgtk2_verify_inited();    {    struct object *o1;    GtkTextChildAnchor *gtca; -  get_all_args("create_child_anchor",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gtca=gtk_text_buffer_create_child_anchor(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program));    pgtk2_pop_n_elems(args);    push_gobject(gtca);    }   }      +GTK2.TextMark create_mark(GTK2.TextIter where,    int left_gravity, ?string mark_name)   //! Creates a mark at position where. If mark_name is omitted, the mark is
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:430:   //! text you're typing).   //! Emits the "mark-set" signal as notification of the mark's initial   //! placement.   {    pgtk2_verify_inited();    {    struct object *o1;    INT_TYPE left;    const gchar *mark_name=NULL;    GtkTextMark *gtm; -  get_all_args("create_mark",args,"%o%i.%s",&o1,&left,&mark_name); +  get_all_args(NULL,args,"%o%i.%s",&o1,&left,&mark_name);    gtm=gtk_text_buffer_create_mark(GTK_TEXT_BUFFER(THIS->obj),    mark_name,(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),left);    pgtk2_pop_n_elems(args);    push_gobject(gtm);    }   }      void move_mark(GTK2.TextMark mark, GTK2.TextIter where)   //! Moves mark to the new location where. Emits the "mark-set" signal as   //! notification of the move.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("move_mark",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_move_mark(GTK_TEXT_BUFFER(THIS->obj),    GTK_TEXT_MARK(get_gobject(o1)),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void move_mark_by_name(string name, GTK2.TextIter where)   //! Moves the mark named name (which must exist) to location where.   {    pgtk2_verify_inited();    {    struct object *o1;    const gchar *name; -  get_all_args("move_mark_by_name",args,"%s%o",&name,&o1); +  get_all_args(NULL,args,"%s%o",&name,&o1);    gtk_text_buffer_move_mark_by_name(GTK_TEXT_BUFFER(THIS->obj),    name,(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void delete_mark(GTK2.TextMark mark);   //! Deletes mark, so that it's no longer located anywhere in the buffer.   //! Removes the reference the buffer holds to the mark. There is no way   //! to undelete a mark.
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:513:   //! This function moves the "insert" and "selection_bound" marks   //! simultaneously. If you move them to the same place in two steps with   //! move_mark(), you will temporarily select a region in between their old   //! and new locations, which can be pretty inefficient since the   //! temporarily-selected region will force stuff to be recalculated. This   //! function moves them as a unit, which can be optimized.   {    pgtk2_verify_inited();    {    struct object *o1; -  get_all_args("place_cursor",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gtk_text_buffer_place_cursor(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program));    }    RETURN_THIS();   }      require gtk24;   void select_range(GTK2.TextIter ins, GTK2.TextIter bound)   //! This function removes the "insert" and "selection_bound" marks   //! simultaneously. If you move them in two steps with move_mark(), you will   //! temporarily select a region in between their old and new locations, which   //! can be pretty inefficient since the temporarily-selected region will   //! force stuff to be recalculated. This function moves them as a unit,   //! which can be optimized.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("select_range",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_select_range(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }   endrequire;      void apply_tag(GTK2.TextTag tag, GTK2.TextIter start, GTK2.TextIter end)   //! Emits the "apply-tag" signal. The default handler for the signal   //! applies tag to the given range, start and end do not have to be in order.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3; -  get_all_args("apply_tag",args,"%o%o%o",&o1,&o2,&o3); +  get_all_args(NULL,args,"%o%o%o",&o1,&o2,&o3);    gtk_text_buffer_apply_tag(GTK_TEXT_BUFFER(THIS->obj),    GTK_TEXT_TAG(get_gobject(o1)),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o3,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void remove_tag(GTK2.TextTag tag, GTK2.TextIter start, GTK2.TextIter end)   //! Emits the "remove-tag" signal. The default handler for the signal removes   //! all occurrences of tag from the given range. start and end do not have to   //! be in order.   {    pgtk2_verify_inited();    {    struct object *o1,*o2,*o3; -  get_all_args("remove_tag",args,"%o%o%o",&o1,&o2,&o3); +  get_all_args(NULL,args,"%o%o%o",&o1,&o2,&o3);    gtk_text_buffer_remove_tag(GTK_TEXT_BUFFER(THIS->obj),    GTK_TEXT_TAG(get_gobject(o1)),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o3,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void apply_tag_by_name(string name, GTK2.TextIter start, GTK2.TextIter end)   //! Calls GTK2.TextTagTable->lookup() on the buffers tag table to get a   //! GTK2.TextTag, then calls apply_tag().   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    const gchar *name; -  get_all_args("apply_tag_by_name",args,"%s%o%o",&name,&o1,&o2); +  get_all_args(NULL,args,"%s%o%o",&name,&o1,&o2);    gtk_text_buffer_apply_tag_by_name(GTK_TEXT_BUFFER(THIS->obj),    name,(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void remove_tag_by_name(string name, GTK2.TextIter start, GTK2.TextIter end)   //! Removes a tag. See apply_tag_by_name().   {    pgtk2_verify_inited();    {    struct object *o1,*o2;    const gchar *name; -  get_all_args("remove_tag_by_name",args,"%s%o%o",&name,&o1,&o2); +  get_all_args(NULL,args,"%s%o%o",&name,&o1,&o2);    gtk_text_buffer_remove_tag_by_name(GTK_TEXT_BUFFER(THIS->obj),    name,(GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }      void remove_all_tags(GTK2.TextIter start, GTK2.TextIter end)   //! Removes all tags in the range between start and end. Be careful with   //! this function; it could remove tags added in code unrelated to the code   //! you're currently writing. That is, using this function is probably a   //! bad idea if you have two or more unrelated code sections that add tags.   {    pgtk2_verify_inited();    {    struct object *o1,*o2; -  get_all_args("remove_all_tags",args,"%o%o",&o1,&o2); +  get_all_args(NULL,args,"%o%o",&o1,&o2);    gtk_text_buffer_remove_all_tags(GTK_TEXT_BUFFER(THIS->obj),    (GtkTextIter *)get_pg2object(o1,pgtk2_text_iter_program),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program));    }    RETURN_THIS();   }      +GTK2.TextTag create_tag(string tag_name, mapping props)   //! Creates a tag and adds it to the tag table. Equivalent to calling   //! GTK2.TextTag->create() and then adding the tag to the tag table. The   //! returned tag is owned by the tag table.   {    pgtk2_verify_inited();    {    struct mapping *m;    char *name;    GtkTextTag *tag;    struct keypair *k;    int e; -  get_all_args("create_tag",args,"%s%m",&name,&m); +  get_all_args(NULL,args,"%s%m",&name,&m);    tag=gtk_text_tag_new(name);    gtk_text_tag_table_add(gtk_text_buffer_get_tag_table(GTK_TEXT_BUFFER(THIS->obj)),tag);    NEW_MAPPING_LOOP(m->data) {    if (TYPEOF(k->ind) == PIKE_T_STRING) {    char *s=PGTK_GETSTR(&k->ind);    pgtk2_set_property(G_OBJECT(tag),s,&k->val);    PGTK_FREESTR(s);    }    }    pgtk2_pop_n_elems(args);
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:659:   +GTK2.TextIter get_iter_at_line_offset(int line_number, int char_offset)   //! Obtains an iterator pointing to char_offset within the given line. The   //! char_offset must exist, offsets off the end of the line are not allowed.   //! Note characters, not bytes; UTF-8 may encode one character as multiple   //! bytes.   {    pgtk2_verify_inited();    {    INT_TYPE line,ch;    GtkTextIter *gti; -  get_all_args("get_iter_at_line_offset",args,"%i%i",&line,&ch); +  get_all_args(NULL,args,"%i%i",&line,&ch);    pgtk2_pop_n_elems(args);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_line_offset",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_line_offset(GTK_TEXT_BUFFER(THIS->obj),    gti,line,ch);    push_pgdk2object(gti,pgtk2_text_iter_program,1);    }   }      +GTK2.TextIter get_iter_at_offset(int offset)   //! Returns an iterator at position offset chars from the start of the   //! entire buffer. If offset is -1 or greater than the number of characters   //! in the buffer, returns the end iterator, the iterator one past the last   //! valid character in the buffer.   {    pgtk2_verify_inited();    {    INT_TYPE ch;    GtkTextIter *gti; -  get_all_args("get_iter_at_offset",args,"%i",&ch); +  get_all_args(NULL,args,"%i",&ch);    pgtk2_pop_n_elems(args);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_offset",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_offset(GTK_TEXT_BUFFER(THIS->obj),    gti,ch);    push_pgdk2object(gti,pgtk2_text_iter_program,1);   // push_gobjectclass(gti,pgtk2_text_iter_program);    }   }      +GTK2.TextIter get_iter_at_line(int line)   //! Returns a W(TextIter) to the start of the given line.   {    pgtk2_verify_inited();    {    INT_TYPE line;    GtkTextIter *gti; -  get_all_args("get_iter_at_line",args,"%i",&line); +  get_all_args(NULL,args,"%i",&line);    pgtk2_pop_n_elems(args);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_line",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_line(GTK_TEXT_BUFFER(THIS->obj),    gti,line);    push_pgdk2object(gti,pgtk2_text_iter_program,1);   // push_gobjectclass(gti,pgtk2_text_iter_program);    }   }
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:721:   +GTK2.TextIter get_iter_at_line_index(int line, int byte_index)   //! Obtains an iterator point to byte_index with the given line. byte_index   //! must be the start of a UTF-8 character, and must not be beyond the end   //! of the line. Note bytes, not characters; UTF-8 may encode one character   //! as multiple bytes.   {    pgtk2_verify_inited();    {    INT_TYPE line,index;    GtkTextIter *gti; -  get_all_args("get_iter_at_line_index",args,"%i%i",&line,&index); +  get_all_args(NULL,args,"%i%i",&line,&index);    pgtk2_pop_n_elems(args);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_line_index",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_line_index(GTK_TEXT_BUFFER(THIS->obj),    gti,line,index);    push_pgdk2object(gti,pgtk2_text_iter_program,1);   // push_gobjectclass(gti,pgtk2_text_iter_program);    }   }      +GTK2.TextIter get_iter_at_mark(GTK2.TextMark mark)   //! Returns an iterator with the current position of mark.   {    pgtk2_verify_inited();    {    GtkTextIter *gti;    struct object *o1; -  get_all_args("get_iter_at_mark",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_mark",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_mark(GTK_TEXT_BUFFER(THIS->obj),    gti,GTK_TEXT_MARK(get_gobject(o1)));    pgtk2_pop_n_elems(args);    push_pgdk2object(gti,pgtk2_text_iter_program,1);   // push_gobjectclass(gti,pgtk2_text_iter_program);    }   }      +GTK2.TextIter get_iter_at_child_anchor(GTK2.TextChildAnchor anchor)   //! Returns the location of anchor.   {    pgtk2_verify_inited();    {    GtkTextIter *gti;    struct object *o1; -  get_all_args("get_iter_at_child_anchor",args,"%o",&o1); +  get_all_args(NULL,args,"%o",&o1);    gti=g_malloc(sizeof(GtkTextIter));    if (gti==NULL)    SIMPLE_OUT_OF_MEMORY_ERROR("get_iter_at_child_anchor",sizeof(GtkTextIter));    gtk_text_buffer_get_iter_at_child_anchor(GTK_TEXT_BUFFER(THIS->obj),    gti,GTK_TEXT_CHILD_ANCHOR(get_gobject(o1)));    pgtk2_pop_n_elems(args);    push_pgdk2object(gti,pgtk2_text_iter_program,1);   // push_gobjectclass(gti,pgtk2_text_iter_program);    }   }
pike.git/src/post_modules/GTK2/source/gtktextbuffer.pre:856:   require gtk22;   void paste_clipboard(GTK2.Clipboard clipboard, ?int default_editable,    ?GTK2.TextIter location)   //! Pastes the contents of a clipboard at the insertion point, or at   //! override_location.   {    pgtk2_verify_inited();    {    struct object *o1,*o2=NULL;    INT_TYPE defed=0; -  get_all_args("paste_clipboard",args,"%o.%i%o",&o1,&defed,&o2); +  get_all_args(NULL,args,"%o.%i%o",&o1,&defed,&o2);    gtk_text_buffer_paste_clipboard(GTK_TEXT_BUFFER(THIS->obj),    GTK_CLIPBOARD(get_gobject(o1)),    (GtkTextIter *)get_pg2object(o2,pgtk2_text_iter_program),    defed);    }    RETURN_THIS();   }   endrequire;