home *** CD-ROM | disk | FTP | other *** search
/ com!online 2005 April / com_0405_1.iso / opensource / BTpp-0.5.4-bin.exe / $INSTDIR / BT++.exe / wxPython / windows3.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-04-19  |  29.1 KB  |  545 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.2)
  3.  
  4. import windows3c
  5. from misc import *
  6. from gdi import *
  7. from fonts import *
  8. from windows import *
  9. from clip_dnd import *
  10. from windows2 import *
  11. from controls import *
  12. from events import *
  13. from mdi import *
  14. from frames import *
  15. from stattool import *
  16. import wx
  17.  
  18. class wxSashEventPtr(wxCommandEventPtr):
  19.     
  20.     def __init__(self, this):
  21.         self.this = this
  22.         self.thisown = 0
  23.  
  24.     
  25.     def SetEdge(self, *_args, **_kwargs):
  26.         val = apply(windows3c.wxSashEvent_SetEdge, (self,) + _args, _kwargs)
  27.         return val
  28.  
  29.     
  30.     def GetEdge(self, *_args, **_kwargs):
  31.         val = apply(windows3c.wxSashEvent_GetEdge, (self,) + _args, _kwargs)
  32.         return val
  33.  
  34.     
  35.     def SetDragRect(self, *_args, **_kwargs):
  36.         val = apply(windows3c.wxSashEvent_SetDragRect, (self,) + _args, _kwargs)
  37.         return val
  38.  
  39.     
  40.     def GetDragRect(self, *_args, **_kwargs):
  41.         val = apply(windows3c.wxSashEvent_GetDragRect, (self,) + _args, _kwargs)
  42.         if val:
  43.             val = wxRectPtr(val)
  44.             val.thisown = 1
  45.         
  46.         return val
  47.  
  48.     
  49.     def SetDragStatus(self, *_args, **_kwargs):
  50.         val = apply(windows3c.wxSashEvent_SetDragStatus, (self,) + _args, _kwargs)
  51.         return val
  52.  
  53.     
  54.     def GetDragStatus(self, *_args, **_kwargs):
  55.         val = apply(windows3c.wxSashEvent_GetDragStatus, (self,) + _args, _kwargs)
  56.         return val
  57.  
  58.     
  59.     def __repr__(self):
  60.         return '<C wxSashEvent instance at %s>' % (self.this,)
  61.  
  62.  
  63.  
  64. class wxSashEvent(wxSashEventPtr):
  65.     
  66.     def __init__(self, *_args, **_kwargs):
  67.         self.this = apply(windows3c.new_wxSashEvent, _args, _kwargs)
  68.         self.thisown = 1
  69.  
  70.  
  71.  
  72. class wxSashWindowPtr(wxWindowPtr):
  73.     
  74.     def __init__(self, this):
  75.         self.this = this
  76.         self.thisown = 0
  77.  
  78.     
  79.     def Create(self, *_args, **_kwargs):
  80.         val = apply(windows3c.wxSashWindow_Create, (self,) + _args, _kwargs)
  81.         return val
  82.  
  83.     
  84.     def GetSashVisible(self, *_args, **_kwargs):
  85.         val = apply(windows3c.wxSashWindow_GetSashVisible, (self,) + _args, _kwargs)
  86.         return val
  87.  
  88.     
  89.     def GetDefaultBorderSize(self, *_args, **_kwargs):
  90.         val = apply(windows3c.wxSashWindow_GetDefaultBorderSize, (self,) + _args, _kwargs)
  91.         return val
  92.  
  93.     
  94.     def GetEdgeMargin(self, *_args, **_kwargs):
  95.         val = apply(windows3c.wxSashWindow_GetEdgeMargin, (self,) + _args, _kwargs)
  96.         return val
  97.  
  98.     
  99.     def GetExtraBorderSize(self, *_args, **_kwargs):
  100.         val = apply(windows3c.wxSashWindow_GetExtraBorderSize, (self,) + _args, _kwargs)
  101.         return val
  102.  
  103.     
  104.     def GetMaximumSizeX(self, *_args, **_kwargs):
  105.         val = apply(windows3c.wxSashWindow_GetMaximumSizeX, (self,) + _args, _kwargs)
  106.         return val
  107.  
  108.     
  109.     def GetMaximumSizeY(self, *_args, **_kwargs):
  110.         val = apply(windows3c.wxSashWindow_GetMaximumSizeY, (self,) + _args, _kwargs)
  111.         return val
  112.  
  113.     
  114.     def GetMinimumSizeX(self, *_args, **_kwargs):
  115.         val = apply(windows3c.wxSashWindow_GetMinimumSizeX, (self,) + _args, _kwargs)
  116.         return val
  117.  
  118.     
  119.     def GetMinimumSizeY(self, *_args, **_kwargs):
  120.         val = apply(windows3c.wxSashWindow_GetMinimumSizeY, (self,) + _args, _kwargs)
  121.         return val
  122.  
  123.     
  124.     def HasBorder(self, *_args, **_kwargs):
  125.         val = apply(windows3c.wxSashWindow_HasBorder, (self,) + _args, _kwargs)
  126.         return val
  127.  
  128.     
  129.     def SetDefaultBorderSize(self, *_args, **_kwargs):
  130.         val = apply(windows3c.wxSashWindow_SetDefaultBorderSize, (self,) + _args, _kwargs)
  131.         return val
  132.  
  133.     
  134.     def SetExtraBorderSize(self, *_args, **_kwargs):
  135.         val = apply(windows3c.wxSashWindow_SetExtraBorderSize, (self,) + _args, _kwargs)
  136.         return val
  137.  
  138.     
  139.     def SetMaximumSizeX(self, *_args, **_kwargs):
  140.         val = apply(windows3c.wxSashWindow_SetMaximumSizeX, (self,) + _args, _kwargs)
  141.         return val
  142.  
  143.     
  144.     def SetMaximumSizeY(self, *_args, **_kwargs):
  145.         val = apply(windows3c.wxSashWindow_SetMaximumSizeY, (self,) + _args, _kwargs)
  146.         return val
  147.  
  148.     
  149.     def SetMinimumSizeX(self, *_args, **_kwargs):
  150.         val = apply(windows3c.wxSashWindow_SetMinimumSizeX, (self,) + _args, _kwargs)
  151.         return val
  152.  
  153.     
  154.     def SetMinimumSizeY(self, *_args, **_kwargs):
  155.         val = apply(windows3c.wxSashWindow_SetMinimumSizeY, (self,) + _args, _kwargs)
  156.         return val
  157.  
  158.     
  159.     def SetSashVisible(self, *_args, **_kwargs):
  160.         val = apply(windows3c.wxSashWindow_SetSashVisible, (self,) + _args, _kwargs)
  161.         return val
  162.  
  163.     
  164.     def SetSashBorder(self, *_args, **_kwargs):
  165.         val = apply(windows3c.wxSashWindow_SetSashBorder, (self,) + _args, _kwargs)
  166.         return val
  167.  
  168.     
  169.     def __repr__(self):
  170.         return '<C wxSashWindow instance at %s>' % (self.this,)
  171.  
  172.  
  173.  
  174. class wxSashWindow(wxSashWindowPtr):
  175.     
  176.     def __init__(self, *_args, **_kwargs):
  177.         self.this = apply(windows3c.new_wxSashWindow, _args, _kwargs)
  178.         self.thisown = 1
  179.         self._setOORInfo(self)
  180.  
  181.  
  182.  
  183. def wxPreSashWindow(*_args, **_kwargs):
  184.     val = wxSashWindowPtr(apply(windows3c.new_wxPreSashWindow, _args, _kwargs))
  185.     val.thisown = 1
  186.     val._setOORInfo(val)
  187.     return val
  188.  
  189.  
  190. class wxQueryLayoutInfoEventPtr(wxEventPtr):
  191.     
  192.     def __init__(self, this):
  193.         self.this = this
  194.         self.thisown = 0
  195.  
  196.     
  197.     def SetRequestedLength(self, *_args, **_kwargs):
  198.         val = apply(windows3c.wxQueryLayoutInfoEvent_SetRequestedLength, (self,) + _args, _kwargs)
  199.         return val
  200.  
  201.     
  202.     def GetRequestedLength(self, *_args, **_kwargs):
  203.         val = apply(windows3c.wxQueryLayoutInfoEvent_GetRequestedLength, (self,) + _args, _kwargs)
  204.         return val
  205.  
  206.     
  207.     def SetFlags(self, *_args, **_kwargs):
  208.         val = apply(windows3c.wxQueryLayoutInfoEvent_SetFlags, (self,) + _args, _kwargs)
  209.         return val
  210.  
  211.     
  212.     def GetFlags(self, *_args, **_kwargs):
  213.         val = apply(windows3c.wxQueryLayoutInfoEvent_GetFlags, (self,) + _args, _kwargs)
  214.         return val
  215.  
  216.     
  217.     def SetSize(self, *_args, **_kwargs):
  218.         val = apply(windows3c.wxQueryLayoutInfoEvent_SetSize, (self,) + _args, _kwargs)
  219.         return val
  220.  
  221.     
  222.     def GetSize(self, *_args, **_kwargs):
  223.         val = apply(windows3c.wxQueryLayoutInfoEvent_GetSize, (self,) + _args, _kwargs)
  224.         if val:
  225.             val = wxSizePtr(val)
  226.             val.thisown = 1
  227.         
  228.         return val
  229.  
  230.     
  231.     def SetOrientation(self, *_args, **_kwargs):
  232.         val = apply(windows3c.wxQueryLayoutInfoEvent_SetOrientation, (self,) + _args, _kwargs)
  233.         return val
  234.  
  235.     
  236.     def GetOrientation(self, *_args, **_kwargs):
  237.         val = apply(windows3c.wxQueryLayoutInfoEvent_GetOrientation, (self,) + _args, _kwargs)
  238.         return val
  239.  
  240.     
  241.     def SetAlignment(self, *_args, **_kwargs):
  242.         val = apply(windows3c.wxQueryLayoutInfoEvent_SetAlignment, (self,) + _args, _kwargs)
  243.         return val
  244.  
  245.     
  246.     def GetAlignment(self, *_args, **_kwargs):
  247.         val = apply(windows3c.wxQueryLayoutInfoEvent_GetAlignment, (self,) + _args, _kwargs)
  248.         return val
  249.  
  250.     
  251.     def __repr__(self):
  252.         return '<C wxQueryLayoutInfoEvent instance at %s>' % (self.this,)
  253.  
  254.  
  255.  
  256. class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
  257.     
  258.     def __init__(self, *_args, **_kwargs):
  259.         self.this = apply(windows3c.new_wxQueryLayoutInfoEvent, _args, _kwargs)
  260.         self.thisown = 1
  261.  
  262.  
  263.  
  264. class wxCalculateLayoutEventPtr(wxEventPtr):
  265.     
  266.     def __init__(self, this):
  267.         self.this = this
  268.         self.thisown = 0
  269.  
  270.     
  271.     def SetFlags(self, *_args, **_kwargs):
  272.         val = apply(windows3c.wxCalculateLayoutEvent_SetFlags, (self,) + _args, _kwargs)
  273.         return val
  274.  
  275.     
  276.     def GetFlags(self, *_args, **_kwargs):
  277.         val = apply(windows3c.wxCalculateLayoutEvent_GetFlags, (self,) + _args, _kwargs)
  278.         return val
  279.  
  280.     
  281.     def SetRect(self, *_args, **_kwargs):
  282.         val = apply(windows3c.wxCalculateLayoutEvent_SetRect, (self,) + _args, _kwargs)
  283.         return val
  284.  
  285.     
  286.     def GetRect(self, *_args, **_kwargs):
  287.         val = apply(windows3c.wxCalculateLayoutEvent_GetRect, (self,) + _args, _kwargs)
  288.         if val:
  289.             val = wxRectPtr(val)
  290.             val.thisown = 1
  291.         
  292.         return val
  293.  
  294.     
  295.     def __repr__(self):
  296.         return '<C wxCalculateLayoutEvent instance at %s>' % (self.this,)
  297.  
  298.  
  299.  
  300. class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
  301.     
  302.     def __init__(self, *_args, **_kwargs):
  303.         self.this = apply(windows3c.new_wxCalculateLayoutEvent, _args, _kwargs)
  304.         self.thisown = 1
  305.  
  306.  
  307.  
  308. class wxSashLayoutWindowPtr(wxSashWindowPtr):
  309.     
  310.     def __init__(self, this):
  311.         self.this = this
  312.         self.thisown = 0
  313.  
  314.     
  315.     def Create(self, *_args, **_kwargs):
  316.         val = apply(windows3c.wxSashLayoutWindow_Create, (self,) + _args, _kwargs)
  317.         return val
  318.  
  319.     
  320.     def GetAlignment(self, *_args, **_kwargs):
  321.         val = apply(windows3c.wxSashLayoutWindow_GetAlignment, (self,) + _args, _kwargs)
  322.         return val
  323.  
  324.     
  325.     def GetOrientation(self, *_args, **_kwargs):
  326.         val = apply(windows3c.wxSashLayoutWindow_GetOrientation, (self,) + _args, _kwargs)
  327.         return val
  328.  
  329.     
  330.     def SetAlignment(self, *_args, **_kwargs):
  331.         val = apply(windows3c.wxSashLayoutWindow_SetAlignment, (self,) + _args, _kwargs)
  332.         return val
  333.  
  334.     
  335.     def SetDefaultSize(self, *_args, **_kwargs):
  336.         val = apply(windows3c.wxSashLayoutWindow_SetDefaultSize, (self,) + _args, _kwargs)
  337.         return val
  338.  
  339.     
  340.     def SetOrientation(self, *_args, **_kwargs):
  341.         val = apply(windows3c.wxSashLayoutWindow_SetOrientation, (self,) + _args, _kwargs)
  342.         return val
  343.  
  344.     
  345.     def __repr__(self):
  346.         return '<C wxSashLayoutWindow instance at %s>' % (self.this,)
  347.  
  348.  
  349.  
  350. class wxSashLayoutWindow(wxSashLayoutWindowPtr):
  351.     
  352.     def __init__(self, *_args, **_kwargs):
  353.         self.this = apply(windows3c.new_wxSashLayoutWindow, _args, _kwargs)
  354.         self.thisown = 1
  355.         self._setOORInfo(self)
  356.  
  357.  
  358.  
  359. def wxPreSashLayoutWindow(*_args, **_kwargs):
  360.     val = wxSashLayoutWindowPtr(apply(windows3c.new_wxPreSashLayoutWindow, _args, _kwargs))
  361.     val.thisown = 1
  362.     val._setOORInfo(val)
  363.     return val
  364.  
  365.  
  366. class wxLayoutAlgorithmPtr(wxObjectPtr):
  367.     
  368.     def __init__(self, this):
  369.         self.this = this
  370.         self.thisown = 0
  371.  
  372.     
  373.     def __del__(self, delfunc = windows3c.delete_wxLayoutAlgorithm):
  374.         if self.thisown == 1:
  375.             
  376.             try:
  377.                 delfunc(self)
  378.             except:
  379.                 pass
  380.  
  381.         
  382.  
  383.     
  384.     def LayoutMDIFrame(self, *_args, **_kwargs):
  385.         val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame, (self,) + _args, _kwargs)
  386.         return val
  387.  
  388.     
  389.     def LayoutFrame(self, *_args, **_kwargs):
  390.         val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame, (self,) + _args, _kwargs)
  391.         return val
  392.  
  393.     
  394.     def LayoutWindow(self, *_args, **_kwargs):
  395.         val = apply(windows3c.wxLayoutAlgorithm_LayoutWindow, (self,) + _args, _kwargs)
  396.         return val
  397.  
  398.     
  399.     def __repr__(self):
  400.         return '<C wxLayoutAlgorithm instance at %s>' % (self.this,)
  401.  
  402.  
  403.  
  404. class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
  405.     
  406.     def __init__(self, *_args, **_kwargs):
  407.         self.this = apply(windows3c.new_wxLayoutAlgorithm, _args, _kwargs)
  408.         self.thisown = 1
  409.  
  410.  
  411.  
  412. class wxPopupWindowPtr(wxWindowPtr):
  413.     
  414.     def __init__(self, this):
  415.         self.this = this
  416.         self.thisown = 0
  417.  
  418.     
  419.     def Create(self, *_args, **_kwargs):
  420.         val = apply(windows3c.wxPopupWindow_Create, (self,) + _args, _kwargs)
  421.         return val
  422.  
  423.     
  424.     def Position(self, *_args, **_kwargs):
  425.         val = apply(windows3c.wxPopupWindow_Position, (self,) + _args, _kwargs)
  426.         return val
  427.  
  428.     
  429.     def __repr__(self):
  430.         return '<C wxPopupWindow instance at %s>' % (self.this,)
  431.  
  432.  
  433.  
  434. class wxPopupWindow(wxPopupWindowPtr):
  435.     
  436.     def __init__(self, *_args, **_kwargs):
  437.         self.this = apply(windows3c.new_wxPopupWindow, _args, _kwargs)
  438.         self.thisown = 1
  439.         self._setOORInfo(self)
  440.  
  441.  
  442.  
  443. def wxPrePopupWindow(*_args, **_kwargs):
  444.     val = wxPopupWindowPtr(apply(windows3c.new_wxPrePopupWindow, _args, _kwargs))
  445.     val.thisown = 1
  446.     val._setOORInfo(val)
  447.     return val
  448.  
  449.  
  450. class wxPopupTransientWindowPtr(wxPopupWindowPtr):
  451.     
  452.     def __init__(self, this):
  453.         self.this = this
  454.         self.thisown = 0
  455.  
  456.     
  457.     def _setCallbackInfo(self, *_args, **_kwargs):
  458.         val = apply(windows3c.wxPopupTransientWindow__setCallbackInfo, (self,) + _args, _kwargs)
  459.         return val
  460.  
  461.     
  462.     def Popup(self, *_args, **_kwargs):
  463.         val = apply(windows3c.wxPopupTransientWindow_Popup, (self,) + _args, _kwargs)
  464.         return val
  465.  
  466.     
  467.     def Dismiss(self, *_args, **_kwargs):
  468.         val = apply(windows3c.wxPopupTransientWindow_Dismiss, (self,) + _args, _kwargs)
  469.         return val
  470.  
  471.     
  472.     def __repr__(self):
  473.         return '<C wxPopupTransientWindow instance at %s>' % (self.this,)
  474.  
  475.  
  476.  
  477. class wxPopupTransientWindow(wxPopupTransientWindowPtr):
  478.     
  479.     def __init__(self, *_args, **_kwargs):
  480.         self.this = apply(windows3c.new_wxPopupTransientWindow, _args, _kwargs)
  481.         self.thisown = 1
  482.         self._setCallbackInfo(self, wxPopupTransientWindow)
  483.         self._setOORInfo(self)
  484.  
  485.  
  486.  
  487. def wxPrePopupTransientWindow(*_args, **_kwargs):
  488.     val = wxPopupTransientWindowPtr(apply(windows3c.new_wxPrePopupTransientWindow, _args, _kwargs))
  489.     val.thisown = 1
  490.     val._setOORInfo(val)
  491.     return val
  492.  
  493.  
  494. class wxTipWindowPtr(wxPopupTransientWindowPtr):
  495.     
  496.     def __init__(self, this):
  497.         self.this = this
  498.         self.thisown = 0
  499.  
  500.     
  501.     def SetBoundingRect(self, *_args, **_kwargs):
  502.         val = apply(windows3c.wxTipWindow_SetBoundingRect, (self,) + _args, _kwargs)
  503.         return val
  504.  
  505.     
  506.     def Close(self, *_args, **_kwargs):
  507.         val = apply(windows3c.wxTipWindow_Close, (self,) + _args, _kwargs)
  508.         return val
  509.  
  510.     
  511.     def __repr__(self):
  512.         return '<C wxTipWindow instance at %s>' % (self.this,)
  513.  
  514.  
  515.  
  516. class wxTipWindow(wxTipWindowPtr):
  517.     
  518.     def __init__(self, *_args, **_kwargs):
  519.         self.this = apply(windows3c.new_wxTipWindow, _args, _kwargs)
  520.         self.thisown = 1
  521.         self._setOORInfo(self)
  522.  
  523.  
  524. wxSASH_TOP = windows3c.wxSASH_TOP
  525. wxSASH_RIGHT = windows3c.wxSASH_RIGHT
  526. wxSASH_BOTTOM = windows3c.wxSASH_BOTTOM
  527. wxSASH_LEFT = windows3c.wxSASH_LEFT
  528. wxSASH_NONE = windows3c.wxSASH_NONE
  529. wxEVT_SASH_DRAGGED = windows3c.wxEVT_SASH_DRAGGED
  530. wxSW_3D = windows3c.wxSW_3D
  531. wxSW_3DSASH = windows3c.wxSW_3DSASH
  532. wxSW_3DBORDER = windows3c.wxSW_3DBORDER
  533. wxSW_BORDER = windows3c.wxSW_BORDER
  534. wxSASH_STATUS_OK = windows3c.wxSASH_STATUS_OK
  535. wxSASH_STATUS_OUT_OF_RANGE = windows3c.wxSASH_STATUS_OUT_OF_RANGE
  536. wxLAYOUT_HORIZONTAL = windows3c.wxLAYOUT_HORIZONTAL
  537. wxLAYOUT_VERTICAL = windows3c.wxLAYOUT_VERTICAL
  538. wxLAYOUT_NONE = windows3c.wxLAYOUT_NONE
  539. wxLAYOUT_TOP = windows3c.wxLAYOUT_TOP
  540. wxLAYOUT_LEFT = windows3c.wxLAYOUT_LEFT
  541. wxLAYOUT_RIGHT = windows3c.wxLAYOUT_RIGHT
  542. wxLAYOUT_BOTTOM = windows3c.wxLAYOUT_BOTTOM
  543. wxEVT_QUERY_LAYOUT_INFO = windows3c.wxEVT_QUERY_LAYOUT_INFO
  544. wxEVT_CALCULATE_LAYOUT = windows3c.wxEVT_CALCULATE_LAYOUT
  545.