[Gtk-sharp-list] RichTextBox.TextChanged (event) equivalent in GTk.?
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.
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>
> > HI
> > I am working on a simple application. I had same in winforms where I
> > 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
> > search textview events but couldn't find an appropriate one which can
> > 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
Muhammad Shakir Aziz محمد شاکر عزیز
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list