similar to: Wx::Menu, get parent menu functions?

Displaying 20 results from an estimated 100 matches similar to: "Wx::Menu, get parent menu functions?"

2006 Apr 29
4
Event.observe mystery
Hi, I have a class ''Menu'' with a method ''addItem''. The method (simplified) looks like this: addItem: function(itemId, text) { this.container.innerHTML += ''<div id="''+itemId+''">''+text+''</div>''; Event.observe(itemId, ''mouseover'',
2010 Mar 02
1
[LLVMdev] How to check if an Instruction is still in a Function
On Mon, Mar 1, 2010 at 7:29 PM, Bill Wendling <wendling at apple.com> wrote: > On Feb 28, 2010, at 11:11 AM, Jianzhou Zhao wrote: > >> Hi, >> >> Given an instruction ptr instr, and a Function ptr func, >> can I simply check if func == instr->get_parent()->get_parent() to see if >> this instruction is still in this Function? >> > Yup! Well.
2012 Nov 23
1
Adding a function with default parameters into the Rcmdr menu
Hi everyone, I made some tests with Rcmdr, to add a function with default parameters : For example (very simple): myfunction<-function(var="314"){ print("hello") print(var) } if I run myfunction() directly i see : > myfunction() [1] "hello" [1] "314" it's ok. But if i edit de Rcmdr-menu.txt (in
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All, I want to refresh a partial onClick, onClick i am making ajax call and getting the data but i am unable to refresh the partial. here is the code IN views: home.html.erb $(document).ready(function() { var currentCellText; $(".inline").click(function() { currentCellText = $(this).text(); $.ajax({ type: ''GET'', dataType: "json",
2010 Feb 28
2
[LLVMdev] How to check if an Instruction is still in a Function
Hi, Given an instruction ptr instr, and a Function ptr func, can I simply check if func == instr->get_parent()->get_parent() to see if this instruction is still in this Function? We can also look up this instruction in the blocks of this function. But this may take more time. Thanks. -- Jianzhou
2010 Mar 02
0
[LLVMdev] How to check if an Instruction is still in a Function
On Feb 28, 2010, at 11:11 AM, Jianzhou Zhao wrote: > Hi, > > Given an instruction ptr instr, and a Function ptr func, > can I simply check if func == instr->get_parent()->get_parent() to see if > this instruction is still in this Function? > Yup! -bw
2008 Jan 18
1
Noob question for wxMenu.get_menu_items()
How do I iterate through the pseudo-template list class containing wxMenuItem pointers. Am still a bit of a Ruby/wxRuby noob. Currently have this: pp mymenu.get_menu_items() which prints: #<SWIG::TYPE_p_wxMenuItemList:0x4634fa8> However when I try to do: mymenu.get_menu_items().each {|key| ...} it tells me there is no each method for this class (SWIG::TYPE_p_wxMenuItemList)
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
The recent refactoring didn't work properly for new smart pools, so I've cleaned jup the parameter handling for the various pool 'create' actions. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/hardware_controller.rb | 5 +---- src/app/controllers/pool_controller.rb | 6 ++++-- src/app/controllers/resources_controller.rb | 6
2006 Mar 10
1
Add_Item Help
I was using the simple menu with this configuration: DEFAULT MyMenu PROMPT 1 TIMEOUT 10 ONTIMEOUT LocalBoot ALLOWOPTIONS 0 IMPLICIT 0 NOESCAPE 1 MENU MAST PASSWD <password_omitted> MENU TITLE Bootable Options: LABEL MyMenu MENU HIDE KERNEL pxelinux.cfg/menu.c32 label Remote Instalation Server kernel memdisk/memdisk append initrd=RisMenus/RisDisk.IMg Now I'm
2007 Sep 17
4
Xenstored: eliminate double free and fixes for memory leak
Please review. This patch fixes a few problems: a. In handle_input(), which is called from main() in xenstored_core.c, the conn->in is freed when there is no error, but conn is freed when there is error. This is inconsistent. Moreover, the conn is freed again upon exit from handle_input(), inside the main. b. Another problem is that perms_to_strings() returned a allocated memory (via
2008 Oct 29
1
winedoors and starmenu
When I have installed winedoors and steam and then reboot my computer my startmenu is broken. The field to the right in the menu looks like this.... Could not load module: applications Traceback (most recent call last): File "/usr/lib/linuxmint/mintMenu/mintMenu.py", line 229, in PopulatePlugins MyPlugin = X.pluginclass( self, self.toggle ) File
2005 Feb 23
0
Newbie Help - Auto Fallthrough
I am a serious Asterisk newbie: just installed asterisk last week and it is now running with our Voicetronix OpenLine4 hardware. All is working as expected with one exception, in the following sequence (extracted from my extensions.conf file): [GetConfirmation] exten => s,n,SetVar(TimeOut=0) ; if timeout and TimeOut=1 then user already timed out once, so hangup exten =>
2007 Apr 13
0
[956] branches/wxruby2/wxwidgets_282: Additions to TreeCtrl API 2.6->2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
People kept reporting NFS issues, specifically getting ESTALE alot. I figured out how to reproduce the problem SERVER mkfs.btrfs /dev/sda1 mount /dev/sda1 /mnt/btrfs-test <add /mnt/btrfs-test to /etc/exports> btrfs subvol create /mnt/btrfs-test/foo service nfs start CLIENT mount server:/mnt/btrfs /mnt/test cd /mnt/test/foo ls SERVER echo 3 > /proc/sys/vm/drop_caches CLIENT ls
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows) that will have has_and_belongs_to_many relationships with the pictures table. CREATE TABLE screenshots ( id serial NOT NULL, filename character varying NOT NULL, content_type character varying NOT NULL, primary key (id) ); CREATE TABLE films ( id serial NOT NULL, name character varying NOT NULL,
2004 Apr 27
6
SYSLINUX 2.09, 2.10-pre1 released
Hi all, I have released SYSLINUX 2.09; it is the same as 2.09-pre15 except for the version number. Changes in 2.09: * SYSLINUX: Remove residual setuid crap from syslinux-nomtools. * Handle video pages correctly when using the API functions. * Handle compiling on an x86-64 platform correctly. * Menu system from Murali Krishnan Ganapathy; see the
2006 Mar 17
10
breadcrumbs?
Before I start down this road, has anyone done a breadcrumbs implementation they''d be happy to share? Thanks Chris T
2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
Hi, Here''s an implementation of NFS support for btrfs. It does not work in one particular case as described in http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg00298.html. This uses the btrfs_iget helper introduced previously. Comments ? --- Signed-off-by: Balaji Rao <balajirrao@gmail.com> diff -r 3f0eee804974 Makefile --- a/Makefile Thu Jun 26 10:34:20 2008 -0400
2006 Oct 17
0
[681] trunk/wxruby2/samples/treectrl/treectrl.rb: wxMAC does not like menu id''s of 0 so I fixed that also made set_item_text_colour
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
I've pulled out the no-longer-necessary remnants of the old way of handling auth and before_filters as well as fixing a couple bugs that had crept in along the way. Unit test fixes for the refactoring will follow in a subsequent patch. Signed-off-by: Scott Seago <sseago at redhat.com> --- src/app/controllers/application.rb | 46 ----------------