i am using ruby-gtk. There is a notebook in my application. I added
textView to scrolledWindow. I want to get textView buffer. My some code
editor = Textview.new
swin = Gtk::ScrolledWindow.new
tab = Gtk::Notebook.new
swin.add(editor)
tab.append_page(swin, Gtk::Label.new(“Tab”)
tab.get_nth_page(current_page).buffer # wrong because its contain is a
scrolledWindow
How can i get editor buffer?
Change tab.get_nth_page(current_page).buffer to
tab.get_nth_page(current_tab).child.buffer And that should work.
On Sun, Feb 17, 2013 at 5:11 AM, Ebru A. <
[email protected]> wrote:
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now.
http://goparallel.sourceforge.net/
ruby-gnome2-devel-en mailing list
[email protected]
ruby-gnome2-devel-en List Signup and Options
–
Mario S.
Fleet Captain
CO - Geo 99
CO - USS T’hy’la
XO - Diplomatic Corps - Second Life
http://www.iftcommand.com/chapters/thyla/