Hi, I sometimes want to read in a file into SourceView but disallow the user from making modifications (unless a check box is clicked, for instance.) Is this possible?
on 2011-09-06 05:12
on 2011-09-06 09:18
Marc Heiler wrote in post #1020330: > Hi, > > I sometimes want to read in a file into SourceView but disallow the user > from making modifications (unless a check box is clicked, for instance.) Most likely with : http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%... but I don't use sourceview myself.
on 2011-09-06 17:10
Yes, thank you! That solves this issue. :) I am silly, I should have looked at the parent classes. I use SourceView only recently... the old gtksourceview (Version 1) seems to no longer work, but gtksourceview2 seems to work and a few things have changed. I am porting all my little ruby-gtk apps that used gtksourceview to gtksourceview2 right now.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.