Table of Contents

Classes

List of Classes and routines that apply to them


Each class should have at least two things defined, a constant identifying the class and a sizeof_ constant. In order to refer to class wxWindow, simply use its name, "wxWindow". To refer to the size in bytes of an object of type wxWindow, use sizeof_wxWindow.

  • func create( integer class, object params )   
  • proc delete_instance( object this )   
  • func is_kind( atom this, atom kind )   
  • func sizeof_class( atom sm )     
     
    Subtopics:
  • wxApp
  • wxArrayString
  • wxBitmap
  • wxBitmapButton
  • wxBoxSizer
  • wxBrush
  • wxButton
  • wxCalendarCtrl
  • wxCalendarDateAttr
  • wxCheckBox
  • wxColourData
  • wxColourDialog
  • wxComboBox
  • wxControl
  • wxControlWithItems
  • wxCursor
  • wxDataFormat
  • wxDateTime
  • wxDefButton
  • wxDialog
  • wxDir
  • wxDirDialog
  • wxDirTraverser
  • wxFileName
  • wxFlexGridSizer
  • wxFont
  • wxFontData
  • wxFontDialog
  • wxFontEnumerator
  • wxFrame
  • wxFTP
  • wxGrid
  • wxGridSizer
  • wxHtmlWindow
  • wxIcon
  • wxImageList
  • wxIPV4address
  • wxListBox
  • wxListCtrl
  • wxMDIChildFrame
  • wxMDIClientWindow
  • wxMDIParentFrame
  • wxMemoryDC
  • wxMenu
  • wxMenuBar
  • wxMenuItem
  • wxNotebook
  • wxNotebookSizer
  • wxPageSetupDialog
  • wxPageSetupDialogData
  • wxPaintDC
  • wxPanel
  • wxPen
  • wxPoint
  • wxPrintDialog
  • wxPrinter
  • wxRadioBox
  • wxRadioButton
  • wxScrollBar
  • wxSize
  • wxSlider
  • wxSocketClient
  • wxSocketServer
  • wxSpinCtrl
  • wxSplashScreen
  • wxSplitterWindow
  • wxStaticBoxSizer
  • wxStaticText
  • wxStatusBar
  • wxString
  • wxTextAttr
  • wxTextCtrl
  • wxTextDataObject
  • wxTimer
  • wxToggleButton
  • wxToolBar
  • wxTreeCtrl
  • wxTreeEvent
  • wxURL
  • wxWindow
  • wxWizard
  • wxWizardPage


    Table of Contents

    [func]
    create
    ( integer class, object params )

    Category: Classes

    This function is used to create all classes included in wxEuphoria. You should check the documentation of the class to see what the required and optional parameters are.

    See Also: delete_instance, is_kind, sizeof_class



    Table of Contents

    [proc]
    delete_instance
    ( object this )

    Category: Classes

    Destroys an object and frees the memory that held it. Can also be a sequence of objects to be destroyed.

    See Also: create, is_kind, sizeof_class



    Table of Contents

    [func]
    is_kind
    ( atom this, atom kind )

    Category: Classes

    Check to see if an object belongs to a certain class. kind is the sm_class... constant for the class in question.

    See Also: create, delete_instance, sizeof_class



    Table of Contents

    [func]
    sizeof_class
    ( atom sm )

    Category: Classes

    Returns the size, in bytes, for class sm. This must be a dynamic class (if you look in the wxWidgets source code, you'll see things like IMPLEMENT_DYNAMIC_CLASS). You can use this function if there is an sm_classwxXXX constant defined for the class.

    ex:
    ? sizeof_class( sm_classwxObject )
    

    See Also: create, delete_instance, is_kind