Showing changes from revision #3 to #4:
Added | Removed
UniversityEl Levelwidget EssayText TopicsView de ruby GTK reemplaza al text de la versión anterior de gtk.
Most students learn early on that being in university is a lot different from secondary school. For one, the coursework tasks are heavier and more frequently given. For another, the scope and amount of research needed to complete these tasks are greater and more comprehensive. One particular example of this significant gap is in essay writing. University essays require a more formal, in-depth, and intelligent presentation of facts and arguments. Also, typical university essay topics are formulated to test the student’s analytical skills in comprehending what exactly the topic is all about.
TutorsEl purposelysiguiente assignejemplo topicsmuestra whichcomo hasusarlo.
requirea'gtk2' classbroaderEditor defscopeinitialize #orcreoalageneralisedventanasubject.principal appwindowThis=isGtk::Window.new(Gtk::Window::TOPLEVEL) appwindow.set_title('TextView') appwindow.set_default_size(200,200) #especiallycapturotrueelforclicend-of-termenresearchlapapersX appwindow.signal_connect('destroy')where{Gtk.main_quit} #theunobjectivecontenedorisquehowproveemuchscrollaverticalstudentyhashorizontal scrollwindowunderstood=theGtk::ScrolledWindow.new(essentialnil,pointsnilof) #theelsubject.widgetThequestudentsnosareinteresa. textviewthen=leftGtk::TextView.new #tobuffermakeestheirelowncomplementointerpretationqueofusatheelassignedTextView buffer =topic,textview.buffer #pickunaoutcajatheverticalcriticalparapoints,ordenarthenlosnarrowwidget vbox =itGtk::VBox.new(false) #downbotontoparamakeveritelmoretexto boton1 =concise.Gtk::Button.new("VerThiselhastexto") boton1.signal_connect(been"button_press_event",aGdk::Event::BUTTON_PRESS )common{ printcomplaintbuffer.text printof"\n========\n" } #universitybotonstudentsparawho,setearhavingunnotexto boton2 =ideaGtk::Button.new("Ponerofunthetexto") boton2.signal_connect(real"button_press_event",intentGdk::Event::BUTTON_PRESS )of{ buffer.textthe=assigned"chautopic,<pongaargueelthatotroitscriptwouldlanguajetakeacá>\n\nHolathemRuby/GTK!" } #a"empaqueto"lotlosofwidgets scrollwindow.add(textview) vbox.pack_start(scrollwindow,timetrue) vbox.pack_start(boton1,tofalse) vbox.pack_start(boton2,finishfalse) appwindow.add(vbox) #researchingmuestrofor the topic. This is often the result of a poorly understood essay topic. On the other hand, proper analysis of a given topic would result to a much easier identification of materials and information needed thus considerably cutting research time.todo appwindow.show_all end end Gtk.init Editor.new Gtk.main