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 <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 7:00 AM, True Friend <[EMAIL PROTECTED]> > 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 محمد شاکر عزیز
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
