-class wxNativeFontInfoPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def FromString(self, *_args, **_kwargs):
- val = apply(gdic.wxNativeFontInfo_FromString,(self,) + _args, _kwargs)
- return val
- def ToString(self, *_args, **_kwargs):
- val = apply(gdic.wxNativeFontInfo_ToString,(self,) + _args, _kwargs)
- return val
- def __str__(self, *_args, **_kwargs):
- val = apply(gdic.wxNativeFontInfo___str__,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxNativeFontInfo instance at %s>" % (self.this,)
-class wxNativeFontInfo(wxNativeFontInfoPtr):
- def __init__(self,this):
- self.this = this
-
-
-
-
-class wxFontMapperPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,gdic=gdic):
- if self.thisown == 1 :
- gdic.delete_wxFontMapper(self)
- def GetAltForEncoding(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_GetAltForEncoding,(self,) + _args, _kwargs)
- return val
- def IsEncodingAvailable(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_IsEncodingAvailable,(self,) + _args, _kwargs)
- return val
- def CharsetToEncoding(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_CharsetToEncoding,(self,) + _args, _kwargs)
- return val
- def SetDialogParent(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_SetDialogParent,(self,) + _args, _kwargs)
- return val
- def SetDialogTitle(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_SetDialogTitle,(self,) + _args, _kwargs)
- return val
- def SetConfig(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_SetConfig,(self,) + _args, _kwargs)
- return val
- def SetConfigPath(self, *_args, **_kwargs):
- val = apply(gdic.wxFontMapper_SetConfigPath,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxFontMapper instance at %s>" % (self.this,)
-class wxFontMapper(wxFontMapperPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gdic.new_wxFontMapper,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxFontPtr(wxGDIObjectPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,gdic=gdic):
- if self.thisown == 1 :
- gdic.delete_wxFont(self)
- def Ok(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_Ok,(self,) + _args, _kwargs)
- return val
- def GetPointSize(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetPointSize,(self,) + _args, _kwargs)
- return val
- def GetFamily(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetFamily,(self,) + _args, _kwargs)
- return val
- def GetStyle(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetStyle,(self,) + _args, _kwargs)
- return val
- def GetWeight(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetWeight,(self,) + _args, _kwargs)
- return val
- def GetUnderlined(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetUnderlined,(self,) + _args, _kwargs)
- return val
- def GetFaceName(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetFaceName,(self,) + _args, _kwargs)
- return val
- def GetEncoding(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetEncoding,(self,) + _args, _kwargs)
- return val
- def GetNativeFontInfo(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetNativeFontInfo,(self,) + _args, _kwargs)
- if val: val = wxNativeFontInfoPtr(val)
- return val
- def SetPointSize(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetPointSize,(self,) + _args, _kwargs)
- return val
- def SetFamily(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetFamily,(self,) + _args, _kwargs)
- return val
- def SetStyle(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetStyle,(self,) + _args, _kwargs)
- return val
- def SetWeight(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetWeight,(self,) + _args, _kwargs)
- return val
- def SetFaceName(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetFaceName,(self,) + _args, _kwargs)
- return val
- def SetUnderlined(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetUnderlined,(self,) + _args, _kwargs)
- return val
- def SetEncoding(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetEncoding,(self,) + _args, _kwargs)
- return val
- def SetNativeFontInfo(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetNativeFontInfo,(self,) + _args, _kwargs)
- return val
- def GetFamilyString(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetFamilyString,(self,) + _args, _kwargs)
- return val
- def GetStyleString(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetStyleString,(self,) + _args, _kwargs)
- return val
- def GetWeightString(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetWeightString,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxFont instance at %s>" % (self.this,)
-class wxFont(wxFontPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gdic.new_wxFont,_args,_kwargs)
- self.thisown = 1
-
-
-
-def wxFontFromNativeInfo(*_args,**_kwargs):
- val = wxFontPtr(apply(gdic.new_wxFontFromNativeInfo,_args,_kwargs))
- val.thisown = 1
- return val
-
-
-class wxFontListPtr(wxObjectPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def AddFont(self, *_args, **_kwargs):
- val = apply(gdic.wxFontList_AddFont,(self,) + _args, _kwargs)
- return val
- def FindOrCreateFont(self, *_args, **_kwargs):
- val = apply(gdic.wxFontList_FindOrCreateFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val)
- return val
- def RemoveFont(self, *_args, **_kwargs):
- val = apply(gdic.wxFontList_RemoveFont,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxFontList instance at %s>" % (self.this,)
-class wxFontList(wxFontListPtr):
- def __init__(self,this):
- self.this = this
-
-
-
-