reSWIGged with the new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# This file was created automatically by SWIG.
|
||||
# This file was created automatically by SWIG 1.3.27.
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
import _core_
|
||||
@@ -2937,6 +2937,16 @@ class Image(Object):
|
||||
"""
|
||||
return _core_.Image_Replace(*args, **kwargs)
|
||||
|
||||
def ConvertToGreyscale(*args, **kwargs):
|
||||
"""
|
||||
ConvertToGreyscale(self, double lr=0.299, double lg=0.587, double lb=0.114) -> Image
|
||||
|
||||
Convert to greyscale image. Uses the luminance component (Y) of the
|
||||
image. The luma value (YUV) is calculated using (R * lr) + (G * lg) + (B * lb),
|
||||
defaults to ITU-T BT.601
|
||||
"""
|
||||
return _core_.Image_ConvertToGreyscale(*args, **kwargs)
|
||||
|
||||
def ConvertToMono(*args, **kwargs):
|
||||
"""
|
||||
ConvertToMono(self, byte r, byte g, byte b) -> Image
|
||||
@@ -7865,6 +7875,30 @@ def EventLoop_SetActive(*args, **kwargs):
|
||||
"""EventLoop_SetActive(EventLoop loop)"""
|
||||
return _core_.EventLoop_SetActive(*args, **kwargs)
|
||||
|
||||
class EventLoopActivator(object):
|
||||
"""Proxy of C++ EventLoopActivator class"""
|
||||
def __repr__(self):
|
||||
return "<%s.%s; proxy of C++ wxEventLoopActivator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""__init__(self, EventLoop evtLoop) -> EventLoopActivator"""
|
||||
newobj = _core_.new_EventLoopActivator(*args, **kwargs)
|
||||
self.this = newobj.this
|
||||
self.thisown = 1
|
||||
del newobj.thisown
|
||||
def __del__(self, destroy=_core_.delete_EventLoopActivator):
|
||||
"""__del__(self)"""
|
||||
try:
|
||||
if self.thisown: destroy(self)
|
||||
except: pass
|
||||
|
||||
|
||||
class EventLoopActivatorPtr(EventLoopActivator):
|
||||
def __init__(self, this):
|
||||
self.this = this
|
||||
if not hasattr(self,"thisown"): self.thisown = 0
|
||||
self.__class__ = EventLoopActivator
|
||||
_core_.EventLoopActivator_swigregister(EventLoopActivatorPtr)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class AcceleratorEntry(object):
|
||||
@@ -10875,6 +10909,14 @@ class MenuItem(Object):
|
||||
"""SetAccel(self, AcceleratorEntry accel)"""
|
||||
return _core_.MenuItem_SetAccel(*args, **kwargs)
|
||||
|
||||
def SetBitmap(*args, **kwargs):
|
||||
"""SetBitmap(self, Bitmap bitmap)"""
|
||||
return _core_.MenuItem_SetBitmap(*args, **kwargs)
|
||||
|
||||
def GetBitmap(*args, **kwargs):
|
||||
"""GetBitmap(self) -> Bitmap"""
|
||||
return _core_.MenuItem_GetBitmap(*args, **kwargs)
|
||||
|
||||
def SetFont(*args, **kwargs):
|
||||
"""SetFont(self, Font font)"""
|
||||
return _core_.MenuItem_SetFont(*args, **kwargs)
|
||||
@@ -10936,14 +10978,6 @@ class MenuItem(Object):
|
||||
"""ResetOwnerDrawn(self)"""
|
||||
return _core_.MenuItem_ResetOwnerDrawn(*args, **kwargs)
|
||||
|
||||
def SetBitmap(*args, **kwargs):
|
||||
"""SetBitmap(self, Bitmap bitmap)"""
|
||||
return _core_.MenuItem_SetBitmap(*args, **kwargs)
|
||||
|
||||
def GetBitmap(*args, **kwargs):
|
||||
"""GetBitmap(self) -> Bitmap"""
|
||||
return _core_.MenuItem_GetBitmap(*args, **kwargs)
|
||||
|
||||
|
||||
class MenuItemPtr(MenuItem):
|
||||
def __init__(self, this):
|
||||
@@ -11569,6 +11603,14 @@ class SizerItem(Object):
|
||||
"""
|
||||
return _core_.SizerItem_GetUserData(*args, **kwargs)
|
||||
|
||||
def SetUserData(*args, **kwargs):
|
||||
"""
|
||||
SetUserData(self, PyObject userData)
|
||||
|
||||
Associate a Python object with this sizer item.
|
||||
"""
|
||||
return _core_.SizerItem_SetUserData(*args, **kwargs)
|
||||
|
||||
|
||||
class SizerItemPtr(SizerItem):
|
||||
def __init__(self, this):
|
||||
@@ -13598,3 +13640,4 @@ _core_._wxPyFixStockObjects()
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user