Branch: Tag:

2010-09-19

2010-09-19 20:35:49 by Marcus Comstedt <marcus@mc.pp.se>

Added sprintf capability to the remaining set_text functions.

Rev: src/post_modules/GTK2/source/gnome/gnomedruidpagefinish.pre:1.3
Rev: src/post_modules/GTK2/source/gnome/gnomedruidpagestart.pre:1.3
Rev: src/post_modules/GTK2/source/gnomedruidpageedge.pre:1.9
Rev: src/post_modules/GTK2/source/gnomehref.pre:1.5
Rev: src/post_modules/GTK2/source/gtkentry.pre:1.11
Rev: src/post_modules/GTK2/source/gtklabel.pre:1.9
Rev: src/post_modules/GTK2/source/gtkprogressbar.pre:1.6
Rev: src/post_modules/GTK2/source/pangolayout.pre:1.9

68:    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.