- 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 GetNativeFontInfoDesc(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetNativeFontInfoDesc,(self,) + _args, _kwargs)
- return val
- def GetNativeFontInfoUserDesc(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_GetNativeFontInfoUserDesc,(self,) + _args, _kwargs)
- 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 SetNativeFontInfoUserDesc(self, *_args, **_kwargs):
- val = apply(gdic.wxFont_SetNativeFontInfoUserDesc,(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 GetCount(self, *_args, **_kwargs):
- val = apply(gdic.wxFontList_GetCount,(self,) + _args, _kwargs)