Displaying 4 results from an estimated 4 matches for "evt_tree_item_right_click".
2008 Feb 27
2
Missing evt_tree_item_menu method for TreeCtrl ?
Hi,
The documentation mentions the evt_tree_item_menu method for TreeCtrl
but it seems that this method is not defined (wxRuby 1.9.4 on
Windows).
As a workaround, I''m currently using evt_tree_item_right_click.
Cheers.
Chauk-Mean.
2004 Jan 08
3
pictorG
...;,''Venice'']),
Tree.new(''Type'',[''Landscape'',''Portre'']),
])
build_from_tree nil,@cats
#set_drop_target(MyFileDropTarget.new())
#evt_tree_begin_drag(self.get_id) { |e|
# puts e.get_item
#}
evt_tree_item_right_click(self.get_id) {|e|
ShowMenu(e.get_item,e.get_point)
}
evt_menu(ID_EDITLAB) {
edit_label get_selection
}
evt_tree_key_down(self.get_id) {|e|
case e.get_key_code
when K_F2
edit_label get_selection
end
}
end
def build_from_tree parent,tree...
2007 Jun 25
0
[1067] trunk/wxruby2: Set up event handlers in Ruby rather than by post-processing SWIG output
...evt_tree_item_expanding'', 1,
+ Wx::EVT_COMMAND_TREE_ITEM_EXPANDING,
+ Wx::TreeEvent],
+ EventType[''evt_tree_item_middle_click'', 1,
+ Wx::EVT_COMMAND_TREE_ITEM_MIDDLE_CLICK,
+ Wx::TreeEvent],
+ EventType[''evt_tree_item_right_click'', 1,
+ Wx::EVT_COMMAND_TREE_ITEM_RIGHT_CLICK,
+ Wx::TreeEvent],
+ EventType[''evt_tree_key_down'', 1,
+ Wx::EVT_COMMAND_TREE_KEY_DOWN,
+ Wx::TreeEvent],
+ EventType[''evt_tree_sel_changed'', 1,
+...
2007 Apr 14
0
[965] branches/wxruby2/wxwidgets_282/doc/textile: Misc.
...gt;<ins>+|*evt_tree_item_expanding(id) { | event | ... }*|The item is being expanded. This can be prevented by calling "veto()":notifyevent.html#NotifyEvent_veto.|
</ins><span class="cx"> |*evt_tree_item_right_click(id) { | event | ... }*|The user has clicked the item with the right mouse button.|
</span><span class="cx"> |*evt_tree_item_middle_click(id) { | event |...