Displaying 20 results from an estimated 200 matches similar to: "Noob question for wxMenu.get_menu_items()"
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'',  
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource
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",
 
2008 Jan 22
0
[ wxruby-Bugs-17390 ] Wx::Menu#get_menu_items
Bugs item #17390, was opened at 2008-01-22 07:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=218&aid=17390&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Wx::Menu#get_menu_items
Initial Comment:
Typemap needed for return
2005 Jul 27
2
SWIGging ConfigBase
Hi all
I''m trying to write an .i file for ConfigBase. If I can figure out a few 
general SWIG things then I think most of it will work. Apols for the 
noob swig questions.
The C++ class has lots of overloaded methods called Read, which return 
different kinds of values. In wxruby-not-swig these are implemented as 
read, read_bool, read_int and so on. read() means read_string(). In ruby 
2005 Jul 26
10
Patch for wxRuby2
Ok so I made a lot of changes and the controls sample works pretty good now.
What I changed or added:
- Got all my modifications meshed into wxRuby2.
- Added constructors to wxIcon.h
- Changed Xrc.i to XmlResource.i and changed wxXrc to wxXmlResource
within the file.
  I also had to change Xrc to XmlResource in rakewx.rb.
- For backwards compatability with wxRuby 0.6 I added the subclass methods
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
<!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:
2007 Apr 28
6
XRC Problem
Hello All,
I''ve looked back through the wxruby-users archive, and found someone 
else was having the same problem when it comes to Accessing XRC and 
getting a GTK Error about GtkPizza.  I don''t know what the problem is, 
as what I''m using, is wxGlade to develop my user interface, and it 
creates all the controls in what looks like it should be fine, but it''s 
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
2008 Jan 03
0
Wx::Menu, get parent menu functions?
I have been looking in the API Docs for get_parent type stuff for the 
Menu''s - so I can track a click path across sub-menus and have not found 
anything. Are there really no functions for that or did I just miss the 
right place to look?
If it is true then consider this below:
class MyMenu < Wx::Menu
   def initialize(mymasterclass, name = nil, id = -1, parent_menu = nil, 
title =
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
2005 Sep 14
1
Part 4
wxMenuItem.h patch
This patch adds in some platform-specific functions, #if defined out so 
it should compile properly on other platforms.
Note:  This will get a couple demos working properly on Windows and 
GTK.  The demos will need to have platform specific calls in there.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2008 Aug 12
1
xrc panels using xrcise
Hi all,
I''m facing a problem generating base classes using xrcise.
i''ve this xrc layout:
<?xml version="1.0" encoding="UTF-8"?>
<resource version="2.3.0.1" xmlns="http://www.wxwidgets.org/wxxrc">
    <object class="wxFrame" name="ID_NOTIFIER" subclass="notifier">
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
2004 May 19
3
pxelinux and http
Hello,
Is there any possibility pxelinux could have the ability to pull its 
kernel/ramdisk/disk images/etc via http instead of tftp?
I would really like the ability to pxe boot a machine, have it tftp 
pxelinux and its config file.  Then, all the files listed in the config 
file are pulled via http.
Michael
Disclaimer: The content of this message is my personal opinion only and 
although I
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 =>
2009 Apr 03
2
Problem with spacing
I''m having the devil''s time trying to get things laid out correctly.
I''ve attached a screenshot so that you can get an idea of what I''m
seeing. I''ve got a very unattractive space under the two combo boxes,
and another one under the buttons. I don''t understand how to reduce
this.
I know it''s impossible to guess what idiocy I might have
2010 Mar 09
1
Ruby 1.9 and Searchlogic problem
Hello,
After updating our Rails app to ruby 1.9 there are some problems with
searchlogic, here you can find the error :
Error : wrong number of arguments (1 for 0)
Full trace ( passenger ) :
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.5/lib/active_record/named_scope.rb:92:in
`call''
/usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.5/lib/active_record/named_scope.rb:92:in
2009 Oct 26
0
[PATCH node] Users can now work with remote libvirt hosts.
The user can:
 * select a remote machine
 * add a remote machine
 * remove a remote machine
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
 nodeadmin/addhost.py       |  129 ++++++++++++++++++++++++++++++++++++++++++++
 nodeadmin/changehost.py    |   58 ++++++++++++++++++++
 nodeadmin/configscreen.py  |   36 ++++++++++++-
 nodeadmin/definenet.py     |    1 +