2002-11-29 Duncan Mak <duncan@ximian.com>
* gtk/TextBuffer.custom (Text): Add a new Text property. svn path=/trunk/gtk-sharp/; revision=9262
This commit is contained in:
parent
cb65a8c56a
commit
5646397d75
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-11-29 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* gtk/TextBuffer.custom (Text): Add a new Text property.
|
||||
|
||||
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* sample/DbClient/GnomeDbClient.cs:
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
public string Text {
|
||||
get {
|
||||
return GetText (StartIter, EndIter, false);
|
||||
}
|
||||
|
||||
public void SetText (string text) {
|
||||
gtk_text_buffer_set_text (Handle, text, text.Length);
|
||||
set {
|
||||
gtk_text_buffer_set_text (Handle, value, value.Length);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue