search for: evt_update_ui

Displaying 7 results from an estimated 7 matches for "evt_update_ui".

2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
...ttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I don''t know how to update automatically the state of each formatting button according to the position of the caret. The C++ sample rely on EVT_UPDATE_UI. I tried to use evt_update_ui without success. Currently, I''m using a refresh button to update the formatting buttons. Thanks. Chauk-Mean.
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
...ttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I don''t know how to update automatically the state of each formatting button according to the position of the caret. The C++ sample rely on EVT_UPDATE_UI. I tried to use evt_update_ui without success. Currently, I''m using a refresh button to update the formatting buttons. Thanks. Chauk-Mean.
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...enu(ID_SizeReportContent) { | e | on_change_content_pane(e) } + evt_menu(ID_HTMLContent) { | e | on_change_content_pane(e) } + evt_menu(ID_NotebookContent) { | e | on_change_content_pane(e) } + evt_menu(Wx::ID_EXIT) { | e | on_exit } + evt_menu(Wx::ID_ABOUT) { | e | on_about } + evt_update_ui(ID_NotebookTabFixedWidth) { | e | on_update_ui(e) } + evt_update_ui(ID_NotebookNoCloseButton) { | e | on_update_ui(e) } + evt_update_ui(ID_NotebookCloseButton) { | e | on_update_ui(e) } + evt_update_ui(ID_NotebookCloseButtonAll) { | e | on_update_ui(e) } + evt_update_ui(ID_NotebookC...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
..._SPINCTRL_UPDATED => Wx::CommandEvent, - Wx::EVT_COMMAND_COMBOBOX_SELECTED => Wx::CommandEvent, - Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent, - Wx::EVT_IDLE => Wx::IdleEvent, - Wx::EVT_PAINT => Wx::PaintEvent, - Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent, - Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent, - Wx::EVT_SIZE => Wx::SizeEvent, - Wx::EVT_SIZING => Wx::SizeEvent, - Wx::EVT_MOVE => Wx::MoveEvent, - Wx::EVT_MOVING => Wx::MoveEvent, - Wx::EVT_TIMER => Wx::TimerEvent, - Wx::EVT_CHAR => Wx::KeyEvent, - Wx::EVT_CHAR_HOOK => Wx::Ke...
2007 May 29
0
[1035] trunk/wxruby2/swig/classes/EvtHandler.i: Removed a heap of redundant stuff that''s been #if 0''d for a while
...VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_CALENDAR_YEAR_CHANGED); -} - -static VALUE evt_calendar_weekday_clicked(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_CALENDAR_WEEKDAY_CLICKED); -} - -static VALUE evt_update_ui(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_with_id(argc, argv, self, wxEVT_UPDATE_UI); -} - -static VALUE evt_paint(int argc, VALUE *argv, VALUE self) -{ - return internal_evt_no_parameters(argc, argv, self, wxEVT_PAINT); -} - -static VALUE evt_set_focus(int argc, VALUE *ar...
2007 Jun 06
0
[1054] trunk/wxruby2: Add missing EraseEvent and mapping for EVT_ERASE_BACKGROUND, fix unknown
...t;/span><span class="cx"> Wx::EVT_IDLE => Wx::IdleEvent, </span><span class="cx"> Wx::EVT_PAINT => Wx::PaintEvent, </span><ins>+ Wx::EVT_ERASE_BACKGROUND => Wx::EraseEvent, </ins><span class="cx"> Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent, </span><span class="cx"> Wx::EVT_SIZE => Wx::SizeEvent, </span><span class="cx"> Wx::EVT_SIZING => Wx::SizeEvent, </span></span></pre></div> <a id="trunkwxruby2swigclassesEraseEventi&q...
2007 May 31
0
[1042] trunk/wxruby2: Overhaul of the event handling WxType->RubyClass mapping to make it
...L_ENTER => Wx::CommandEvent, + Wx::EVT_COMMAND_SPINCTRL_UPDATED => Wx::CommandEvent, + Wx::EVT_COMMAND_COMBOBOX_SELECTED => Wx::CommandEvent, + Wx::EVT_COMMAND_TEXT_URL => Wx::TextUrlEvent, + Wx::EVT_IDLE => Wx::IdleEvent, + Wx::EVT_PAINT => Wx::PaintEvent, + Wx::EVT_UPDATE_UI => Wx::UpdateUIEvent, + Wx::EVT_SIZE => Wx::SizeEvent, + Wx::EVT_SIZING => Wx::SizeEvent, + Wx::EVT_MOVE => Wx::MoveEvent, + Wx::EVT_MOVING => Wx::MoveEvent, + Wx::EVT_TIMER => Wx::TimerEvent, + Wx::EVT_CHAR => Wx::KeyEvent, + Wx::EVT_CHAR_HOOK => Wx::Ke...