[Gtk-sharp-list] RichTextBox.TextChanged (event) equivalent in GTk.?

True Friend true.friend2004 at gmail.com
Thu Sep 25 12:27:44 EDT 2008


Thanks. After trying different events finally I added it to filesave event
handler. I'll try this as well.
Regards

On Thu, Sep 25, 2008 at 9:22 PM, Chris Howie <cdhowie at gmail.com> wrote:

> On Thu, Sep 25, 2008 at 7:00 AM, True Friend <true.friend2004 at gmail.com>
> wrote:
> > HI
> > I am working on a simple application. I had same in winforms where I
> added
> > above (in subject) said event handler so when I pasted some text or text
> > changed in rich text box the method was called and it made some
> > modifications in text. Can you tell me what is its equal in gtk? I tried
> to
> > search textview events but couldn't find an appropriate one which can
> work
> > as textchanged event...
>
> Much of GTK+ uses the MVC (Model, View, and Controller) model.  In
> this case, TextView is the view and TextBuffer is the model.  The
> changed event is on the TextBuffer, so:
>
> this.someTextView.Buffer.Changed += this.OnSomeTextViewChanged;
>
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
>



-- 
Muhammad Shakir Aziz محمد شاکر عزیز
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080925/5ba2a724/attachment.html 


More information about the Gtk-sharp-list mailing list