Package wx :: Class PyControl
[frames | no frames]

Type PyControl

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
               Control --+
                         |
                        PyControl

Known Subclasses:
AquaButton, BaseLineCtrl, BasePyControl, Calendar, CustomPanel, FloatSpin, GenButton, GenStaticBitmap, GenStaticText, GradientButton, GTKExpander, HyperTreeList, PeakMeterCtrl, PlateButton, PopButton, PopupControl, PyCollapsiblePane, Ticker

Proxy of C++ PyControl class


Method Summary
Control __init__(self, parent, id, pos, size, style, validator, name)
Create a Control.
  base_AcceptsFocus(*args, **kwargs)
Please use PyControl.AcceptsFocus instead.
  base_AcceptsFocusFromKeyboard(*args, **kwargs)
Please use PyControl.AcceptsFocusFromKeyboard instead.
  base_AddChild(*args, **kwargs)
Please use PyControl.AddChild instead.
  base_DoGetBestSize(*args, **kwargs)
Please use PyControl.DoGetBestSize instead.
  base_DoGetClientSize(*args, **kwargs)
Please use PyControl.DoGetClientSize instead.
  base_DoGetPosition(*args, **kwargs)
Please use PyControl.DoGetPosition instead.
  base_DoGetSize(*args, **kwargs)
Please use PyControl.DoGetSize instead.
  base_DoGetVirtualSize(*args, **kwargs)
Please use PyControl.DoGetVirtualSize instead.
  base_DoMoveWindow(*args, **kwargs)
Please use PyControl.DoMoveWindow instead.
  base_DoSetClientSize(*args, **kwargs)
Please use PyControl.DoSetClientSize instead.
  base_DoSetSize(*args, **kwargs)
Please use PyControl.DoSetSize instead.
  base_DoSetVirtualSize(*args, **kwargs)
Please use PyControl.DoSetVirtualSize instead.
  base_Enable(*args, **kwargs)
Please use PyControl.Enable instead.
  base_GetDefaultAttributes(*args, **kwargs)
Please use PyControl.GetDefaultAttributes instead.
  base_GetMaxSize(*args, **kwargs)
Please use PyControl.GetMaxSize instead.
  base_InitDialog(*args, **kwargs)
Please use PyControl.InitDialog instead.
  base_OnInternalIdle(*args, **kwargs)
Please use PyControl.OnInternalIdle instead.
  base_RemoveChild(*args, **kwargs)
Please use PyControl.RemoveChild instead.
  base_ShouldInheritColours(*args, **kwargs)
Please use PyControl.ShouldInheritColours instead.
  base_TransferDataFromWindow(*args, **kwargs)
Please use PyControl.TransferDataFromWindow instead.
  base_TransferDataToWindow(*args, **kwargs)
Please use PyControl.TransferDataToWindow instead.
  base_Validate(*args, **kwargs)
Please use PyControl.Validate instead.
bool DoEraseBackground(self, dc)
Size DoGetBestSize(self)
(width, height) DoGetClientSize()
(x,y) DoGetPosition()
(width, height) DoGetSize()
Size DoGetVirtualSize(self)
  DoMoveWindow(self, x, y, width, height)
  DoSetClientSize(self, width, height)
  DoSetSize(self, x, y, width, height, sizeFlags)
  DoSetVirtualSize(self, x, y)
VisualAttributes GetDefaultAttributes(self)
Get the default attributes for an instance of this class.
  OnInternalIdle(self)
  SetBestSize(self, size)
A 'Smart' SetSize that will fill in default size components with the window's best size values.

Property Summary
  thisown: The membership flag

Instance Method Details

__init__(self, parent, id=-1, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ControlNameStr)
(Constructor)

Create a Control. Normally you should only call this from a subclass' __init__ as a plain old wx.Control is not very useful.

Parameters:
parent
           (type=Window)

id
           (type=int)

pos
           (type=Point)

size
           (type=Size)

style
           (type=long)

validator
           (type=Validator)

name
           (type=String)

Returns:
Control
Overrides:
wx.Control.__init__ (inherited documentation)

base_AcceptsFocus(*args, **kwargs)

Please use PyControl.AcceptsFocus instead.

base_AcceptsFocusFromKeyboard(*args, **kwargs)

Please use PyControl.AcceptsFocusFromKeyboard instead.

base_AddChild(*args, **kwargs)

Please use PyControl.AddChild instead.

base_DoGetBestSize(*args, **kwargs)

Please use PyControl.DoGetBestSize instead.

base_DoGetClientSize(*args, **kwargs)

Please use PyControl.DoGetClientSize instead.

base_DoGetPosition(*args, **kwargs)

Please use PyControl.DoGetPosition instead.

base_DoGetSize(*args, **kwargs)

Please use PyControl.DoGetSize instead.

base_DoGetVirtualSize(*args, **kwargs)

Please use PyControl.DoGetVirtualSize instead.

base_DoMoveWindow(*args, **kwargs)

Please use PyControl.DoMoveWindow instead.

base_DoSetClientSize(*args, **kwargs)

Please use PyControl.DoSetClientSize instead.

base_DoSetSize(*args, **kwargs)

Please use PyControl.DoSetSize instead.

base_DoSetVirtualSize(*args, **kwargs)

Please use PyControl.DoSetVirtualSize instead.

base_Enable(*args, **kwargs)

Please use PyControl.Enable instead.

base_GetDefaultAttributes(*args, **kwargs)

Please use PyControl.GetDefaultAttributes instead.

base_GetMaxSize(*args, **kwargs)

Please use PyControl.GetMaxSize instead.

base_InitDialog(*args, **kwargs)

Please use PyControl.InitDialog instead.

base_OnInternalIdle(*args, **kwargs)

Please use PyControl.OnInternalIdle instead.

base_RemoveChild(*args, **kwargs)

Please use PyControl.RemoveChild instead.

base_ShouldInheritColours(*args, **kwargs)

Please use PyControl.ShouldInheritColours instead.

base_TransferDataFromWindow(*args, **kwargs)

Please use PyControl.TransferDataFromWindow instead.

base_TransferDataToWindow(*args, **kwargs)

Please use PyControl.TransferDataToWindow instead.

base_Validate(*args, **kwargs)

Please use PyControl.Validate instead.

GetDefaultAttributes(self)

Get the default attributes for an instance of this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

Returns:
VisualAttributes
Overrides:
wx.Window.GetDefaultAttributes (inherited documentation)

SetBestSize(self, size=DefaultSize)

A 'Smart' SetSize that will fill in default size components with the window's best size values. Also set's the minsize for use with sizers.

Parameters:
size
           (type=Size)


Property Details

thisown

The membership flag


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:17 2009 http://epydoc.sf.net