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

version» Context lines:

pike.git/src/post_modules/GTK2/source/gtkentry.pre:61:    }    pgtk2_pop_n_elems(args);    } else {    GtkWidget *ge;    ge=gtk_entry_new();    THIS->obj=G_OBJECT(ge);    }    pgtk2__init_this_object();   }    - void set_text(string text); + void set_text(string text, mixed ... fmt)   //! Set the text to the specified string, replacing the current contents. -  + { +  pgtk2_get_string_arg_with_sprintf(args); +  pgtk2_verify_inited(); +  gtk_entry_set_text(GTK_ENTRY(THIS->obj),Pike_sp[-1].u.string->str); +  pgtk2_return_this(1); + }      string get_text();   //! Returns the contents of the entry widget.      void set_visibility(int visiblep);   //! 0 indicates invisible text (password boxes, as an example)      void set_invisible_char(int ch);   //! Sets the character to use in place of the actual text when   //! set_invisibility() has been called to set text visibility to false. i.e.