Displaying 2 results from an estimated 2 matches for "change_value".
2008 Mar 31
2
Mouse motion example - help
...f, -1)
evt_motion(){ |event| on_move(event)}
Wx::StaticText.new(@my_panel, -1, :label => "Pos:", :pos => [10, 12])
@posCtrl = Wx::TextCtrl.new(@my_panel, -1, "",:pos => [40, 10])
show
end
def on_move(event)
@pos = event.get_position
@posCtrl.change_value("#{@pos}")
end
end
Wx::App.run{MyFrame.new}
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...* "TextCtrl#set_selection":#TextCtrl_setselection
</span><span class="cx"> * "TextCtrl#set_style":#TextCtrl_setstyle
</span><span class="cx"> * "TextCtrl#set_value":#TextCtrl_setvalue
</span><ins>+* "TextCtrl#change_value":#TextCtrl_changevalue
</ins><span class="cx"> * "TextCtrl#show_position":#TextCtrl_showposition
</span><span class="cx"> * "TextCtrl#undo":#TextCtrl_undo
</span><span class="cx"> * "TextCtrl#write_text&...