class Fox::FXMenuCaption

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXMenuCaption(int argc, VALUE *argv, VALUE self) {
  FXComposite *arg1 = (FXComposite *) 0 ;
  FXString *arg2 = 0 ;
  FXIcon *arg3 = (FXIcon *) 0 ;
  FXuint arg4 = (FXuint) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  FXMenuCaption *result = 0 ;
  
  if ((argc < 2) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(argv[0], &argp1,SWIGTYPE_p_FXComposite, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXComposite *","FXMenuCaption", 1, argv[0] )); 
  }
  arg1 = reinterpret_cast< FXComposite * >(argp1);
  p2 = to_FXString(argv[1]); arg2 = &p2;
  if (argc > 2) {
    res3 = SWIG_ConvertPtr(argv[2], &argp3,SWIGTYPE_p_FXIcon, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXIcon *","FXMenuCaption", 3, argv[2] )); 
    }
    arg3 = reinterpret_cast< FXIcon * >(argp3);
  }
  if (argc > 3) {
    arg4 = NUM2UINT(argv[3]);
  }
  {
    if (!arg1) {
      SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
    }
  }
  {
    result = (FXMenuCaption *)new_FXMenuCaption(arg1,(FXString const &)*arg2,arg3,arg4);
    DATA_PTR(self) = result; FXRbRegisterRubyObj(self, result);
    if(rb_block_given_p()){
      rb_yield(self);
    }
  }
  return self;
fail:
  return Qnil;
}
new(parent, text, *args, &blk) click to toggle source
# File lib/fox16/kwargs.rb, line 2218
def initialize(parent, text, *args, &blk)
  argument_names = %w{icon opts}
  default_params = { :icon => nil, :opts => 0 }
  params = {}
  params = args.pop if args.last.is_a? Hash
  args.each_with_index { |e, i| params[argument_names[i].intern] = e }
  params.keys.each { |key| raise ArgumentError, "Unrecognized parameter #{key}" unless default_params.keys.include?(key) }
  params = default_params.merge(params)
  old_initialize(parent, text, params[:icon], params[:opts], &blk)
end
Also aliased as: old_initialize

Public Instance Methods

canFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_canFocus(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","canFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (bool)FXMenuCaption_canFocus((FXMenuCaption const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
changeFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_changeFocus(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","changeFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","changeFocus", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  FXMenuCaption_changeFocus(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
clearShape(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_clearShape(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","clearShape", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_clearShape(arg1);
  return Qnil;
fail:
  return Qnil;
}
contains(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_contains(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","contains", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  result = (bool)FXMenuCaption_contains((FXMenuCaption const *)arg1,arg2,arg3);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
create(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_create(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","create", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_create(arg1);
  return Qnil;
fail:
  return Qnil;
}
destroy(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_destroy(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","destroy", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_destroy(arg1);
  return Qnil;
fail:
  return Qnil;
}
detach(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_detach(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","detach", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_detach(arg1);
  return Qnil;
fail:
  return Qnil;
}
disable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_disable(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","disable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_disable(arg1);
  return Qnil;
fail:
  return Qnil;
}
doesSaveUnder(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_doesSaveUnder(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","doesSaveUnder", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (bool)FXMenuCaption_doesSaveUnder((FXMenuCaption const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
dropDisable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_dropDisable(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","dropDisable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_dropDisable(arg1);
  return Qnil;
fail:
  return Qnil;
}
dropEnable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_dropEnable(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","dropEnable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_dropEnable(arg1);
  return Qnil;
fail:
  return Qnil;
}
enable(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_enable(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","enable", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_enable(arg1);
  return Qnil;
fail:
  return Qnil;
}
getDefaultHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getDefaultHeight(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","getDefaultHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXint)FXMenuCaption_getDefaultHeight(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getDefaultWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getDefaultWidth(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","getDefaultWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXint)FXMenuCaption_getDefaultWidth(arg1);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getFont(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getFont(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXFont *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXFont *)((FXMenuCaption const *)arg1)->getFont();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXFont, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getHeightForWidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getHeightForWidth(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","getHeightForWidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXMenuCaption_getHeightForWidth(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
getHelpText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getHelpText(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXString *) &((FXMenuCaption const *)arg1)->getHelpText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}
getHiliteColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getHiliteColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getHiliteColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXColor)((FXMenuCaption const *)arg1)->getHiliteColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getIcon(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXIcon *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXIcon *)((FXMenuCaption const *)arg1)->getIcon();
  {
    swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_FXIcon, (void **) &result);
    vresult = FXRbGetRubyObj(result, ty);
  }
  return vresult;
fail:
  return Qnil;
}
getMenuStyle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getMenuStyle(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getMenuStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXuint)((FXMenuCaption const *)arg1)->getMenuStyle();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getSelBackColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getSelBackColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getSelBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXColor)((FXMenuCaption const *)arg1)->getSelBackColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getSelTextColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getSelTextColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getSelTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXColor)((FXMenuCaption const *)arg1)->getSelTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getShadowColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getShadowColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getShadowColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXColor)((FXMenuCaption const *)arg1)->getShadowColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getText(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = ((FXMenuCaption const *)arg1)->getText();
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}
getTextColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getTextColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXColor result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXColor)((FXMenuCaption const *)arg1)->getTextColor();
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
getWidthForHeight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_getWidthForHeight(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXint result;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","getWidthForHeight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  result = (FXint)FXMenuCaption_getWidthForHeight(arg1,arg2);
  vresult = SWIG_From_int(static_cast< int >(result));
  return vresult;
fail:
  return Qnil;
}
hide(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_hide(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","hide", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_hide(arg1);
  return Qnil;
fail:
  return Qnil;
}
isComposite(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_isComposite(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  bool result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","isComposite", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (bool)FXMenuCaption_isComposite((FXMenuCaption const *)arg1);
  vresult = SWIG_From_bool(static_cast< bool >(result));
  return vresult;
fail:
  return Qnil;
}
killFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_killFocus(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","killFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_killFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}
layout(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_layout(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","layout", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_layout(arg1);
  return Qnil;
fail:
  return Qnil;
}
load(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_load(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","load", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","load", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","load", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXMenuCaption_load(arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
lower(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_lower(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","lower", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_lower(arg1);
  return Qnil;
fail:
  return Qnil;
}
move(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_move(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","move", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXMenuCaption_move(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
old_initialize(parent, text, *args, &blk)
Alias for: new
onCmdGetHelp(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdGetHelp(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdGetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdGetIconValue(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdGetIconValue(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdGetIconValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetIconValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetIconValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdGetStringValue(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdGetStringValue(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdGetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdGetTip(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdGetTip(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdGetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdGetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onCmdGetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdSetHelp(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdSetHelp(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdSetHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdSetIconValue(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdSetIconValue(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *tmp4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdSetIconValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetIconValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    tmp4 = FXRbConvertPtr(argv[2], FXRbTypeQuery("FXIcon *"));
    arg4 = (void *) &tmp4;
  }
  result = (long)(arg1)->onCmdSetIconValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdSetStringValue(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdSetStringValue(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdSetStringValue", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetStringValue", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetStringValue(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onCmdSetTip(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onCmdSetTip(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  FXString value4 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onCmdSetTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onCmdSetTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  {
    value4 = FXString(StringValuePtr(argv[2]));
    arg4 = (void *) &value4;
  }
  result = (long)(arg1)->onCmdSetTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onPaint(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onPaint(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onPaint", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onPaint", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = to_FXEvent(argv[2]);
  result = (long)(arg1)->onPaint(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onQueryHelp(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onQueryHelp(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onQueryHelp", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryHelp", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryHelp(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onQueryTip(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onQueryTip(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onQueryTip", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onQueryTip", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onQueryTip(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
onUpdate(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_onUpdate(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXObject *arg2 = (FXObject *) 0 ;
  FXSelector arg3 ;
  void *arg4 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  long result;
  VALUE vresult = Qnil;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","onUpdate", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXObject, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXObject *","onUpdate", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXObject * >(argp2);
  arg3 = NUM2UINT(argv[1]);
  arg4 = 0;
  result = (long)(arg1)->onUpdate(arg2,arg3,arg4);
  vresult = SWIG_From_long(static_cast< long >(result));
  return vresult;
fail:
  return Qnil;
}
position(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_position(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  FXint arg4 ;
  FXint arg5 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 4) || (argc > 4)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 4)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","position", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  arg4 = NUM2INT(argv[2]);
  arg5 = NUM2INT(argv[3]);
  FXMenuCaption_position(arg1,arg2,arg3,arg4,arg5);
  return Qnil;
fail:
  return Qnil;
}
raiseWindow(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_raiseWindow(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","raise", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_raise(arg1);
  return Qnil;
fail:
  return Qnil;
}
recalc(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_recalc(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","recalc", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_recalc(arg1);
  return Qnil;
fail:
  return Qnil;
}
reparent(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_reparent(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXWindow *arg2 = (FXWindow *) 0 ;
  FXWindow *arg3 = (FXWindow *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","reparent", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXWindow *","reparent", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXWindow * >(argp2);
  res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_FXWindow, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FXWindow *","reparent", 3, argv[1] )); 
  }
  arg3 = reinterpret_cast< FXWindow * >(argp3);
  FXMenuCaption_reparent(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
resize(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_resize(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXint arg2 ;
  FXint arg3 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","resize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2INT(argv[0]);
  arg3 = NUM2INT(argv[1]);
  FXMenuCaption_resize(arg1,arg2,arg3);
  return Qnil;
fail:
  return Qnil;
}
save(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_save(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXStream *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","save", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FXStream,  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXStream &","save", 2, argv[0] )); 
  }
  if (!argp2) {
    SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FXStream &","save", 2, argv[0])); 
  }
  arg2 = reinterpret_cast< FXStream * >(argp2);
  FXMenuCaption_save((FXMenuCaption const *)arg1,*arg2);
  return Qnil;
fail:
  return Qnil;
}
setBackColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setBackColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  FXMenuCaption_setBackColor(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setDefault(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setDefault(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXbool arg2 = (FXbool) 1 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setDefault", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  if (argc > 0) {
    arg2 = to_FXbool(argv[0]);
  }
  FXMenuCaption_setDefault(arg1,arg2);
  return Qnil;
fail:
  return Qnil;
}
setFocus(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setFocus(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setFocus", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_setFocus(arg1);
  return Qnil;
fail:
  return Qnil;
}
setFont(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setFont(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXFont *arg2 = (FXFont *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setFont", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXFont, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXFont *","setFont", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXFont * >(argp2);
  (arg1)->setFont(arg2);
  return Qnil;
fail:
  return Qnil;
}
setHelpText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setHelpText(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setHelpText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setHelpText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
setHiliteColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setHiliteColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setHiliteColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setHiliteColor(arg2);
  return Qnil;
fail:
  return Qnil;
}
setIcon(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setIcon(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXIcon *arg2 = (FXIcon *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setIcon", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FXIcon, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FXIcon *","setIcon", 2, argv[0] )); 
  }
  arg2 = reinterpret_cast< FXIcon * >(argp2);
  (arg1)->setIcon(arg2);
  return Qnil;
fail:
  return Qnil;
}
setMenuStyle(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setMenuStyle(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setMenuStyle", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  (arg1)->setMenuStyle(arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelBackColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setSelBackColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setSelBackColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSelBackColor(arg2);
  return Qnil;
fail:
  return Qnil;
}
setSelTextColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setSelTextColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setSelTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setSelTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}
setShadowColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setShadowColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setShadowColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setShadowColor(arg2);
  return Qnil;
fail:
  return Qnil;
}
setShape(*args) click to toggle source
SWIGINTERN VALUE _wrap_FXMenuCaption_setShape(int nargs, VALUE *args, VALUE self) {
  int argc;
  VALUE argv[3];
  int ii;
  
  argc = nargs + 1;
  argv[0] = self;
  if (argc > 3) SWIG_fail;
  for (ii = 1; (ii < argc); ++ii) {
    argv[ii] = args[ii-1];
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMenuCaption, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXRegion, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMenuCaption_setShape__SWIG_0(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMenuCaption, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXBitmap, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMenuCaption_setShape__SWIG_1(nargs, args, self);
      }
    }
  }
  if (argc == 2) {
    int _v;
    void *vptr = 0;
    int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FXMenuCaption, 0);
    _v = SWIG_CheckState(res);
    if (_v) {
      void *vptr = 0;
      int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FXIcon, 0);
      _v = SWIG_CheckState(res);
      if (_v) {
        return _wrap_FXMenuCaption_setShape__SWIG_2(nargs, args, self);
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 3, "setShape", 
    "    void setShape(FXRegion const &region)\n"
    "    void setShape(FXBitmap *bitmap)\n"
    "    void setShape(FXIcon *icon)\n");
  
  return Qnil;
}
setText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setText(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
setTextColor(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_setTextColor(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXColor arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setTextColor", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = to_FXColor(argv[0]);
  (arg1)->setTextColor(arg2);
  return Qnil;
fail:
  return Qnil;
}
show(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_show(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","show", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  FXMenuCaption_show(arg1);
  return Qnil;
fail:
  return Qnil;
}
tipText(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_tipText(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","getTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  result = (FXString *) &((FXMenuCaption const *)arg1)->getTipText();
  vresult = to_ruby(result->text());
  return vresult;
fail:
  return Qnil;
}
tipText=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_tipTexte___(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXString *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  SwigValueWrapper< FXString > p2 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption *","setTipText", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  p2 = to_FXString(argv[0]); arg2 = &p2;
  (arg1)->setTipText((FXString const &)*arg2);
  return Qnil;
fail:
  return Qnil;
}
tr(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXMenuCaption_tr(int argc, VALUE *argv, VALUE self) {
  FXMenuCaption *arg1 = (FXMenuCaption *) 0 ;
  FXchar *arg2 = (FXchar *) 0 ;
  FXchar *arg3 = (FXchar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXchar *result = 0 ;
  VALUE vresult = Qnil;
  
  if ((argc < 1) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXMenuCaption, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXMenuCaption const *","tr", 1, self )); 
  }
  arg1 = reinterpret_cast< FXMenuCaption * >(argp1);
  arg2 = NIL_P(argv[0]) ? 0 : StringValuePtr(argv[0]);
  if (argc > 1) {
    arg3 = NIL_P(argv[1]) ? 0 : StringValuePtr(argv[1]);
  }
  result = (FXchar *)FXMenuCaption_tr((FXMenuCaption const *)arg1,(char const *)arg2,(char const *)arg3);
  vresult = SWIG_FromCharPtr((const char *)result);
  return vresult;
fail:
  return Qnil;
}