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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkeditable.pre:26:   }      int insert_text(string text, int length, int pos)   //! Inserts text at a given position. Returns the position after the new text.   {    pgtk2_verify_inited();    {    struct pike_string *text;    INT_TYPE len,pos;    int pos2; -  get_all_args("insert_text",args,"%t%i%i",&text,&len,&pos); +  get_all_args(NULL,args,"%t%i%i",&text,&len,&pos);    pos2 = pos;    ref_push_string(text);    f_string_to_utf8(1);    gtk_editable_insert_text(GTK_EDITABLE(THIS->obj),    CGSTR0(Pike_sp[-1].u.string),len,&pos2);    pop_stack();    pgtk2_pop_n_elems(args);    PGTK_PUSH_INT(pos2);    }   }
pike.git/src/post_modules/GTK2/source/gtkeditable.pre:49:   //! Deletes a sequence of characters.      string get_chars(int start, int end);   //! Retrieves a sequence of characters.   /*   {    pgtk2_verify_inited();    {    gchar *s;    INT_TYPE start,end; -  get_all_args("get_chars",args,"%i%i",&start,&end); +  get_all_args(NULL,args,"%i%i",&start,&end);    pgtk2_pop_n_elems(args);    s=gtk_editable_get_chars(GTK_EDITABLE(THIS->obj),start,end);    PGTK_PUSH_GCHAR(s);    g_free(s);    }   }   */      void cut_clipboard();   //! Causes the characters in the current selection to be copied to the