Table of Contents

Introduction

wxEuphoria v0.9.0
Wrapper for wxWidgets
by Matt Lewis
matthewwalkerlewis@gmail.com
http://www14.brinkster.com/matthewlewis


wxEuphoria is an implementation of wxWidgets by Julian Smart, et. al. for Euphoria. wxWidgets is a cross platform GUI library. The wxWidgets library is compiled into a DLL/SO, and is linked to by Euphoria code.

This version of wxEuphoria requires library build #9.

wxEuphoria is licensed under the wxWidgets license (see the license folder).

DISCLAIMER:
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFIT; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Other licensing issues

Files Included:
 * Documentation
   + wxEuphoria.htm
   + install.txt
 * Licenses
   + gpl
   + jpeg-readme.txt
   + lgpl.txt
   + licence.txt
   + tiff-copyright.txt
 * Library:
   + cplusplus.e
   + wxButton.e
   + wxCalendar.e
   + wxCheckBox.e
   + wxClassInfo.e
   + wxControl.e
   + wxData.e
   + wxDialog.e
   + wxEuphoria.e
   + wxFile.e
   + wxGraphics.e
   + wxGrid.e
   + wxHtml.e
   + wxList.e
   + wxLowLevel.e
   + wxMenu.e
   + wxNet.e
   + wxNotebook.e
   + wxScrollbar.e
   + wxSizer.e
   + wxStatic.e
   + wxStatusBar.e
   + wxText.e
   + wxTimer.e
   + wxToolBar.e
   + wxTreeCtrl.e
 * Demos: see the demo subdirectory

Files not included (with library source) * wxeu.dll * wxeu.so * wxWidgets source code and documentation (go to www.wxwidgets.org) * wxEuphoria modifications to wxWidgets source code (see the wxEuphoria developers package) * Euphoria v2.5


Table of Contents

Topic

Description

IndexAlphabetical list of all items.
Change HistoryEnhancements and bug fixes
ClassesList of Classes and routines that apply to them
ClipboardCut and paste
ControlsA List of controls available in wxWidgets
Cross Platform TipsHelpful hints for coding for multiple platforms
Developer's NotesChanges, Bugs and TODO List
DialogsUsing dialogs with wxEuphoria
Drag and DropWorking with files and other controls
EventsUsing events with wxEuphoria
FilesWorking with files and directories
Getting StartedHow do I use wxEuphoria?
GraphicsDrawing, Text, Fonts
Known BugsStuff that needs fixing
MenusUsing menus
Miscellaneous RoutinesRandom stuff
NetworkingDoing things across networks
PrintingUsing a printer
Resource ManagementThese routines are supplied as a means to collect multiple memory handlers, for release with a single statment.
SizersAutomatically manage resizing controls
TimersSetting and using timers
TODOWhat's next?
UtilitiesHelper routines
wxEuphoria DevelopersInformation about extending or debugging the library

Table of Contents

Change History

Enhancements and bug fixes


 v0.9.0 - Made class_table local in cplusplus.e to avoid conflicts with
          embedded ooeu
        - Documented set_cursor()
        - Added convert_to_image()
        - Requires library build #9

v0.8.1 - Fixed bug in wxWizardPage -- vtable offset was changed - Added wxSplashScreen - Added get_days_in_month() and get_cal_days_in_month() - Fixed bug that could prevent wxEVT_CLOSE_WINDOW events from being handled correctly - Fixed bug that would prevent translation to a dll, when wxEuphoria looks at the command_line()

v0.8.0 - Fixed bug in wxTreeCtrl creation for detecting optional parameters - New classes: wxFileName, wxHtmlWindow - New wrappers: select_tree_item(), delete_tree_children(), is_visible() - Both versions use build #8. - Added call_member_str() and call_cdecl_str() too allow easy wrapping of functions that return a wxString by value. - Added init_image_handlers() and fixed constructor for wxGIFHandler for Win32 - set_column_label() didn't work properly under Windows. - Added set_bmpbutton() to change the displayed bitmap of a wxBitmapButton - wxeu.so now belongs in "/usr/lib" - Added new accessor functions for wxFont. - Added choice_count(), combobox_count() - Global sequence PATH contains the path of the startup directory, if possible

v0.7.2 - Documentation was wrong for set_editor_choices() - Fixed bug in ftp_rename() (Thanks to Mario Steele) - set_ip_host() was using the wrong wxWidgets call under Linux (Thanks to Mario Steele)

v0.7.1 - Fixed get_list_string() to work for wxListCtrl on Linux - Fixed constructor for wxURL on Linux - Linux uses library build #7.

v0.7.0 - Fixed set_brush() and set_back_brush() to work with wxMemoryDC under GTK - New classes: wxMDIParentFrame, wxMDIClientWindow, wxMDIChildFrame, wxFontEnumerator, wxCursor - Added set_choice() for wxChoice - Can now insert a wxMenu at specified location in the wxMenuBar upon creation - Added get_label(), which should work for all controls. - Fixed get_list_string() under GTK. - Uses library build #6. - Several bugfixes for wxTreeCtrl under GTK. - Added Resource Management routines (thanks to Mario Steele)

v0.6.0 - Docs now in multiple file format - CK Lester helped updating demos - Added set_bitmap_size() and made get_bitmap_size() work under Linux - set_checked() didn't work for wxToggleButton (CK Lester) - Added get_text_number() - New classes: wxMask, wxFlexGridSizer, wxStaticBoxSizer - Added set_mask() to use a wxMask with a wxBitmap - Added global constant wxTrue - Uses build 5 - Added several new wxSizer functions. - Added get_key_state() (from wxMSW 2.5.5, and implemented in Euphoria for wxGTK, since the wxGTK implementation only works for shift, ctrl, alt keys) - Fixed bug in Linux where wxWidgets frees image handlers and that memory is reused, cplusplus.e still thought the object was of the old class' type (thanks to Eumario) - Added font_ok() to check for a valid wxFont

v0.5.0 - New classes: wxTextAttr, wxStaticLine, wxStaticBox, wxCalendarCtrl - Fixed constructor for wxTextCtrl so that default parameters can be used for id, text, size and position. - wxEuphoria will display an error message and abort if open_dll( wxWin_name ) fails - Cleaned up warnings - Size of wxColour was wrong under Windows - Can now destroy() controls - Added version constant wxEuphoria_Version = {0,5,0} - Can set the column labels in a wxListCtrl: set_column_label() - Fixed bug in constructor for wxToggleButton - Uses library build 4. The file is now named wxeu.[dll|so] - Allows you to change the location or name of the wxEuphoria library by declaring a global function wxEu_Lib that returns the path to the wxEuphoria library. - set_text_back_color() works correctly in Linux - Change instance memory handling to cooperate with wxWidgets under Win32 so that memory is freed in the correct place - cleanup() added. This should be manually called before your app exits if you don't use wxMain() ( wxMain() calls cleanup() automatically before exit) - set_status_text() now checks to make sure that you don't set a status field that doesn't exist (thanks to CK Lester) - Global constant wxFalse is now 0 (was a pointer to the actual value) (thanks to CK Lester) - Added set_button_label()

v0.4.0 - New classes: wxDir, wxDirTraverser, wxWizard, wxWizardPage, wxSocketClient, wxSocketServer, wxURL, wxInputStream, wxIPV4Address, wxHTTP, wxFTP - Fixed destructor for wxArrayString

v0.3.0 - New classes: + Controls: wxTreeCtrl, wxSplitterWindow, wxSpinCtrl, wxSlider, wxListCtrl + Dialogs: wxDirDialog, wxFontDialog (see also font_selector), wxPrintDialog, wxProgressDialog, wxColourDialog (see also color_selector) + Printing: wxPreviewFrame, wxPrintout, wxPrintPreview + wxGrid: wxGridCellAttr, wxGridCellEditor + wxImageList - wxDialog has been moved from wxEuphoria.e to the new file wxDialog.e - Support for popup- and sub- menus (See Menus) - create(), call_member(), call_member_s(), call_cdecl(), call_cdecl_s() will now take an atom if only one parameter is passed + A wxString can be created without wrapping the string in an extra set of braces: str = create( wxString, "A String" ) - Uses Libarary build 3 - Checks for Library build >= Required build (used to be =) - platform.pl ported to Euphoria (platform.exw) - blit() parameters were incorrect (src and dst coords were swapped) - wx_execute() is now a function, and takes flags

v0.2.0 - New classes: + Sizers: wxBoxSizer, wxGridSizer, wxNotebookSizer + wxNotebook + wxGrid + wxToolBar + wxBitmapButton + Clipboard, Drag'n'Drop: wxClipboard, wxDataObject, wxTextDataObject, wxFileDataObject, wxDropTarget, wxFileDropTarget - New functions: + file_selector() + get_sys_metric() + get_sys_color() - Uses Library build 2 + Both * Added string access routines ( wxChoice, wxComboBox, wxGrid, wxClipboard) * Moved implementation of some routines from grid.h to grid.cpp to allow them to be exported + Win32: * Added call to IDataObject::AddRef when adding data to the clipboard * GetColour added for use in get_sys_colour - Dumped fptr.e and added some code in src\common\utilscmn.cpp for calling functions. Random crashes have disapeared. Still seem to need string accessors, though.

v0.1.0 - Using wxWidgets 2.4.2 + Win32: Borland C++ v5.5 (free version) + Linux gcc v3.2 + Library build 1 for both platforms (WX_DLL_BUILD) - Overhauled and reengineered library development + All files are *.e with platform specific code wrapped with 'preprocessor' directives (see platform.pl) + Library exports managed through EuSQL databases + generate.exw, wxeu.exw, EDB forms included to assist db and file maintenance

7/3/2003 * Got rid of cross-platform + platform-specific includes. Combined into platform-specific format.


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

    Clipboard

    Cut and paste


    include file: wxData.e

  • proc close_clip()   
  • func get_clip_text()   
  • func open_clip()   
  • proc set_clip_text( sequence text )   

    Subtopics:
  • wxDataFormat
  • wxTextDataObject

    Table of Contents

    Controls

    A List of controls available in wxWidgets


  • proc add_item( atom combo, sequence text )   
  • proc clear_items( atom control )   
  • proc delete_item( atom control, integer item )   
  • proc destroy( atom this )   
  • proc enable( object control, integer bool )   
  • func find_string( atom control, sequence string )   
  • func get_handle( atom this )   
  • func get_label( atom control )   
  • func get_list_string( atom list, integer item )   
  • func get_rect( atom win )   
  • func get_selection( atom control )   
  • func get_string_selection( atom list )   
  • func get_string_selection( atom list )   
  • func is_visible( atom window )   
  • proc set_cursor( atom window, atom cursor )   
  • proc set_focus( atom window )   
  • proc set_selection( atom control, object item )   
  • proc set_size( atom win, integer cx, integer cy )   
  • proc set_string( atom control, integer item, sequence string )   
  • proc set_tip( atom this, sequence tip )   

    Subtopics:
  • IDs
  • wxBitmapButton
  • wxButton
  • wxCalendarCtrl
  • wxCheckBox
  • wxChoice
  • wxColourDialog
  • wxComboBox
  • wxControl
  • wxControlWithItems
  • wxCursor
  • wxDefButton
  • wxFrame
  • wxGrid
  • wxHtmlWindow
  • wxListBox
  • wxListCtrl
  • wxMDIChildFrame
  • wxMDIClientWindow
  • wxMDIParentFrame
  • wxNotebook
  • wxPanel
  • wxRadioBox
  • wxRadioButton
  • wxSlider
  • wxSpinCtrl
  • wxSplashScreen
  • wxSplitterWindow
  • wxStaticText
  • wxStatusBar
  • wxTextCtrl
  • wxToggleButton
  • wxToolBar
  • wxTreeCtrl
  • wxWindow
  • wxWizard
  • wxWizardPage

    Table of Contents

    Cross Platform Tips

    Helpful hints for coding for multiple platforms




    Supertopics:
  • Classes

    Table of Contents

    wxFlexGridSizer

    include file: wxSizer.e


    Creation parameters:

    A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields in one row having the same height and all fields in one column having the same width, but all rows or all columns are not necessarily the same height or width as in the wxGridSizer.



    Supertopics:
  • Classes
  • Sizers

    Table of Contents

    wxFont

    include file: wxGraphics.e


    Creation parameters:

  • func get_font_encoding( atom font )   
  • func get_font_family( atom font )   
  • func get_font_members( atom font )   
  • func get_font_name( atom font )   
  • func get_font_pointsize( atom font )   
  • func get_font_style( atom font )   
  • func get_font_underlined( atom font )   
  • func get_font_weight( atom font )   
  • proc set_point_size( atom font, integer points )   

    Supertopics:
  • Classes
  • Graphics

    Subtopics:
  • wxFontEnumerator

    Table of Contents

    wxFontData

    include file: wxDialog.e


    Creation parameters:

  • func get_chosen_font( atom fdata )   
  • proc set_initial_font( atom fdata, atom font )   

    Supertopics:
  • Classes
  • Fonts
  • wxFontDialog

    Table of Contents

    wxFontDialog

    include file: wxDialog.e


    Creation parameters:

  • func get_font_data( atom dialog )   

    Supertopics:
  • Classes
  • Dialogs
  • Fonts

    Subtopics:
  • wxFontData

    Table of Contents

    wxFontEnumerator

    include file: wxGraphics.e


    Creation parameters: NONE

    wxFontEnumerator enumerates either all available fonts on the system or only the ones with given attributes - either only fixed-width (suited for use in programs such as terminal emulators and the like) or the fonts available in the given encoding.

    The routines for wxFontEnumerator create and destroy an enumeration object automatically, so there is no need to create your own.

  • func get_encodings( sequence fontname )   
  • func get_facenames( sequence params )   

    Supertopics:
  • Classes
  • Graphics
  • wxFont

    Table of Contents

    wxFrame

    include file: wxEuphoria


    wxFrame is a class derived from wxWindow. You must use a wxFrame as your top level window. The parameters for creating a wxFrame are: All items with a default value are optional, although you must supply both x and y, or both cx and cy if you supply either one.
    ex:
      constant myFrame = create( wxFrame, {0,         -- has no parent
                                          -1,         -- wxWidgets will create an id
                                          "myFrame",  -- will be dispayed as the caption
                                          -1,         -- start at default x position
                                          -1,         -- start at default y position
                                          300,        -- 300 wide
                                          200})       -- 200 tall
                                                      -- no style supplied means will be default style
    
    If there is only one child of a frame, that child will be automatically resized (by wxWidgets) to the client rect of the frame.

  • proc raise_window( atom window )   
  • proc set_icon( atom frame, atom icon )   
  • proc show_fullscreen( atom frame, integer show, integer flags )   
  • proc show_window( atom window, integer show )   

    Supertopics:
  • Classes
  • Controls
  • wxWindow

    Subtopics:
  • wxCursor
  • wxMDIParentFrame
  • wxStatusBar

    Table of Contents

    wxFTP

    include file: wxNet.e


    Creation parameters: None

  • func ftp_chdir( atom ftp, sequence path )   
  • proc ftp_close( atom ftp )   
  • func ftp_input_stream( atom ftp, sequence path )   
  • func ftp_mkdir( atom ftp, sequence path )   
  • proc ftp_mode( atom ftp, integer mode )   
  • func ftp_output_stream( atom ftp, sequence path )   
  • proc ftp_pwd( atom ftp, sequence pwd )   
  • proc ftp_pwd( atom ftp )   
  • func ftp_rename( atom ftp, sequence source, sequence dest )   
  • func ftp_rm( atom ftp, sequence path )   
  • func ftp_rmdir( atom ftp, sequence path )   
  • proc ftp_user( atom ftp, sequence user )   

    Supertopics:
  • Classes
  • Networking

    Table of Contents

    wxGrid

    include file: wxGrid


    This is a grid control that can be used to display tabular data. It also allows editing in place by users, similar to a spreadsheet.

    Creation parameters:

    It is important to remember that all wxGrid functions and procedures use zero-based references to all cells (0, 1, 2,...)

  • proc append_cols( atom grid, integer cols )   
  • proc append_rows( atom grid, integer rows )   
  • proc autosize_columns( atom grid )   
  • func batch_count( atom grid )   
  • proc begin_batch( atom grid )   
  • proc clear_grid( atom grid )   
  • proc delete_cols( atom grid, integer pos, integer n, integer relabel )   
  • proc delete_rows( atom grid, integer pos, integer n, integer relabel )   
  • proc end_batch( atom grid )   
  • proc force_refresh_grid( atom grid )   
  • func get_cell_editor( atom grid, sequence cell )   
  • func get_cell_editor_control( atom grid, object editor )   
  • func get_cell_value( atom grid, integer row, integer col )   
  • func get_col_label( atom grid, integer col )   
  • func get_col_label_size( atom grid )   
  • func get_row_label_size( atom grid )   
  • func grid_event_cell( atom event )   
  • func grid_pos( atom grid )   
  • func grid_size( atom grid )   
  • proc make_cell_visible( atom grid, atom row, atom col )   
  • proc select_grid_cell( atom grid, atom row, atom col )   
  • proc set_cell( atom grid, atom row, atom col )   
  • proc set_cell_alignment( atom grid, atom row, atom col, atom horz, atom vert )   
  • proc set_cell_editor( atom grid, atom row, atom col, integer ed_type, object data )   
  • proc set_cell_readonly( atom grid, atom row, atom col, integer readonly )   
  • proc set_cell_value( atom grid, object val, integer row, integer col )   
  • proc set_col_alignment( atom grid, atom col, atom horz, atom vert )   
  • proc set_col_editor( atom grid, atom col, integer ed_type, object data )   
  • proc set_col_label( atom grid, integer col, sequence text )   
  • proc set_col_label_align( atom grid, atom horiz, atom vert )   
  • proc set_col_label_size( atom grid, integer height )   
  • proc set_col_readonly( atom grid, atom col, integer readonly )   
  • func set_col_size( atom grid, atom col, atom size )   
  • proc set_default_grid_editor( atom grid, atom editor )   
  • proc set_editor_choices( atom grid, object cell, sequence choices )   
  • proc set_grid_editable( atom grid, integer editable )   
  • proc set_grid_line_color( atom grid, atom colour )   
  • proc set_grid_size( atom grid, atom rows, atom cols )   
  • proc set_row_label( atom grid, integer row, sequence text )   
  • proc set_row_label_align( atom grid, atom horiz, atom vert )   
  • proc set_row_label_size( atom grid, integer height )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxGridCellAttr
  • wxGridCellEditor

    Table of Contents

    wxGridCellAttr

    include file: wxGrid.e


    Creation parameters (two options):



    Supertopics:
  • wxClasses
  • wxGrid

    Subtopics:
  • wxGridCellEditor

    Table of Contents

    wxGridCellEditor

    include file: wxGrid.e


    You shouldn't create an object of this class directly. Instead, use the set_col_editor or set_cell_editor procedures.

    See also: get_cell_editor, get_cell_editor_control



    Supertopics:
  • wxGrid
  • wxGridCellAttr

    Table of Contents

    wxGridSizer

    include file: wxSizer


    Creation parameters: rows and columns determine the number of columns and rows in the sizer - if either of the parameters is zero, it will be calculated to form the total number of children in the sizer, thus making the sizer grow dynamically. vgap and hgap define extra space between all children.



    Supertopics:
  • Classes
  • Sizers

    Table of Contents

    wxHtmlWindow

    include file: wxHtml.e


    Note that this file also includes wxFile.e and wxGraphics.e.

    Creation parameters:

    This class can be used to display HTML documents. It does not always handle badly formed html very well. Make sure that any lists are surrounded by <ul> </ul> or <ol> </ol> tags.

  • func get_html_anchor( atom html_win )   
  • func get_html_page( atom html_win )   
  • proc get_html_page_title( atom html_win )   
  • proc get_html_page_title( atom html_win )   
  • proc html_append( atom htmlwin, sequence source)   
  • proc html_back( atom htmlwin )   
  • proc html_forward( atom htmlwin )   
  • proc load_html_file( atom htmlwin, sequence file)   
  • proc load_html_page( atom htmlwin, sequence page )   
  • proc set_html_page( atom htmlwin, sequence source )   
  • proc set_link_event( atom html_win, integer rid )   
  • proc set_open_url_event( atom html_win, integer rid )   
  • proc set_related_frame( atom html_win, atom frame, sequence format )   

    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxHTTP

    include file: wxNet.e


    Creation parameters: I haven't figured out how to make this class work yet. Use wxURL instead.

  • func get_http_input( atom http )   

    Supertopics:
  • Networking

    Table of Contents

    wxIcon

    include file: wxGraphics.e


    Creation parameters: This is a true Icon under Windows, but is really just a wxBitmap under Linux.



    Supertopics:
  • Classes
  • Graphics

    Table of Contents

    wxImageList

    include file: wxGraphics.e


    Creation Parameters:

  • func add_image( atom ilist, atom image, object mask )   

    Supertopics:
  • Classes
  • Graphics

    Table of Contents

    wxIPV4address

    include file: wxNet.e


    Creation parameters: none

  • proc any_address( atom addr )   
  • func set_ip_host( atom ip, sequence name )   
  • func set_ip_service( atom ip, object service )   

    Supertopics:
  • Classes
  • Networking

    Table of Contents

    wxListBox

    include file: wxList


    Creation parameters:

  • proc clear_list( atom list )   
  • proc delete_list_item( atom list, object item )   
  • func find_list_string( atom list, sequence string )   
  • func list_count( atom list )   
  • proc list_ensure_visible( atom list, integer item )   
  • proc set_first_list_item( atom list, object item )   
  • proc set_list_selection( atom list, object select )   

    Supertopics:
  • Classes
  • Controls
  • wxControlWithItems

    Table of Contents

    wxListCtrl

    include file: wxList.e


    Creation parameters:

  • func insert_listctrl_item( atom list, atom index, sequence text, integer image )   
  • func insert_list_column( atom list, atom col, sequence text, integer format, integer width )   
  • proc list_imagelist( atom list, atom il, integer which )   
  • proc set_column_label( atom list, integer column, sequence text )   
  • proc set_list_item_back_color( atom list, atom item, atom color )   
  • proc set_list_item_image( atom list, integer item, integer image )   

    Supertopics:
  • Classes
  • Controls
  • wxControlWithItems

    Table of Contents

    wxMask

    include file wxGraphics.e


    Creation parameters:



    Supertopics:
  • wxBitmap
  • wxClasses
  • wxGraphics

    Table of Contents

    wxMDIChildFrame

    include file: wxMDI.e


    Creation parameters: You should create a wxMenuBar for the frame in order for everything to work properly. When the wxMenuBar is created, a Window menu will be created automatically.

  • proc activate_child( atom child )   
  • proc maximize_child( atom child, integer bool )   
  • proc restore_child( atom child )   

    Supertopics:
  • Classes
  • Controls
  • wxMDIParentFrame

    Table of Contents

    wxMDIClientWindow

    include file: wxMDI.e


    Creation parameters:



    Supertopics:
  • Classes
  • Controls
  • wxMDIParentFrame

    Table of Contents

    wxMDIParentFrame

    include file: wxMDI.e


    An MDI (Multiple Document Interface) parent frame is a window which can contain MDI child frames in its own 'desktop'. It is a convenient way to avoid window clutter, and is used in many popular Windows applications, such as Microsoft Word(TM).

    There may be multiple MDI parent frames in a single application, but this probably only makes sense within programming development environments.

    Child frames may be of class wxMDIChildFrame (contained within the parent frame) or wxFrame (shown as a top-level frame).

    An MDI parent frame always has a wxMDIClientWindow associated with it, which is the parent for MDI client frames. This client window may be resized to accommodate non-MDI windows, as seen in Microsoft Visual C++ (TM) and Microsoft Publisher (TM), where a documentation window is placed to one side of the workspace.

    MDI remains popular despite dire warnings from Microsoft itself that MDI is an obsolete user interface style.

    The implementation is native in Windows, and simulated under Motif. Under Motif, the child window frames will often have a different appearance from other frames because the window decorations are simulated.

    Creation parameters:

  • proc arrange_mdi_icons( atom parent )   
  • proc cascade_mdi( atom parent )   
  • proc tile_mdi( atom parent )   Simplistic Routines to manage memory

    Supertopics:
  • Classes
  • Controls
  • wxFrame

    Subtopics:
  • wxMDIChildFrame
  • wxMDIClientWindow

    Table of Contents

    wxMemoryDC

    include file: wxGraphics.e


    wxMemoryDCs are used to draw to wxBitmap 's in memory. When creating, you may specify zero or one parameters. The parameter must be a pointer to a wxBitmap. After creation, the specified bitmap will be selected into the wxMemoryDC.

    You must either delete the wxMemoryDC or call select_object( wxNullBitmap ) before selecting the bitmap into another wxMemoryDC.

  • proc select_object( atom dc, atom obj )   

    Supertopics:
  • Classes
  • Graphics

    Table of Contents

    wxMenu

    include file: wxMenu


    A menu is the top level menu item, such as "File".

    Creation parameters:

    To create a submenu, first create a wxMenu object with no parent, then create a new wxMenuItem with the menu as the subMenu parameter.



    Supertopics:
  • Classes
  • Menus

    Table of Contents

    wxMenuBar

    include file: wxMenu


    wxMenuBars must have a wxFrame parent. The only parameter to create a wxMenuBar is the pointer to a wxFrame.



    Supertopics:
  • Classes
  • Menus

    Table of Contents

    wxMenuItem

    include file: wxMenu


    wxMenuItems must have a wxMenu parent.

    Parameters for creating a new menuitem:

    To create a submenu, you first need to create a wxMenu with no parent, and pass the result in the subMenu parameter.

    To set up event handlers for menus, use the wxEVT_COMMAND_MENU_SELECTED event type. Also, you should use the main frame, or some other control that is derived from wxWindow or wxEvtHandler, since the menu classes do not have their own event handlers. Under Linux, it is also required that you pass both the object which will act as the wxEvtHandler, and the parent menu of the wxMenuItem (Windows will work without this, but it's recommended that you always pass both the wxEvtHandler and the wxMenu for cross platform compatibility).

    ex:
    

    procedure on_open_menu( atom this, atom event ) -- do stuff end procedure

    -- if you used a specific wxID_ constant when you created the wxMenuItem, you could -- use that instead of get_menuitem_id: wxID_OPEN, wxID_NEW, etc

    set_event_handler( {main, the_open_menu_parent}, get_menuitem_id( the_open_menu ), wxEVT_COMMAND_MENU_SELECTED, routine_id("on_open_menu"))



    Supertopics:
  • Classes
  • Menus

    Table of Contents

    wxNotebook

    include file: wxNotebook


    This class represents a notebook control, which manages multiple windows with associated tabs.

    To use the class, create a wxNotebook object and call add_page, passing a window to be used as the page.

    Creation parameters:

    Note that sometimes you can reduce flicker by passing the wxCLIP_CHILDREN window style.

  • proc add_page( atom book, atom page, sequence text, integer select, atom image )   
  • proc notebook_imagelist( atom book, atom ilist )   
  • proc set_page_text( atom book, integer page, sequence text )   
  • proc show_page( atom book, integer page )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxNotebookSizer

    Table of Contents

    wxNotebookSizer

    include file: wxSizer


    Creation parameters: wxNotebookSizer is a specialized sizer to make sizers work in connection with using notebooks. This sizer is different from any other sizer as you must not add any children to it - instead, it queries the notebook class itself. The only thing this sizer does is to determine the size of the biggest page of the notebook and report an adjusted minimal size to a more toplevel sizer.

    In order to query the size of notebook page, this page needs to have its own sizer, otherwise the wxNotebookSizer will ignore it.



    Supertopics:
  • Classes
  • Sizers
  • wxNotebook

    Table of Contents

    wxPageSetupDialog

    include file: wxDialog.e


    Creation parameters:

  • func get_pagesetup_data( atom ps )   

    Supertopics:
  • Classes
  • Dialogs
  • Printing

    Subtopics:
  • wxPageSetupDialogData

    Table of Contents

    wxPageSetupDialogData




    Supertopics:
  • Classes
  • Printing
  • wxPageSetupDialog

    Table of Contents

    wxPaintDC

    include file: wxGraphics.e


    Creation parameters:

    Device context that is used to draw to a window during a paint event. It should be destroyed before you exit the paint handler.



    Supertopics:
  • Classes
  • Graphics

    Table of Contents

    wxPanel

    include file: wxEuphoria


    If you create a wxFrame, you should create a wxPanel to be the child of the main frame, and place all controls into the panel (except for menus and wxStatusBar 's). The only creation parameter required is a parent. The panel will automatically grow or shrink whenever its parent does, and automatically handles tabbing between controls.

  • proc set_default_item( atom panel, atom button )   

    Supertopics:
  • Classes
  • Controls
  • wxWindow

    Table of Contents

    wxPen

    include file: wxGraphics.e


    Creation parameters:



    Supertopics:
  • Classes
  • Graphics

    Table of Contents

    wxPoint

    include file: wxEuphoria


    A wxPoint is actually just an 8-byte location in memory with two 4-byte integers stored there, corresponding to the x,y coordinates of the point. It is possible to specify the place in memory where you want to have the point created. A call to create() will simply poke the values for you, so it may be easier to do this yourself. To specify the place in memory, the pointer should be the third parameter passed.
    ex:
      atom point1, point_array, void
    

    --creates a point with x=3, y=4 point = create( wxPoint, {3,4})

    -- allocates space for an array of 2 wxPoints point_array = allocate(8 * 2)

    -- create the points in place void = create( wxPoint, {3,4,point_array}) void = create( wxPoint, {5,6,point_array + sizeof_wxPoint})



    Supertopics:
  • Classes

    Table of Contents

    wxPrintDialog

    include file: wxDialog.e


    Creation parameters:

  • func get_print_data( atom prdlg )   

    Supertopics:
  • Classes
  • Dialogs
  • Printing

    Table of Contents

    wxPrinter

    include file: wxPrint.e


    Creation parameters:

  • func start_print( atom printer, atom parent atom printout, atom prompt )   

    Supertopics:
  • Classes
  • Printing

    Table of Contents

    wxPrintout

    include file: wxPrint.e


    Creation parameters:

  • func get_page_mm( atom printout )   
  • func get_page_pixels( atom printout )   
  • func get_ppi_printer( atom printout )   
  • func get_ppi_screen( atom printout )   
  • func get_printout_dc( atom printout )   
  • func is_preview( atom printout )   
  • proc set_page_info( atom printout, atom min, atom max )   

    Supertopics:
  • Printing

    Table of Contents

    wxPrintPreview

    include file: wxPrint.e


    Creation parameters:

    Previewing is started by showing the preview frame.

    Properly scaling the print preview is fairly simple. There are three pieces of data that are required:

    You can get the scaling factor required by dividing the results of get_dc_size() by get_page_pixels(). Pass the result to set_user_scale(). Now, you can use coordinates in inches multiplied by the printer ppi (relative to the margins):
        procedure onPrintPage( atom this, atom page, atom dc )
            sequence ppi, factor
    

    ppi = get_ppi_printer( this ) if is_preview( this ) then factor = get_dc_size( dc ) / get_page_pixels( this ) set_user_scale( dc, factor[1], factor[2] ) else set_user_scale( dc, 1, 1) end if

    -- print "Hello World" at 1", 1" wx_puts( 0 & ppi * {1,1} & dc, "Hello World" ) end procedure

  • func get_preview_frame( atom preview )   
  • func get_zoom( atom preview )   
  • proc set_preview_frame( atom preview, atom frame )   

    Supertopics:
  • Printing

    Table of Contents

    wxProgressDialog

    include file: wxDialog.e


    Creation parameters:

  • proc progress_resume( atom dialog )   
  • func progress_update( atom dialog, integer val, sequence message )   

    Supertopics:
  • Dialogs

    Table of Contents

    wxRadioBox

    include file: wxCheckBox


    A radio box item is used to select one of number of mutually exclusive choices. It is displayed as a vertical column or horizontal row of labelled buttons.

    Creation parameters:

  • func get_radio_selection( atom this )   
  • proc set_radiobox_selection( atom box, integer selection )   A list of controls available in wxWidgets

    Supertopics:
  • Classes
  • Controls
  • wxRadioButton

    Table of Contents

    wxRadioButton

    include file: wxCheckBox.ew


    Creation parameters:



    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxRadioBox

    Table of Contents

    wxScrollBar

    include file: wxScrollBar


    Creation parameters:

  • func get_scroll_position( atom scroll )   
  • proc set_scrollbar( atom scroll, atom position, atom thumbSize, atom range, atom pageSize, atom refresh )   
  • proc set_scroll_position( atom scroll, atom pos )   

    Supertopics:
  • Classes

    Subtopics:
  • wxSlider

    Table of Contents

    wxSize

    include file: wxEuphoria




    Supertopics:
  • Classes

    Table of Contents

    wxSlider

    include file: wxScrollBar.e


    Creation parameters

  • func get_slide_value( atom slider )   
  • proc set_slide_value( atom slider, atom val )   

    Supertopics:
  • Classes
  • Controls
  • wxScrollBar

    Table of Contents

    wxSocketClient

    include file wxSocket.e


    Creation parameters:

  • func socket_connect( atom client, atom address, integer wait )   

    Supertopics:
  • Classes
  • Networking

    Table of Contents

    wxSocketServer

    include file wxSocket.e


    Creation parameters:

    In order to receive data through sockets, you first need to create a wxSocketServer object to wait for new connections. Then, in an event handler, you need to create a new wxSocketServer object that will handle the connection, and set up an event handler for that socket, as well. Alternatively, you could call socket_accept() with wait = 1, although this will not return until a connection has been made.
     ex:
         server = create( wxSocketServer, address )
         server_id = get_id( server )
         set_socket_notify( server, {wxSOCKET_CONNECTION_FLAG, wxSOCKET_LOST_FLAG})
         socket_event_handler( server, main_form, server_id )
    

    procedure main_socket_event( atom this, atom event_type, atom id, atom event ) sequence bytes atom socket

    event_type = get_socket_event( event )

    if id = server_id and event_type = wxSOCKET_CONNECTION then connection = socket_accept( server, 0 ) connection_id = get_id( connection ) set_socket_notify( connection, {wxSOCKET_INPUT_FLAG, wxSOCKET_LOST_FLAG}) socket_event_handler( connection_id, main_form, connection_id ) set_event_handler( main_form, connection_id, wxEVT_SOCKET, routine_id("main_socket_event"))

    elsif event_type = wxSOCKET_LOST then delete_instance( socket_from_event( event ) )

    elsif event_type = wxSOCKE_INPUT then bytes = socket_read( socket_from_event( event ) )

    end if end procedure set_event_handler( main_form, server_id, wxEVT_SOCKET, routine_id("main_socket_event")

  • func socket_accept( atom socket, integer wait )   

    Supertopics:
  • Classes
  • Networking

    Table of Contents

    wxSpinCtrl

    include file: wxText.e


    Creation parameters:

  • func get_spin_value( atom spin )   
  • proc set_spin_value( atom spin, atom val )   

    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxSplashScreen

    include file: wxSplashScreen.e


    Creation parameters:



    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxSplitterWindow

    include file: wxSizer.e


    Creation parameters:

  • func get_splitter_sash_position( atom split )   
  • proc set_min_pane_size( atom split, integer size )   
  • proc set_splitter_sash_position( atom split, integer pos, integer redraw )   
  • proc split_window( atom split, atom win1, atom win2, integer orient, integer pos )   

    Supertopics:
  • Classes
  • Controls
  • Sizers

    Table of Contents

    wxStaticBoxSizer

    include file: wxSizer.e


    Creation parameters: wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer. Note that this static box has to be created separately.



    Supertopics:
  • Classes
  • Sizers

    Table of Contents

    wxStaticText

    include file: wxText


    This control is used for creating a static label. The text in the label will be automatically refreshed (as opposed to using wx_puts).

    Creation parameters:

  • proc set_label( atom label, sequence text )   

    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxStatusBar

    include file: wxStatusBar


    The status bar should be a child of a wxFrame. Creation parameters:

  • proc set_status_fields( atom bar, sequence widths )   
  • proc set_status_text( atom bar, sequence text, integer field )   

    Supertopics:
  • Classes
  • Controls
  • wxFrame

    Table of Contents

    wxString

    include file: wxEuphoria


    The format for strings that wxWidgets uses. The parameter to create should be a string.
    ex:
      atom myString
      myString = create( wxString, {"Hello World"})
    
    I wrote my own destructor for wxString objects, which you may call directly to save some time: delete_string().

  • proc delete_string( atom string )   
  • proc deref_string( atom string )   

    Supertopics:
  • Classes

    Table of Contents

    wxTextAttr


  • func get_text_attr_back_color( atom attr )   
  • func get_text_attr_color( atom attr )   
  • func get_text_attr_font( atom attr )   
  • proc set_text_attr_back_color( atom attr, atom color )   
  • proc set_text_attr_color( atom attr, atom color )   
  • proc set_text_attr_font( atom attr, atom font )   

    Supertopics:
  • Classes
  • wxTextCtrl

    Table of Contents

    wxTextCtrl

    include file: wxText.e


    Creation parameters: Events associated with wxTextCtrl:

  • proc append_text( atom text, sequence val )   
  • proc copy_text( atom text )   
  • proc cut_text( atom text )   
  • func get_text_length( atom text )   
  • func get_text_number( atom textctrl )   
  • func get_text_value( atom text )   
  • proc paste_text( atom text )   
  • proc select_all_text( atom text )   
  • proc set_default_text_style( atom text, atom attr )   
  • proc set_text( atom text, sequence val )   
  • proc set_text_selection( atom text, atom first, atom last )   
  • proc set_text_style( atom text, atom first, atom last, atom attr )   
  • proc write_text( atom ctrl, sequence text )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxTextAttr

    Table of Contents

    wxTextDataObject

    include file: wxData.e


    The only creation parameter is a string. This is optional:
      ex:
        myTextDataObject = create( wxTextDataObject, {"some text"})
    

    myTextDataObject = create( wxTextDataObject, {})



    Supertopics:
  • Classes
  • Clipboard

    Table of Contents

    wxTimer

    include file: wxTimer


    Creation parameters: The parent is important, as this is the only way to receive wxTimer events. To set a timer event handler, use wxEVT_TIMER:
    ex:
    

    constant main = create( wxFrame, {0,-1,"Timer"}), timer = create( wxTimer, {main})

    procedure on_timer( atom this, atom event ) puts(1,"Timer\n") end procedure

    -- NOTE: using the parent to identify the timer. set_event_handler( main, -1, wxEVT_TIMER, routine_id("on_timer"))

    -- set the timer to fire every 1 second, repeatedly start_timer( timer, 1000, 0 )

    wxMain( main )

  • proc start_timer( atom timer, atom msec, integer oneshot )   
  • proc stop_timer( atom timer )   

    Supertopics:
  • Classes
  • Events
  • Timers

    Table of Contents

    wxToggleButton

    include file: wxCheckBox.e


    Creation parameters:



    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxToolBar

    include file: wxToolBar


    Creation parameters:

  • proc add_separator( atom bar )   
  • func add_tool( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )   
  • proc set_tool_bitmap_size( atom bar, integer x, integer y )   
  • proc set_tool_margins( atom toolbar, integer x, integer y )   
  • proc show_toolbar( atom bar )   
  • proc toggle_tool( atom bar, atom id, integer toggle )   

    Supertopics:
  • Classes
  • Controls

    Table of Contents

    wxTreeCtrl

    Creation parameters:


    When working with tree items, the id values returned are actually pointers to wxTreeItem pointers. They are not unique ids. The value returned is a new wxTreeItemId, which is a simple wxWidgets object. It is just a pointer to either a windows handle or a custom data pointer. It is the duty of the application to free the wxTreeItemId.

  • func add_tree_item( atom tree, atom parent, sequence text, atom image, atom selimage )   
  • func add_tree_root( atom tree, sequence text, atom image, atom selimage )   
  • proc delete_tree_children( atom tree, atom treeitem )   
  • proc delete_tree_item( atom tree, object item )   
  • proc expand_tree_item( atom tree, atom item )   
  • func get_tree_parent( atom tree, atom item )   
  • func get_tree_root( atom tree )   
  • func get_tree_selected_text( atom tree )   
  • func get_tree_selection( atom tree )   
  • func get_tree_text( atom tree, atom id )   
  • proc select_tree_item( atom tree, atom treeitem )   
  • proc set_tree_item_text( atom tree, atom item, sequence text )   
  • proc tree_imagelist( atom tree, atom il )   
  • func valid_tree_item( atom item )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxTreeEvent

    Table of Contents

    wxTreeEvent

    include file: wxTree.e


    This is the class of the event that is passed to an event handler for a wxTree type event.

  • func get_tree_event_item( atom event )   

    Supertopics:
  • Classes
  • Events
  • wxTreeCtrl

    Table of Contents

    wxURL

    include file: wxNet.e


    Creation parameters:

  • func get_url_input( atom url )   

    Supertopics:
  • Classes
  • Networking

    Table of Contents

    wxWindow

    include file: wxEuphoria


    wxWindow is a very well used class. Most controls are derived from wxWindow, so you should remember that anything that can be done to a window can be done to an object derived from wxWindow. The parameters for creating a wxWindow are: An object of class wxWindow must have a parent. Therefore, you cannot create an object of class wxWindow to be your top level window. Your top level window should be either of type wxFrame or wxDialog. In fact, you should probably rarely create an object using wxWindow. See wxPanel.

  • proc capture_mouse( atom window )   
  • func get_client_size( atom this )   
  • func get_id( atom this )   
  • proc refresh_window( object params )   
  • proc release_mouse( atom window )   
  • proc set_back_color( atom window, atom color )   
  • proc set_title( atom window, sequence title )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxCheckBox
  • wxCursor
  • wxFrame
  • wxPanel

    Table of Contents

    wxWizard


    Creation parameters:

  • func wizard_event_direction( atom event )   
  • func wizard_event_page( atom event )   

    Supertopics:
  • Classes
  • Controls

    Subtopics:
  • wxWizardPage

    Table of Contents

    wxWizardPage

    Creation parameters:


    A wxWizardPage is actually a panel that will be displayed in the wxWizard. You must call set_next_wizard_page() and set_prev_wizard_page() for each page to set the next and previous pages. The first and last pages will have previous and next pages of 0, respectively.

  • proc set_next_wizard_page( atom page, atom next )   
  • proc set_prev_wizard_page( atom page, atom prev )   

    Supertopics:
  • Classes
  • Controls
  • wxWizard

    Table of Contents

    [proc]
    accept_files
    ( atom window, integer rid )

    Category: Drag and Drop

    Sets a wxWindow up to accept drag and drop files. The routine specified by rid will be called when any files are dropped. The parameter should be a sequence, which will contain the list of file names that have been dropped on the window.


    Table of Contents

    [proc]
    activate_child
    ( atom child )

    Category: wxMDIChildFrame

    Activates a child frame.

    See Also: maximize_child, restore_child


    Table of Contents

    [func]
    add_image
    ( atom ilist, atom image, object mask )

    Category: wxImageList

    Add an image to an image list


    Table of Contents

    [proc]
    add_item
    ( atom combo, sequence text )

    Category: Controls

    Used to add an item into a wxListBox, wxComboBox or wxChoice.

    See Also: clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    add_page
    ( atom book, atom page, sequence text, integer select, atom image )

    Category: wxNotebook

    Adds the wxWindow page to the notebook, with text on the its tab. select indicates whether the page should be selected, and image is the image index into an imagelist.

    See Also: notebook_imagelist, set_page_text, show_page


    Table of Contents

    [proc]
    add_resource
    (integer resource_stack, object memory_handle)

    Category: Resource Management

    resource_stack is the stack in which you want to store the memory handle on. If you do not create one through the new_resource() function, you can use the wxBaseResource as a general stack. If resource_stack is not valid, it does not track the memory handle at all. memory_handle can be either a single atom value of a Memory Pointer, or a sequence of Memory Pointers to be added to the list, for quick release. See also release_resources()

    See Also: free_resource, new_resource, release_resources, wxBaseResource


    Table of Contents

    [proc]
    add_separator
    ( atom bar )

    Category: wxToolBar

    See Also: add_tool, set_tool_bitmap_size, set_tool_margins, show_toolbar, toggle_tool


    Table of Contents

    [proc]
    add_sizer_to_sizer
    ( atom sizer1, atom sizer2, atom option, atom flag, atom border )

    Category: Sizers

    This adds sizer2 to sizer1.

    See Also: add_window_to_sizer, fit_window, set_sizer, space_sizer


    Table of Contents

    [func]
    add_tool
    ( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )

    Category: wxToolBar

    See Also: add_separator, set_tool_bitmap_size, set_tool_margins, show_toolbar, toggle_tool


    Table of Contents

    [func]
    add_tree_item
    ( atom tree, atom parent, sequence text, atom image, atom selimage )

    Category: wxTreeCtrl

    See Also: add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    add_tree_root
    ( atom tree, sequence text, atom image, atom selimage )

    Category: wxTreeCtrl

    See Also: add_tree_item, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [proc]
    add_window_to_sizer
    ( atom sizer, atom window, atom option, atom flag, atom border )

    Category: Sizers

    This adds the specified window (i.e., control) to the sizer.

    See Also: add_sizer_to_sizer, fit_window, set_sizer, space_sizer


    Table of Contents

    [proc]
    any_address
    ( atom addr )

    Category: wxIPV4address

    Returns a local address. This function should be used instead of using 127.0.0.1 or localhost.

    See Also: set_ip_host, set_ip_service


    Table of Contents

    [proc]
    append_cols
    ( atom grid, integer cols )

    Category: wxGrid

    Appends cols columns to the grid.

    See Also: append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    append_rows
    ( atom grid, integer rows )

    Category: wxGrid

    Appends rows rows to the grid.

    See Also: append_cols, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    append_text
    ( atom text, sequence val )

    Category: wxTextCtrl

    This appends text to the end of the wxTextCtrl buffer.

    See Also: copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [proc]
    arrange_mdi_icons
    ( atom parent )

    Category: wxMDIParentFrame

    Arranges any iconized (minimized) MDI child windows

    See Also: cascade_mdi, tile_mdi


    Table of Contents

    [func]
    arraystring_count
    ( atom array )

    Category: wxArrayString

    See Also: arraystring_item, get_arraystring


    Table of Contents

    [func]
    arraystring_item
    ( atom array, integer item )

    Category: wxArrayString

    See Also: arraystring_count, get_arraystring


    Table of Contents

    [proc]
    autosize_columns
    ( atom grid )

    Category: wxGrid

    Resizes each column to the minimum size required to display all the data in each column.

    See Also: append_cols, append_rows, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    batch_count
    ( atom grid )

    Returns: number of unmatched calls to begin_batch()

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    begin_batch
    ( atom grid )

    Category: wxGrid

    Stops updates of the grid until end_batch() is called. This is useful for when you need to modify a large number of cells.

    See Also: append_cols, append_rows, autosize_columns, batch_count, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    begin_drawing
    ( atom dc )

    Category: Graphics

    This must be called before you begin drawing to any window (i.e., not to a wxMemoryDC), and must be followed with a call to end_drawing() when finished.

    See Also: blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    blit
    ( atom dstDC, integer dstX, integer dstY, atom srcDC, integer srcX, integer srcY, integer height, integer width, integer operation )

    Category: Graphics

    Copy a bitmap from one DC to another.

    See Also: begin_drawing, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    call_back_member
    ( integer rid, integer params )

    Category: wxEuphoria Developers

    Creates a callback with the appropriate calling convention and parameters by platform. This is no longer needed. You may use Euphoria's built-in call_back() function to create a cdecl callback:

        my_callback = call_back( '+' & my_routine_id )
    

    See Also: call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_cdecl
    ( atom func, object params )

    Category: wxEuphoria Developers

    See Also: call_back_member, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_cdecl_s
    ( atom func, object params )

    Category: wxEuphoria Developers

    See Also: call_back_member, call_cdecl, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_cdecl_str
    ( atom func, object params )

    Category: wxEuphoria Developers

    Calls a function using the appropriate calling convention by platform, and returns a wxString. If a function returns a wxString by value, you need to use this instead of call_member(), or else your application will crash. You are responsible for calling delete_instance() or delete_string() on the returned pointer.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_member
    ( atom fptr, atom this, object params )

    Category: wxEuphoria Developers

    Calls a member function using the appropriate calling convention by platform, and returns an unsigned value.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_member_s
    ( atom fptr, atom this, object params )

    Category: wxEuphoria Developers

    Calls a member function using the appropriate calling convention by platform, and returns a signed value.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    call_member_str
    ( atom fptr, atom this, object params )

    Category: wxEuphoria Developers

    Calls a member function using the appropriate calling convention by platform, and returns a wxString. If a function returns a wxString by value, you need to use this instead of call_member(), or else your application will crash. You are responsible for calling delete_instance() or delete_string() on the returned pointer.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [proc]
    capture_mouse
    ( atom window )

    Category: wxWindow

    See Also: get_client_size, get_id, refresh_window, release_mouse, set_back_color, set_title


    Table of Contents

    [proc]
    cascade_mdi
    ( atom parent )

    Category: wxMDIParentFrame

    Arranges the MDI child windows in a cascade.

    See Also: arrange_mdi_icons, tile_mdi


    Table of Contents

    [proc]
    check_menuitem
    ( atom menuitem, integer check )

    Category: Menus

    If check is 0, then the menuitem is unchecked. If check is 1, then the menuitem is checked.

    See Also: enable_menuitem, get_menuevent_id, get_menuitem_id, insert_menuitem, is_menuitem_checked, remove_menuitem, set_menu_label


    Table of Contents

    [func]
    choice_count
    ( atom choice )

    Category: wxChoice

    Used to count the number of items in a wxChoice.

    See Also: clear_choice, find_choice_string, set_choice


    Table of Contents

    [proc]
    cleanup
    ()

    Category: Miscellaneous Routines

    This cleans up internal wxWidgets memory. wxMain() automatically calls this before it exits. If you do not use wxMain(), then you should manually call cleanup() before your app exits.

    See Also: get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell


    Table of Contents

    [proc]
    clear_choice
    ( atom choice )

    Category: wxChoice

    See Also: choice_count, find_choice_string, set_choice


    Table of Contents

    [proc]
    clear_combo
    ( atom combo )

    Category: wxComboBox

    See Also: combobox_count, delete_combo_item, find_combo_string, get_combo_item_string, get_combo_string, set_combo_value


    Table of Contents

    [proc]
    clear_dc
    ( atom dc )

    Category: Graphics

    Clears the image currently in the dc.

    See Also: begin_drawing, blit, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    clear_grid
    ( atom grid )

    Category: wxGrid

    Deletes all data in the grid.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    clear_items
    ( atom control )

    Category: Controls

    Clears all items from a wxListBox, wxListCtrl, wxChoice or wxComboBox.

    See Also: add_item, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    clear_list
    ( atom list )

    Category: wxListBox

    See Also: delete_list_item, find_list_string, list_count, list_ensure_visible, set_first_list_item, set_list_selection


    Table of Contents

    [proc]
    close_clip
    ()

    Category: Clipboard

    See Also: get_clip_text, open_clip, set_clip_text


    Table of Contents

    [func]
    color_selector
    ( atom parent, atom initial )

    Category: Dialogs

    This is a wrapper for wxColourDialog. It returns a wxColour object, or zero, if the user clicked the cancel button.

    See Also: file_selector, font_selector


    Table of Contents

    [func]
    combobox_count
    ( atom combo )

    Category: wxComboBox

    Used to count the number of items in a wxChoice.

    See Also: clear_combo, delete_combo_item, find_combo_string, get_combo_item_string, get_combo_string, set_combo_value


    Table of Contents

    [func]
    convert_to_image
    ( atom bitmap )

    Category: wxBitmap

    Takes a wxBitmap and returns a wxImage.

    See Also: get_bitmap_size, set_bitmap_size, set_mask


    Table of Contents

    [func]
    copy_file
    ( sequence file1, sequence file2 )

    Category: Files

    See Also: remove_file


    Table of Contents

    [proc]
    copy_text
    ( atom text )

    Category: wxTextCtrl

    Copies the selected text to the clipboard.

    See Also: append_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    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]
    create_func
    ( integer class, integer id )

    Category: wxEuphoria Developers

    This registers a function as the create function for a class, so that a user can call create() without having to know the specific function required to create an object of the class. Your create function should take one sequence as a parameter. The sequence will contain any required parameters. You should only use a create function if there is some manipulation required before creation, such as creating a wxString, wxSize or wxPoint, otherwise, create() can handle the creation of the object.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [proc]
    cut_text
    ( atom text )

    Category: wxTextCtrl

    Copies the selected text to the clipboard and removes the selection.

    See Also: append_text, copy_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [func]
    define_class
    (sequence name, atom hlib, atom constructor,integer bytes, atom destructor )

    Category: wxEuphoria Developers

    Used to wrap a C++ class.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [proc]
    delete_cols
    ( atom grid, integer pos, integer n, integer relabel )

    Category: wxGrid

    Deletes n columns from the grid at position pos. If relabel is TRUE, the function OnChangeLabels is called to give the application the opportunity to relabel.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    delete_combo_item
    ( atom combo, integer item )

    Category: wxComboBox

    See Also: clear_combo, combobox_count, find_combo_string, get_combo_item_string, get_combo_string, set_combo_value


    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

    [proc]
    delete_item
    ( atom control, integer item )

    Category: Controls

    Delete an item from a wxListBox, wxListCtrl, wxComboBox or wxChoice.

    See Also: add_item, clear_items, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    delete_list_item
    ( atom list, object item )

    Category: wxListBox

    See Also: clear_list, find_list_string, list_count, list_ensure_visible, set_first_list_item, set_list_selection


    Table of Contents

    [proc]
    delete_rows
    ( atom grid, integer pos, integer n, integer relabel )

    Category: wxGrid

    Deletes n rows from the grid at position pos. If relabel is TRUE, the function OnChangeLabels is called to give the application the opportunity to relabel.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    delete_string
    ( atom string )

    Category: wxString

    This is a faster way to delete a string. It is the routine that is called by delete_instance(), but with a lot less overhead. If you need to delete many strings, it is better to use delete_string() rather than delete_instance(), however, you are unlikely to see much difference for one or two deletions.

    See Also: deref_string


    Table of Contents

    [proc]
    delete_tree_children
    ( atom tree, atom treeitem )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [proc]
    delete_tree_item
    ( atom tree, object item )

    Category: wxTreeCtrl

    Deletes one or all items from a wxTreeCtrl.
    If item is an empty sequence, then all items are deleted, otherwise, item can be either an integer or a sequence of item ids to be deleted.

    See Also: add_tree_item, add_tree_root, delete_tree_children, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    deref_instance
    ( object this )

    Category: wxEuphoria Developers

    Dereferences an object so that it cannot be destroyed by wxEuphoria. Use this if wxWidgets takes ownership of an object, and will delete it automatically.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [proc]
    deref_string
    ( atom string )

    Category: wxString

    Decrements the reference count on a wxString. This will free the data held by the wxString, but will not free the wxString pointer itself. This is called automatically by delete_string().

    See Also: delete_string


    Table of Contents

    [func]
    derived_class
    ( sequence name, integer parent, atom hlib, sequence overrides, integer bytes )

    Category: wxEuphoria Developers

    Used to derive a class from another. This is rarely (if ever) needed in wxEuphoria.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, get_constructor, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [proc]
    destroy
    ( atom this )

    Category: Controls

    You should use this instead of delete_instance() to destroy any object that handles events (generally, any control or window).

    See Also: add_item, clear_items, delete_item, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    disable_events
    ()

    Category: Events

    Suspends event handling calls to your event handlers until enable_events() is called.

    See Also: enable_events, set_event_handler, skip


    Table of Contents

    [proc]
    draw_bitmap
    ( atom dc, atom bitmap, integer x, integer y, integer trans )

    Category: Graphics

    Draw a wxBitmap onto dc dest. Set trans to 1 if it has an associated mask, and should be drawn with transparency.

    See Also: begin_drawing, blit, clear_dc, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    draw_icon
    ( atom dc, atom icon, atom x, atom y)

    Category: Graphics

    Draws a wxIcon to the DC dc.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    draw_line
    ( atom dc, sequence points )

    Category: Graphics

    Draws a line using the current wxPen. points should be a 4-element sequence:

      draw_line( dc, {x1, y1, x2, y2})
    

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    draw_polygon
    ( atom dc, sequence points, atom x, atom y, atom style )

    Category: Graphics

    Draws a polygon in the specified dc. points is a sequence containing all of the points to be drawn. It should be of the form {x1,y1,x2,y2,...,xn,yn}. x and y are offset coordinates. The last argument specifies the fill rule:

    The current pen is used for drawing the outline, and the current brush for filling the shape. Using a transparent brush suppresses filling.

    Note that wxWidgets automatically closes the first and last points.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    enable
    ( object control, integer bool )

    Category: Controls

    See Also: add_item, clear_items, delete_item, destroy, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    enable_events
    ()

    Category: Events

    Resumes calls to event handlers after disable_events() has been called.

    See Also: disable_events, set_event_handler, skip


    Table of Contents

    [proc]
    enable_menuitem
    ( atom menuitem, integer enable )

    Category: Menus

    1 enables a menuitem, 0 disables.

    See Also: check_menuitem, get_menuevent_id, get_menuitem_id, insert_menuitem, is_menuitem_checked, remove_menuitem, set_menu_label


    Table of Contents

    [proc]
    end_batch
    ( atom grid )

    Category: wxGrid

    Resumes updating of the grid after a call to begin_batch(). This is useful for when you need to modify a large number of cells.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    end_drawing
    ( atom dc )

    Category: Graphics

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    end_modal
    ( atom dialog, atom ret )

    Category: wxDialog

    Closes a modal dialog. ret is the value returned by show_modal().

    See Also: show_modal


    Table of Contents

    [proc]
    exit_main
    ()

    Category: wxApp

    This is the procedure that should be used to exit the program. If you create an on close event for your main frame, this must be called from the event handler, or your application will not close. wxEuphoria automatically does this for you if you do not define an on close event.


    Table of Contents

    [proc]
    expand_tree_item
    ( atom tree, atom item )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    file_selector
    ( atom parent, sequence message, sequence info, atom flag )

    Category: Dialogs

    Pops up a file selector box. In Windows, this is the common file selector dialog. In X, this is a file selector box with the same functionality. This function is used for both open and save dialogs.

    You may supply none or any number of these, but file_selector() will assume they are in this order, so in order to specify a wildcard selection, you must specify the others, even if they are empty sequences.

    The path and filename are distinct elements of a full file pathname. If path is empty, the current directory will be used. If filename is empty, no default filename will be supplied. The wildcard determines what files are displayed in the file selector, and file extension supplies a type extension for the required filename.

    Flags may be a combination of wxOPEN, wxSAVE, wxOVERWRITE_PROMPT, wxHIDE_READONLY, wxFILE_MUST_EXIST, wxMULTIPLE or 0.

    Both the Unix and Windows versions implement a wildcard filter. Typing a filename containing wildcards (*, ?) in the filename text item, and clicking on Ok, will result in only those files matching the pattern being displayed.

    The wildcard may be a specification for multiple types of file with a description for each, such as:

        "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
    

    See Also: color_selector, font_selector


    Table of Contents

    [func]
    find_choice_string
    ( atom choice, sequence string )

    Category: wxChoice

    Returns the item number of the item in the list with the specified string.

    See Also: choice_count, clear_choice, set_choice


    Table of Contents

    [func]
    find_combo_string
    ( atom combo, sequence string )

    Category: wxComboBox

    See Also: clear_combo, combobox_count, delete_combo_item, get_combo_item_string, get_combo_string, set_combo_value


    Table of Contents

    [func]
    find_list_string
    ( atom list, sequence string )

    Category: wxListBox

    Returns the item number of the item in the list with the specified string.

    See Also: clear_list, delete_list_item, list_count, list_ensure_visible, set_first_list_item, set_list_selection


    Table of Contents

    [func]
    find_string
    ( atom control, sequence string )

    Category: Controls

    Returns the item number of the item in the list with the specified string.

    See Also: add_item, clear_items, delete_item, destroy, enable, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    fit_window
    ( atom sizer, atom window )

    Category: Sizers

    Tell the sizer to resize the window to match the sizer's minimal size. Returns the new size.

    See Also: add_sizer_to_sizer, add_window_to_sizer, set_sizer, space_sizer


    Table of Contents

    [func]
    font_selector
    ( atom parent, atom initial )

    Category: Dialogs

    This is a wrapper for wxFontDialog. parent is the parent for the dialog (it may be null), and initial is the wxFont object that will be initially selected when the dialog is opened. If a font is selected (the user clicks OK), the new wxFont object is returned, otherwise the return value is zero.

    See Also: color_selector, file_selector


    Table of Contents

    [proc]
    force_refresh_grid
    ( atom grid )

    Category: wxGrid

    Causes immediate repainting of the grid. Use this instead of the usual refresh_window.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    free_resource
    (integer resource_stack)

    Category: Resource Management

    This will remove an entire set from the Resource Management stack. If any handles are in in it, when you call this procedure, it will automatically free them, before removing it from usage. Once a resource has been used in this routine, it becomes invalid. If resource_stack is '0', all resource stacks are removed, freeing up any memory handles in them.

    See Also: add_resource, new_resource, release_resources, wxBaseResource


    Table of Contents

    [func]
    ftp_chdir
    ( atom ftp, sequence path )

    Category: wxFTP

    See Also: ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [proc]
    ftp_close
    ( atom ftp )

    Category: wxFTP

    See Also: ftp_chdir, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_input_stream
    ( atom ftp, sequence path )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_mkdir
    ( atom ftp, sequence path )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [proc]
    ftp_mode
    ( atom ftp, integer mode )

    Category: wxFTP

    Sets the transfer mode. mode can be either ASCII or BINARY.

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_output_stream
    ( atom ftp, sequence path )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [proc]
    ftp_pwd
    ( atom ftp, sequence pwd )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [proc]
    ftp_pwd
    ( atom ftp )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_rename
    ( atom ftp, sequence source, sequence dest )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rm, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_rm
    ( atom ftp, sequence path )

    Category: wxFTP

    Delete the file specified by path. Returns TRUE if successful.

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rmdir, ftp_user


    Table of Contents

    [func]
    ftp_rmdir
    ( atom ftp, sequence path )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_user


    Table of Contents

    [proc]
    ftp_user
    ( atom ftp, sequence user )

    Category: wxFTP

    See Also: ftp_chdir, ftp_close, ftp_input_stream, ftp_mkdir, ftp_mode, ftp_output_stream, ftp_pwd, ftp_pwd, ftp_rename, ftp_rm, ftp_rmdir


    Table of Contents

    [func]
    get_all_files
    ( object dirname, sequence filespec, integer flags, atom traverser )

    Category: wxDir

    Walks the specified directory, returning all the files and/or directories as specified by flags.

    See Also: has_files, has_subdirs, is_opened, open_dir


    Table of Contents

    [func]
    get_arraystring
    ( atom array )

    Category: wxArrayString

    Returns all the strings in the array.

    See Also: arraystring_count, arraystring_item


    Table of Contents

    [func]
    get_bitmap_size
    ( atom bitmap )

    Category: wxBitmap

    Returns sequence containing the width and height of the bitmap, respectively.

    See Also: convert_to_image, set_bitmap_size, set_mask


    Table of Contents

    [func]
    get_cal_days_in_month
    ( atom cal )

    Category: wxCalendarCtrl

    Returns the number of days in the currently selected month.

    See Also: get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [func]
    get_cell_editor
    ( atom grid, sequence cell )

    Category: wxGrid

    Returns the wxGridCellEditor for the cell

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_cell_editor_control
    ( atom grid, object editor )

    Category: wxGrid

    Returns the Control belonging to the wxGridCellEditor

    If editor is a sequence, then it specifies the { row, column } of the wxGridCellEditor to be fetched. Otherwise, it is a wxGridCellEditor (see get_cell_editor).

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_cell_value
    ( atom grid, integer row, integer col )

    Returns: string containing the value

    Category: wxGrid

    If the cell contains numeric data, you will need to use value(), since all values returned by get_cell_value() are strings (this is how wxGrid stores everything).

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_checked
    ( atom this )

    Category: wxCheckBox

    Returns 1 if checked, 0 otherwise. This function works for wxCheckBox and wxToggleButton.

    See Also: set_checked


    Table of Contents

    [func]
    get_chosen_font
    ( atom fdata )

    Category: wxFontData

    See Also: set_initial_font


    Table of Contents

    [func]
    get_client_size
    ( atom this )

    Category: wxWindow

    See Also: capture_mouse, get_id, refresh_window, release_mouse, set_back_color, set_title


    Table of Contents

    [func]
    get_clip_text
    ()

    Category: Clipboard

    See Also: close_clip, open_clip, set_clip_text


    Table of Contents

    [func]
    get_color
    ( atom colordata )

    Category: wxColourData


    Table of Contents

    [func]
    get_color_data
    ( atom dialog )

    Category: wxColourDialog


    Table of Contents

    [func]
    get_col_label
    ( atom grid, integer col )

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_col_label_size
    ( atom grid )

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_combo_item_string
    ( atom combo, integer item )

    Category: wxComboBox

    Returns the string for item.

    See Also: clear_combo, combobox_count, delete_combo_item, find_combo_string, get_combo_string, set_combo_value


    Table of Contents

    [func]
    get_combo_string
    ( atom combo )

    Category: wxComboBox

    Returns the string in the edit box of the combo box.

    See Also: clear_combo, combobox_count, delete_combo_item, find_combo_string, get_combo_item_string, set_combo_value


    Table of Contents

    [func]
    get_constructor
    ( integer class )

    Category: wxEuphoria Developers

    Returns the constructor for the class.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_destructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    get_date
    ( atom cal )

    Category: wxCalendarCtrl

    Returns the selected date. See read_datetime() for format information.

    See Also: get_cal_days_in_month, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [func]
    get_date_time
    ( atom cal )

    Category: wxCalendarCtrl

    Returns a wxDateTime object for the selected date on the calendar.

    See Also: get_cal_days_in_month, get_date, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [func]
    get_days_in_month
    ( atom dt )

    Category: wxDateTime

    Returns the number of days in the specified month and year.

    See Also: read_datetime, set_datetime


    Table of Contents

    [func]
    get_dc_size
    ( atom dc )

    Category: Graphics

    Returns the width and height of the dc in pixels.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_dc_text_extent
    ( atom dc, sequence text )

    Category: Graphics

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_destructor
    ( integer class )

    Category: wxEuphoria Developers

    If the return value is negative, then its absolute value is the routine id of a user supplied destructor routine.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, new_control, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    get_dir_path
    ( atom dirdlg )

    Category: wxDirDialog


    Table of Contents

    [func]
    get_encodings
    ( sequence fontname )

    Category: wxFontEnumerator

    Returns a sequence of available encodings for the specified font face. Pass an empty sequence for fontname to get all available encodings.

    See Also: get_facenames


    Table of Contents

    [func]
    get_facenames
    ( sequence params )

    Category: wxFontEnumerator

    Returns a sequence of font face names available. If params is empty, then all available fonts are returned. Otherwise, params should be a one or two element sequence:

    See Also: get_encodings


    Table of Contents

    [func]
    get_first_region
    ( atom iter )

    Category: Graphics

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_font_data
    ( atom dialog )

    Category: wxFontDialog


    Table of Contents

    [func]
    get_font_encoding
    ( atom font )

    Category: wxFont

    Returns the encoding of the specified font.

    See Also: get_font_family, get_font_members, get_font_name, get_font_pointsize, get_font_style, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_family
    ( atom font )

    Category: wxFont

    Returns the font family for the specified font.

    See Also: get_font_encoding, get_font_members, get_font_name, get_font_pointsize, get_font_style, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_members
    ( atom font )

    Category: wxFont

    Returns the font data in a sequence that can be used to create a new font:

     { pointSize, family, style, weight, underlined, faceName, encoding }
    

    See Also: get_font_encoding, get_font_family, get_font_name, get_font_pointsize, get_font_style, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_name
    ( atom font )

    Category: wxFont

    Returns the face name of the specified font.

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_pointsize, get_font_style, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_pointsize
    ( atom font )

    Category: wxFont

    Returns the point size for the specified font.

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_name, get_font_style, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_style
    ( atom font )

    Category: wxFont

    Returns the style of the specified font.

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_name, get_font_pointsize, get_font_underlined, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_underlined
    ( atom font )

    Category: wxFont

    Returns 1 if the specified font is underlined, 0 otherwise.

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_name, get_font_pointsize, get_font_style, get_font_weight, set_point_size


    Table of Contents

    [func]
    get_font_weight
    ( atom font )

    Category: wxFont

    Returns the weight of the specified font.

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_name, get_font_pointsize, get_font_style, get_font_underlined, set_point_size


    Table of Contents

    [func]
    get_handle
    ( atom this )

    Category: Controls

    Returns the platform specific handle for objects derived from class wxWindow.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_html_anchor
    ( atom html_win )

    Category: wxHtmlWindow

    Returns anchor within currently opened page (see get_html_page()). If no page is opened or if the displayed page wasn't produced by call to LoadPage, empty string is returned.

    See Also: get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [func]
    get_html_page
    ( atom html_win )

    Category: wxHtmlWindow

    Returns full location of the opened page. If no page is opened or if the displayed page wasn't produced by call to LoadPage, empty string is returned.

    See Also: get_html_anchor, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    get_html_page_title
    ( atom html_win )

    Category: wxHtmlWindow

    Clears the history cache.

    See Also: get_html_anchor, get_html_page, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    get_html_page_title
    ( atom html_win )

    Category: wxHtmlWindow

    Returns the title of the currently opened page.

    See Also: get_html_anchor, get_html_page, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [func]
    get_http_input
    ( atom http )

    Category: wxHTTP

    Returns an input stream that can be used with stream_read() to fetch the file from the url.


    Table of Contents

    [func]
    get_id
    ( atom this )

    Category: wxWindow

    Returns the id for objects that are derived from class wxWindow. This includes frames, windows and most controls, but does not include menu items. You should use get_menuitem_id() for that.

    See Also: capture_mouse, get_client_size, refresh_window, release_mouse, set_back_color, set_title


    Table of Contents

    [func]
    get_key_code
    ( atom event )

    Category: Key Events

    Returns the virtual key code. ASCII events return normal ASCII values, while non-ASCII events return values such as WXK_LEFT for the left cursor key.

    See Also: key_event_altdown, key_event_controldown, key_event_shiftdown


    Table of Contents

    [func]
    get_key_state
    ( integer keycode )

    Category: Miscellaneous Routines

    Returns 1 if specified key (see Key Codes for a list of codes to use) is currently pressed down.

    See Also: cleanup, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell


    Table of Contents

    [func]
    get_label
    ( atom control )

    Category: Controls

    Returns the default label associated with the control. This would be the caption for a wxFrame or the label on a wxButton or the text of a wxStaticText.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_list_string
    ( atom list, integer item )

    Category: Controls

    This function works for both wxListCtrl and wxListBox.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_menuevent_id
    ( atom event )

    Category: Menus

    Returns the id of the wxMenuItem that generated the event. This should only be called from within a wxEVT_COMMAND_MENU_SELECTED event procedure.

    See Also: check_menuitem, enable_menuitem, get_menuitem_id, insert_menuitem, is_menuitem_checked, remove_menuitem, set_menu_label


    Table of Contents

    [func]
    get_menuitem_id
    ( atom item )

    Using menus

    Category: Menus

    Returns the id for a wxMenuItem. Since wxMenuItem is not derived from wxWindow, you should never use get_id() with a wxMenuItem.

    See Also: check_menuitem, enable_menuitem, get_menuevent_id, insert_menuitem, is_menuitem_checked, remove_menuitem, set_menu_label


    Table of Contents

    [func]
    get_next_region
    ( atom iter )

    Category: Graphics

    Returns a sequence with the x, y and width and height of the next region, or an empty sequence if the last region has already been accessed.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_pagesetup_data
    ( atom ps )

    Category: wxPageSetupDialog


    Table of Contents

    [func]
    get_page_mm
    ( atom printout )

    Category: wxPrintout

    Returns the size of the printer page in millimeters.

    See Also: get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview, set_page_info


    Table of Contents

    [func]
    get_page_pixels
    ( atom printout )

    Category: wxPrintout

    Returns the size of the printer page in pixels. These may not be the same as the values returned from wxDC::GetSize if the printout is being used for previewing, since in this case, a memory device context is used, using a bitmap size reflecting the current preview zoom. The application must take this discrepancy into account if previewing is to be supported.

    See Also: get_page_mm, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview, set_page_info


    Table of Contents

    [func]
    get_ppi_printer
    ( atom printout )

    Category: wxPrintout

    Returns the number of pixels per logical inch of the printer device context. Dividing the printer PPI by the screen PPI can give a suitable scaling factor for drawing text onto the printer. Remember to multiply this by a scaling factor to take the preview DC size into account.

    See Also: get_page_mm, get_page_pixels, get_ppi_screen, get_printout_dc, is_preview, set_page_info


    Table of Contents

    [func]
    get_ppi_screen
    ( atom printout )

    Category: wxPrintout

    Returns the number of pixels per logical inch of the screen device context. Dividing the printer PPI by the screen PPI can give a suitable scaling factor for drawing text onto the printer. Remember to multiply this by a scaling factor to take the preview DC size into account.

    See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_printout_dc, is_preview, set_page_info


    Table of Contents

    [func]
    get_preview_frame
    ( atom preview )

    Category: wxPrintPreview

    See Also: get_zoom, set_preview_frame


    Table of Contents

    [func]
    get_printout_dc
    ( atom printout )

    Category: wxPrintout

    See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, is_preview, set_page_info


    Table of Contents

    [func]
    get_print_data
    ( atom prdlg )

    Category: wxPrintDialog


    Table of Contents

    [func]
    get_radio_selection
    ( atom this )

    Category: wxRadioBox

    Return the 0-based index of the selected radio item in the wxRadioBox.

    See Also: set_radiobox_selection


    Table of Contents

    [func]
    get_rect
    ( atom win )

    Category: Controls

    Returns the size and position of the control.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_regions
    ( atom window )

    Category: Graphics

    Returns a wxRegionIterator, which can be used in conjunction with get_next_region() to get all of the regions to be updated in an on paint event. This should only be called from within an on paint event.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_row_label_size
    ( atom grid )

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    get_scroll_position
    ( atom scroll )

    Category: wxScrollBar

    See Also: set_scrollbar, set_scroll_position


    Table of Contents

    [func]
    get_selection
    ( atom control )

    Category: Controls

    Used to get the index of the selected item of a wxListBox, wxListCtrl, wxComboBox or wxChoice. For the case of a wxListBox, the return is always a sequence, or an empty sequence, if nothing is selected. The other types of controls return -1 is no item is selected.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_sizer_minsize
    ( atom sizer )

    Category: wxSizers

    Returns the minimal size of the sizer. This is either the combined minimal size of all the children and their borders or the minimal size set by SetMinSize, epending on which is bigger

    See Also: get_sizer_position, get_sizer_size, sizer_calc_min


    Table of Contents

    [func]
    get_sizer_position
    ( atom sizer )

    Category: wxSizers

    Returns the current position of the sizer.

    See Also: get_sizer_minsize, get_sizer_size, sizer_calc_min


    Table of Contents

    [func]
    get_sizer_size
    ( atom sizer )

    Category: wxSizers

    Returns the current size of the sizer.

    See Also: get_sizer_minsize, get_sizer_position, sizer_calc_min


    Table of Contents

    [func]
    get_slide_value
    ( atom slider )

    Category: wxSlider

    See Also: set_slide_value


    Table of Contents

    [func]
    get_socket_event
    ( atom event )

    Category: Networking

    See Also: is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write, stream_write


    Table of Contents

    [func]
    get_spin_value
    ( atom spin )

    Category: wxSpinCtrl

    Returns the current Value of a wxSpinCtrl

    See Also: set_spin_value


    Table of Contents

    [func]
    get_splitter_sash_position
    ( atom split )

    Category: wxSplitterWindow

    Returns the position of the sash in the specified wxSplitterWindow in pixels.

    See Also: set_min_pane_size, set_splitter_sash_position, split_window


    Table of Contents

    [func]
    get_string_selection
    ( atom list )

    Returns: Text of selected item

    Category: Controls

    Used to get the text of the selected item of a wxListBox, wxComboBox or wxChoice.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_string_selection
    ( atom list )

    Returns: Text of selected item

    Category: Controls

    Used to get the text of the selected item of a wxListBox, wxComboBox or wxChoice.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    get_string_selection
    ( atom list )

    Returns: Text of selected item

    Category: wxControlWithItems


    Table of Contents

    [func]
    get_sys_color
    ( atom color )

    Returns: pointer to wxColour

    Category: Miscellaneous Routines

    Available system colors are:

    See Also: cleanup, get_key_state, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell


    Table of Contents

    [func]
    get_sys_metric
    ( integer metric )

    Returns: atom

    Category: Miscellaneous Routines

    Available metrics are:

    See Also: cleanup, get_key_state, get_sys_color, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell


    Table of Contents

    [func]
    get_text_attr_back_color
    ( atom attr )

    Category: wxTextAttr

    Returns the Background color of a wxTextAttr

    See Also: get_text_attr_color, get_text_attr_font, set_text_attr_back_color, set_text_attr_color, set_text_attr_font


    Table of Contents

    [func]
    get_text_attr_color
    ( atom attr )

    Category: wxTextAttr

    Returns the Color Attribute of a wxTextAttr

    See Also: get_text_attr_back_color, get_text_attr_font, set_text_attr_back_color, set_text_attr_color, set_text_attr_font


    Table of Contents

    [func]
    get_text_attr_font
    ( atom attr )

    Category: wxTextAttr

    Returns the Font stored in a wxTextAttr

    See Also: get_text_attr_back_color, get_text_attr_color, set_text_attr_back_color, set_text_attr_color, set_text_attr_font


    Table of Contents

    [func]
    get_text_extent
    ( atom win, sequence text, atom font )

    Category: Graphics

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_text_length
    ( atom text )

    Category: wxTextCtrl

    Returns the length of the text buffer currently in the Control.

    See Also: append_text, copy_text, cut_text, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [func]
    get_text_number
    ( atom textctrl )

    Category: wxTextCtrl

    Returns the value of the text control after passing it through Euphoria's value() function.

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [func]
    get_text_value
    ( atom text )

    Category: wxTextCtrl

    This retrives the text stored in a wxTextCtrl buffer. It will return the actual string, if you want the actual value, such as a numeric value, use get_text_number() instead.

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [func]
    get_tree_event_item
    ( atom event )

    Category: wxTreeEvent


    Table of Contents

    [func]
    get_tree_parent
    ( atom tree, atom item )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    get_tree_root
    ( atom tree )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    get_tree_selected_text
    ( atom tree )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    get_tree_selection
    ( atom tree )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    get_tree_text
    ( atom tree, atom id )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, select_tree_item, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [func]
    get_url_input
    ( atom url )

    Category: wxURL

    Returns an input stream that can be used with stream_read() to fetch the file from the url.


    Table of Contents

    [func]
    get_user_scale
    ( atom dc, atom x, atom y )

    Category: Graphics

    Returns the scaling factors for the DC.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    get_zoom
    ( atom preview )

    Category: wxPrintPreview

    See Also: get_preview_frame, set_preview_frame


    Table of Contents

    [func]
    grid_event_cell
    ( atom event )

    Returns: {row, col}

    Category: wxGrid

    Call this inside of wxGrid event handlers to get the row and column where the event is taking place.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    grid_pos
    ( atom grid )

    Returns: { cursor_row, cursor_col }

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    grid_size
    ( atom grid )

    Returns: Sequence {rows,cols} indicating the current size of the grid.

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    has_files
    ( atom dir, sequence spec )

    Category: wxDir

    See Also: get_all_files, has_subdirs, is_opened, open_dir


    Table of Contents

    [func]
    has_subdirs
    ( atom dir, sequence spec )

    Category: wxDir

    See Also: get_all_files, has_files, is_opened, open_dir


    Table of Contents

    [proc]
    html_append
    ( atom htmlwin, sequence source)

    Category: wxHtmlWindow

    This appends the HTML Source to the Control

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    html_back
    ( atom htmlwin )

    Category: wxHtmlWindow

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    html_forward
    ( atom htmlwin )

    Category: wxHtmlWindow

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    init_image_handlers
    ()

    Category: Graphics

    Initializes all image handlers for later use.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [func]
    insert_listctrl_item
    ( atom list, atom index, sequence text, integer image )

    Category: wxListCtrl

    See Also: insert_list_column, list_imagelist, set_column_label, set_list_item_back_color, set_list_item_image


    Table of Contents

    [func]
    insert_list_column
    ( atom list, atom col, sequence text, integer format, integer width )

    Category: wxListCtrl

    See Also: insert_listctrl_item, list_imagelist, set_column_label, set_list_item_back_color, set_list_item_image


    Table of Contents

    [func]
    insert_menuitem
    ( atom menu, integer position, atom id, sequence text, sequence help, integer checkable )

    Category: Menus

    Insert a wxMenuItem at position in the specified menu.

    See Also: check_menuitem, enable_menuitem, get_menuevent_id, get_menuitem_id, is_menuitem_checked, remove_menuitem, set_menu_label


    Table of Contents

    [func]
    is_connected
    ( atom socket )

    Category: Networking

    See Also: get_socket_event, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write, stream_write


    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]
    is_menuitem_checked
    ( atom menuitem )

    Category: Menus

    Returns 1 if the menuitem is checked, 0 otherwise.

    See Also: check_menuitem, enable_menuitem, get_menuevent_id, get_menuitem_id, insert_menuitem, remove_menuitem, set_menu_label


    Table of Contents

    [func]
    is_opened
    ( atom dir )

    Category: wxDir

    See Also: get_all_files, has_files, has_subdirs, open_dir


    Table of Contents

    [func]
    is_preview
    ( atom printout )

    Category: wxPrintout

    Returns 1 if the printout is currently being used for previewing.

    See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, set_page_info


    Table of Contents

    [func]
    is_visible
    ( atom window )

    Category: Controls

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, set_cursor, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [func]
    key_event_altdown
    ( atom event )

    Category: Key Events

    See Also: get_key_code, key_event_controldown, key_event_shiftdown


    Table of Contents

    [func]
    key_event_controldown
    ( atom event )

    Category: Key Events

    See Also: get_key_code, key_event_altdown, key_event_shiftdown


    Table of Contents

    [func]
    key_event_shiftdown
    ( atom event )

    Category: Key Events

    See Also: get_key_code, key_event_altdown, key_event_controldown


    Table of Contents

    [func]
    list_count
    ( atom list )

    Category: wxListBox

    Used to count the number of items in a wxListBox.

    See Also: clear_list, delete_list_item, find_list_string, list_ensure_visible, set_first_list_item, set_list_selection


    Table of Contents

    [proc]
    list_ensure_visible
    ( atom list, integer item )

    Category: wxListBox

    See Also: clear_list, delete_list_item, find_list_string, list_count, set_first_list_item, set_list_selection


    Table of Contents

    [proc]
    list_imagelist
    ( atom list, atom il, integer which )

    Category: wxListCtrl

    See Also: insert_listctrl_item, insert_list_column, set_column_label, set_list_item_back_color, set_list_item_image


    Table of Contents

    [proc]
    load_html_file
    ( atom htmlwin, sequence file)

    Category: wxHtmlWindow

    Loads the specified file.

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_page, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    load_html_page
    ( atom htmlwin, sequence page )

    Category: wxHtmlWindow

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, set_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    log_message
    ( sequence f, object a )

    Category: Developer's Notes

    Calls wxLogMessage. The first call to log_message in an application will create a file named wlog.txt. You may change this by changing the global sequence log_file.

    The arguments to log_message are the same as you would use with sprintf(). It is not necessary to add a newline to the message, as wxLogMessage does this automatically.

     ex:
         log_message( "The value is %d", 5 )
    

    Table of Contents

    [func]
    lookup_class
    ( atom this )

    Category: Utilities

    Returns the class name for the object, as long as it was either created by new_instance() or registered by register_instance().

    See Also: lookup_class_name, wx_alloc, wx_alloc_string, wx_free, wx_or_all, wx_peek_string


    Table of Contents

    [func]
    lookup_class_name
    ( sequence name )

    Category: Utilities

    Returns the value of the associated class.

    See Also: lookup_class, wx_alloc, wx_alloc_string, wx_free, wx_or_all, wx_peek_string


    Table of Contents

    [proc]
    make_cell_visible
    ( atom grid, atom row, atom col )

    Category: wxGrid

    Scrolls the grid if necessary to make the cell visible.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    maximize_child
    ( atom child, integer bool )

    Category: wxMDIChildFrame

    Maximizes a child if bool = 1, or restores child is bool = 0.

    See Also: activate_child, restore_child


    Table of Contents

    [func]
    message_box
    ( sequence text, sequence title, atom ok )

    Category: Miscellaneous Routines

    Creates a message box dialog, with style ok. Allowable styles are:

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, wxEu_Lib, wxMain, wx_execute, wx_shell


    Table of Contents

    []
    Miscellaneous Notes

    Category: Miscellaneous Notes


    Table of Contents

    [func]
    mouse_event_position
    ( atom event )

    Category: Mouse Events

    Returns the coordinates of the mouse.

    See Also: mouse_event_shiftdown


    Table of Contents

    [func]
    mouse_event_shiftdown
    ( atom event )

    Category: Mouse Events

    See Also: mouse_event_position


    Table of Contents

    [func]
    new_control
    ( integer class, atom this, sequence params, sequence default )

    Category: wxEuphoria Developers

    This is a generic create function that can be used by other create routines that use default arguments. It assumes that the arguments passed are:

    Additionally, there can be an arbitrary number of other params. new_control() will create the wxPoint and wxPosition objects for (x,y) and (cx,cy), and will create the wxString for caption. Most controls use this format in their constructors, and this function should make it easier to write the Euphoria wrapper for the constructors.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_instance, register_instance, set_destructor


    Table of Contents

    [func]
    new_id
    ()

    Category: IDs

    Generates an integer identifier unique to this run of the program. This can be used to generate ids for menuitems or other controls.


    Table of Contents

    [func]
    new_instance
    ( integer class_ix, atom this, sequence params )

    Category: wxEuphoria Developers

    Allocates space, calls the constructor and registers a new instance of a class.

    This function should only be called by create_func 's. You should use create() to create new instances of objects.

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, register_instance, set_destructor


    Table of Contents

    [proc]
    new_resource
    ()

    Category: Resource Management

    This creates a new Resource Stack, that allows you to store memory handles into. This is useful if you don't want to release all resources at one time.

    See Also: add_resource, free_resource, release_resources, wxBaseResource


    Table of Contents

    [proc]
    notebook_imagelist
    ( atom book, atom ilist )

    Category: wxNotebook

    See Also: add_page, set_page_text, show_page


    Table of Contents

    [func]
    open_clip
    ()

    Category: Clipboard

    See Also: close_clip, get_clip_text, set_clip_text


    Table of Contents

    [func]
    open_dir
    ( atom dir, sequence dname )

    Category: wxDir

    See Also: get_all_files, has_files, has_subdirs, is_opened


    Table of Contents

    [proc]
    paste_text
    ( atom text )

    Category: wxTextCtrl

    Pastes the text from the clipboard to the text item.

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [proc]
    progress_resume
    ( atom dialog )

    Category: wxProgressDialog

    Can be used to continue with the dialog, after the user had chosen ABORT.

    See Also: progress_update


    Table of Contents

    [func]
    progress_update
    ( atom dialog, integer val, sequence message )

    Category: wxProgressDialog

    Updates the dialog, setting the progress bar to the new value and, if given changes the message above it. Returns true unless the Cancel button has been pressed.

    If FALSE is returned, the application can either immediately destroy the dialog or ask the user for the confirmation and if the abort is not confirmed the dialog may be resumed with Resume function.

    See Also: progress_resume


    Table of Contents

    [proc]
    raise_window
    ( atom window )

    Category: wxFrame

    Bring a window to the front of the screen.

    See Also: set_icon, show_fullscreen, show_window


    Table of Contents

    [func]
    read_datetime
    ( atom dt )

    Category: wxDateTime

    Returns a sequence describing the date and time. See wxDateTime for details on the format of the data returned.

    See Also: get_days_in_month, set_datetime


    Table of Contents

    [proc]
    refresh_window
    ( object params )

    Category: wxWindow

    Forces a wxWindow to repaint itself. params can take one of several forms:

    See Also: capture_mouse, get_client_size, get_id, release_mouse, set_back_color, set_title


    Table of Contents

    [proc]
    register_instance
    ( atom this, integer class )

    Category: wxEuphoria Developers

    Registers an instance of a class, so that delete_instance() can be used to destroy it. This does not need to be done for objects created with new_instance().

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, set_destructor


    Table of Contents

    [proc]
    release_mouse
    ( atom window )

    Category: wxWindow

    See Also: capture_mouse, get_client_size, get_id, refresh_window, set_back_color, set_title


    Table of Contents

    [proc]
    release_resources
    (integer resource_stack)

    Category: Resource Management

    This releases the accumilated list of pointers of a stack, in one single statement. Once all memory handles are released, the resource_stack list is cleared, and all handles that was released become invalid. If resource_stack is an invalid stack, nothing is done, and control is returned immediately to the caller.

    example:

     sequence holders
     for x = 1 to 4 do
        -- Create the Actual wxTreeCtrl Items
        holders &={ add_tree_item(MyTree,MainParent,sprintf("Item %d",x),-1,-1), {} }
        for y = 1 to 3 do
           -- Add some Sub-Items
           holders[x][2] &= add_tree_item(MyTree,holders[x][1],sprintf("Sub-Item %d",x),-1,-1)
        end for
        -- Add the pointers to be free'd when we're done.
        add_resources(wxBaseResource,holders[x][1] & holders[x][2])
        -- Get the actual Unique ID's for said holders
        holders[x][1] = peek4u(holders[x][1])
        for y = 1 to 3 do
           holders[x][2][y] = peek4u(holders[x][2][y])
        end for
     end for
     -- Release all the accumulated memory handlers, since we now have actual unique id's for all the wxTreeCtrl items
     release_resources(wxBaseResource)
    

    See Also: add_resource, free_resource, new_resource, wxBaseResource


    Table of Contents

    [func]
    remove_file
    ( sequence file )

    Category: Files

    Removes (deletes) the specified file, returns true if successful.

    See Also: copy_file


    Table of Contents

    [proc]
    remove_menuitem
    ( atom menu, atom item )

    Category: Menus

    Removes a wxMenuItem from a wxMenu and deletes the wxMenuItem.

    See Also: check_menuitem, enable_menuitem, get_menuevent_id, get_menuitem_id, insert_menuitem, is_menuitem_checked, set_menu_label


    Table of Contents

    [proc]
    restore_child
    ( atom child )

    Category: wxMDIChildFrame

    Restores (unmaximizes a child frame)

    See Also: activate_child, maximize_child


    Table of Contents

    [proc]
    select_all_text
    ( atom text )

    Category: wxTextCtrl

    Set's the highlight area for the wxTextCtrl to the entire buffer. Similarly, you can do: set_text_selection(myEdit,0,-1) or set_text_selection(myEdit,0,get_text_length(myEdit))

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, set_default_text_style, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [proc]
    select_grid_cell
    ( atom grid, atom row, atom col )

    Category: wxGrid

    Moves the cursor and selection to the cell specified.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    select_object
    ( atom dc, atom obj )

    Category: wxMemoryDC

    Selects a bitmap into the wxMemoryDC. If obj is wxNullBitmap, then the bitmap currently selected into the DC is deselected.


    Table of Contents

    [proc]
    select_tree_item
    ( atom tree, atom treeitem )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, set_tree_item_text, tree_imagelist, valid_tree_item


    Table of Contents

    [proc]
    set_background_mode
    ( atom dc, atom mode )

    Category: Graphics

    mode may be either wxSOLID (text is drawn with a background color) or wxTRANSPARENT (text is drawn without a background color).

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_back_brush
    ( atom dc, atom brush )

    Category: Graphics

    Sets background brush to be the current wxBrush for dc wxDC.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_back_color
    ( atom window, atom color )

    Category: wxWindow

    See Also: capture_mouse, get_client_size, get_id, refresh_window, release_mouse, set_title


    Table of Contents

    [proc]
    set_bitmap_size
    ( atom bm, integer cx, integer cy )

    Category: wxBitmap

    See Also: convert_to_image, get_bitmap_size, set_mask


    Table of Contents

    [proc]
    set_bmpbutton
    ( atom button, atom bitmap )

    Category: wxBitmapButton

    Sets the displayed bitmap of the bitmap button.


    Table of Contents

    [proc]
    set_brush
    ( atom dc, atom brush )

    Category: Graphics

    Sets brush to be the current wxBrush for dc wxDC.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_button_label
    ( atom button, sequence label )

    Category: wxButton

    Changes the label on a button.


    Table of Contents

    [proc]
    set_cell
    ( atom grid, atom row, atom col )

    Category: wxGrid

    Moves the cursor to the current cell being edited. Does not alter the selection (see select_grid_cell)

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_cell_alignment
    ( atom grid, atom row, atom col, atom horz, atom vert )

    Category: wxGrid

    Set the vertical of horizontal alignment of a cell:

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_cell_editor
    ( atom grid, atom row, atom col, integer ed_type, object data )

    Category: wxGrid

    Allows entries other than the standard text based editor to be used.

    The only editors currently supported are:

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_cell_readonly
    ( atom grid, atom row, atom col, integer readonly )

    Category: wxGrid

    Makes the cell read only if readonly is 1, or allows editing if readonly is 0.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_cell_value
    ( atom grid, object val, integer row, integer col )

    Category: wxGrid

    Sets the contents of a cell. If val is an atom, then the contents of the cell will be sprint(val).

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_checked
    ( atom this, integer check )

    Category: wxCheckBox

    This procedure works for wxCheckBox and wxToggleButton.

    See Also: get_checked


    Table of Contents

    [proc]
    set_choice
    ( atom choice, sequence text )

    Category: wxChoice

    See Also: choice_count, clear_choice, find_choice_string


    Table of Contents

    [proc]
    set_clip_text
    ( sequence text )

    Category: Clipboard

    See Also: close_clip, get_clip_text, open_clip


    Table of Contents

    [proc]
    set_column_label
    ( atom list, integer column, sequence text )

    Category: wxListCtrl

    Changes the label of the specified column (0-based).

    See Also: insert_listctrl_item, insert_list_column, list_imagelist, set_list_item_back_color, set_list_item_image


    Table of Contents

    [proc]
    set_col_alignment
    ( atom grid, atom col, atom horz, atom vert )

    Category: wxGrid

    Set the vertical of horizontal alignment of a column:

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_col_editor
    ( atom grid, atom col, integer ed_type, object data )

    Category: wxGrid

    Allows entries other than the standard text based editor to be used.

    The only editors currently supported are:

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_col_label
    ( atom grid, integer col, sequence text )

    Category: wxGrid

    Changes the label of a column.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_col_label_align
    ( atom grid, atom horiz, atom vert )

    Category: wxGrid

    Use wxLEFT, wxRIGHT and wxTOP, wxBOTTOM (or zero for center)

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_col_label_size
    ( atom grid, integer height )

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_col_readonly
    ( atom grid, atom col, integer readonly )

    Category: wxGrid

    Sets the specified col in the specified grid to be read only if readonly is 1. Editing will be allowed if readonly is 0.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [func]
    set_col_size
    ( atom grid, atom col, atom size )

    Category: wxGrid

    Change the size of a grid column. This function does not refresh the grid. If you are calling it outside of a BeginBatch EndBatch block you can use force_refresh_grid to see the changes

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_combo_value
    ( atom combo, sequence text )

    Category: wxComboBox

    See Also: clear_combo, combobox_count, delete_combo_item, find_combo_string, get_combo_item_string, get_combo_string


    Table of Contents

    [proc]
    set_cursor
    ( atom window, atom cursor )

    Category: Controls

    Changes the mouse cursor for the specified window to be the specified cursor. See wxCursor for the available cursor shapes.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_focus, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    set_date
    ( atom cal, sequence Date )

    Category: wxCalendarCtrl

    See wxDateTime for the proper format of Date.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [proc]
    set_datetime
    ( atom dt, sequence date_time )

    Category: wxDateTime

    See wxDateTime for the format of date_time.

    See Also: get_days_in_month, read_datetime


    Table of Contents

    [proc]
    set_date_back_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_border, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [proc]
    set_date_border
    ( atom cal, integer day, integer border )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    border:

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border_color, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [proc]
    set_date_border_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_font, set_date_holiday, set_date_text_color


    Table of Contents

    [proc]
    set_date_font
    ( atom cal, integer day, atom font )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_holiday, set_date_text_color


    Table of Contents

    [proc]
    set_date_holiday
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.

    holiday should be 1 if the day is a holiday, or 0 if not a holiday.

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_text_color


    Table of Contents

    [proc]
    set_date_text_color
    ( atom cal, integer day, atom color )

    Category: wxCalendarCtrl

    day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

    See Also: get_cal_days_in_month, get_date, get_date_time, set_date, set_date_back_color, set_date_border, set_date_border_color, set_date_font, set_date_holiday


    Table of Contents

    [proc]
    set_default_font
    ( atom win, atom font )

    Category: Graphics

    Sets the default font for a window.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_default_grid_editor
    ( atom grid, atom editor )

    Category: wxGrid

    Sets the default cell editor control for the grid.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_default_item
    ( atom panel, atom button )

    Category: wxPanel


    Table of Contents

    [proc]
    set_default_text_style
    ( atom text, atom attr )

    Category: wxTextCtrl

    Changes the default style to use for the new text which is going to be added to the control using write_text().

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_text, set_text_selection, set_text_style, write_text


    Table of Contents

    [proc]
    set_destructor
    ( integer class, integer dtor )

    Category: wxEuphoria Developers

    Sets the destructor for the class to dtor, where dtor is the routine id of a user supplied procedure that will be called instead of a wxWidgets supplied destructor. The procedure should take one atom (this pointer) as its arguments, and should free the memory allocated by the object (because wxEuphoria won't).

      ex:
        global procedure delete_string( atom string )
            deref_string( string )
            free(string)
        end procedure
        set_destructor( wxString, routine_id("delete_string"))
    

    See Also: call_back_member, call_cdecl, call_cdecl_s, call_cdecl_str, call_member, call_member_s, call_member_str, create_func, define_class, deref_instance, derived_class, get_constructor, get_destructor, new_control, new_instance, register_instance


    Table of Contents

    [proc]
    set_editor_choices
    ( atom grid, object cell, sequence choices )

    Category: wxGrid

    If cell is an integer, then it refers to an entire column, and the choices will be set for the column editor. If cell is a sequence, it refers to the cell by {row, column}, and that cell's editor will be set.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_event_handler
    ( object this, object id, object event, integer rid )

    Category: Events

    Set up an event handler.

    ex:
    procedure onclose( atom win, atom event )
        exit_main()
    end procedure
    set_event_handler( myWindow, wxID_EXIT, wxEVT_MENU_SELECTED, routine_id("onclose"))
    
    See class documentation for valid event constants.

    See Also: disable_events, enable_events, skip


    Table of Contents

    [proc]
    set_first_list_item
    ( atom list, object item )

    Category: wxListBox

    See Also: clear_list, delete_list_item, find_list_string, list_count, list_ensure_visible, set_list_selection


    Table of Contents

    [proc]
    set_flags
    ( atom socket, atom flags )

    Category: Networking

    See Also: get_socket_event, is_connected, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write, stream_write


    Table of Contents

    [proc]
    set_focus
    ( atom window )

    Category: Controls

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_selection, set_size, set_string, set_tip


    Table of Contents

    [proc]
    set_font
    ( atom dc, atom font )

    Category: Graphics

    Sets the font for a specified wxDC or wxPaintDC assiciated with a window. To set the default font for a window or control, you should use set_default_font().

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_grid_editable
    ( atom grid, integer editable )

    Category: wxGrid

    Makes the entire grid uneditable by the user is editable is 0, or allows editing if editable is 1.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_grid_line_color
    ( atom grid, atom colour )

    Category: wxGrid

    Change the color of the lines in the grid.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_size, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_grid_size
    ( atom grid, atom rows, atom cols )

    Category: wxGrid

    Adds or deletes columns or rows as required.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_row_label, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_html_page
    ( atom htmlwin, sequence source )

    Category: wxHtmlWindow

    This sets the source of the displayed page to source.

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_link_event, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    set_icon
    ( atom frame, atom icon )

    Category: wxFrame

    See Also: raise_window, show_fullscreen, show_window


    Table of Contents

    [proc]
    set_initial_font
    ( atom fdata, atom font )

    Category: wxFontData

    See Also: get_chosen_font


    Table of Contents

    [func]
    set_ip_host
    ( atom ip, sequence name )

    Category: wxIPV4address

    Set the address to hostname, which can be a host name or an IP-style address in dot notation (a.b.c.d)

    See Also: any_address, set_ip_service


    Table of Contents

    [func]
    set_ip_service
    ( atom ip, object service )

    Category: wxIPV4address

    Sets the port according to the specified service. If service is a sequence, then the port is set to the corresponding service, otherwise, the port is set to service.

    See Also: any_address, set_ip_host


    Table of Contents

    [proc]
    set_label
    ( atom label, sequence text )

    Category: wxStaticText


    Table of Contents

    [proc]
    set_link_event
    ( atom html_win, integer rid )

    Category: wxHtmlWindow

    Set a callback for when the user clicks on a link in a wxHtmlWindow. The callback must be a procedure that takes 3 parameters:

    If you trap this event, you must call load_html_page() in order for the link to execute.

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_open_url_event, set_related_frame


    Table of Contents

    [proc]
    set_list_item_back_color
    ( atom list, atom item, atom color )

    Category: wxListCtrl

    Sets the background color of a wxListCtrl item.

    See Also: insert_listctrl_item, insert_list_column, list_imagelist, set_column_label, set_list_item_image


    Table of Contents

    [proc]
    set_list_item_image
    ( atom list, integer item, integer image )

    Category: wxListCtrl

    Changes the image displayed for the item. You must have previously assigned a wxImageList to the list using list_imagelist().

    See Also: insert_listctrl_item, insert_list_column, list_imagelist, set_column_label, set_list_item_back_color


    Table of Contents

    [proc]
    set_list_selection
    ( atom list, object select )

    Category: wxListBox

    If select is a sequence, the list selection is set to the item with that string, otherwise, select denotes the item index.

    See Also: clear_list, delete_list_item, find_list_string, list_count, list_ensure_visible, set_first_list_item


    Table of Contents

    [proc]
    set_mask
    ( atom bmp, atom mask )

    Category: wxBitmap

    Sets the specified mask to be the associated wxMask for the specified bmp.

    See Also: convert_to_image, get_bitmap_size, set_bitmap_size


    Table of Contents

    [proc]
    set_menu_label
    ( atom menu, atom id, sequence label )

    Category: Menus

    Use to change the text of a menu item. id should be the id of the menuitem.

    See Also: check_menuitem, enable_menuitem, get_menuevent_id, get_menuitem_id, insert_menuitem, is_menuitem_checked, remove_menuitem


    Table of Contents

    [proc]
    set_min_pane_size
    ( atom split, integer size )

    Category: wxSplitterWindow

    The default minimum pane size is zero, which means that either pane can be reduced to zero by dragging the sash, thus removing one of the panes. To prevent this behaviour (and veto out-of-range sash dragging), set a minimum size, for example 20 pixels. If the wxSP_PERMIT_UNSPLIT style is used when a splitter window is created, the window may be unsplit even if minimum size is non-zero

    See Also: get_splitter_sash_position, set_splitter_sash_position, split_window


    Table of Contents

    [proc]
    set_next_wizard_page
    ( atom page, atom next )

    Category: wxWizardPage

    See Also: set_prev_wizard_page


    Table of Contents

    [proc]
    set_open_url_event
    ( atom html_win, integer rid )

    Category: wxHtmlWindow

    Set a call_back to be called when an URL is being opened (either when the user clicks on a link or an image is loaded). The URL will be opened only if the call back returns wxHTML_OPEN. This method is called by wxHtmlParser::OpenURL. You can use the call back to selectively block some URLs (e.g. for security reasons) or to redirect them elsewhere. Default behaviour is to always return wxHTML_OPEN.

    Parameters

    Call back return value:

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_related_frame


    Table of Contents

    [proc]
    set_page_info
    ( atom printout, atom min, atom max )

    Category: wxPrintout

    This routine sets the max and min pages for a printout object. If you need to have the DC of the printer in order to determine the number of pages,

    See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview


    Table of Contents

    [proc]
    set_page_text
    ( atom book, integer page, sequence text )

    Category: wxNotebook

    See Also: add_page, notebook_imagelist, show_page


    Table of Contents

    [proc]
    set_pen
    ( atom dc, atom pen )

    Category: Graphics

    Sets pen to be the current wxPen for dc wxDC.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_text_back_color, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_point_size
    ( atom font, integer points )

    Category: wxFont

    See Also: get_font_encoding, get_font_family, get_font_members, get_font_name, get_font_pointsize, get_font_style, get_font_underlined, get_font_weight


    Table of Contents

    [proc]
    set_preview_frame
    ( atom preview, atom frame )

    Category: wxPrintPreview

    See Also: get_preview_frame, get_zoom


    Table of Contents

    [proc]
    set_prev_wizard_page
    ( atom page, atom prev )

    Category: wxWizardPage

    See Also: set_next_wizard_page


    Table of Contents

    [proc]
    set_radiobox_selection
    ( atom box, integer selection )

    A list of controls available in wxWidgets

    Category: wxRadioBox

    See Also: get_radio_selection


    Table of Contents

    [proc]
    set_related_frame
    ( atom html_win, atom frame, sequence format )

    Category: wxHtmlWindow

    Sets the frame in which page title will be displayed. format is format of frame title, e.g. "HtmlHelp : %s". It must contain exactly one %s. This %s is substituted with HTML page title. status_slot is the slot in the status bar where messages will be displayed (-1 means no messages).

    See Also: get_html_anchor, get_html_page, get_html_page_title, get_html_page_title, html_append, html_back, html_forward, load_html_file, load_html_page, set_html_page, set_link_event, set_open_url_event


    Table of Contents

    [proc]
    set_row_label
    ( atom grid, integer row, sequence text )

    Category: wxGrid

    Changes the label of a row.

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label_align, set_row_label_size


    Table of Contents

    [proc]
    set_row_label_align
    ( atom grid, atom horiz, atom vert )

    Category: wxGrid

    Use wxLEFT, wxRIGHT and wxTOP, wxBOTTOM (or zero for center)

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_size


    Table of Contents

    [proc]
    set_row_label_size
    ( atom grid, integer height )

    Category: wxGrid

    See Also: append_cols, append_rows, autosize_columns, batch_count, begin_batch, clear_grid, delete_cols, delete_rows, end_batch, force_refresh_grid, get_cell_editor, get_cell_editor_control, get_cell_value, get_col_label, get_col_label_size, get_row_label_size, grid_event_cell, grid_pos, grid_size, make_cell_visible, select_grid_cell, set_cell, set_cell_alignment, set_cell_editor, set_cell_readonly, set_cell_value, set_col_alignment, set_col_editor, set_col_label, set_col_label_align, set_col_label_size, set_col_readonly, set_col_size, set_default_grid_editor, set_editor_choices, set_grid_editable, set_grid_line_color, set_grid_size, set_row_label, set_row_label_align


    Table of Contents

    [proc]
    set_scrollbar
    ( atom scroll, atom position, atom thumbSize, atom range, atom pageSize, atom refresh )

    Category: wxScrollBar

    See Also: get_scroll_position, set_scroll_position


    Table of Contents

    [proc]
    set_scroll_position
    ( atom scroll, atom pos )

    Category: wxScrollBar

    See Also: get_scroll_position, set_scrollbar


    Table of Contents

    [proc]
    set_selection
    ( atom control, object item )

    Category: Controls

    To unselect a wxListBox item, the item parameter should be a sequence: {item_number, -1}. To unselect a wxListCtrl item, item should be {item_number, 0}.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_size, set_string, set_tip


    Table of Contents

    [proc]
    set_size
    ( atom win, integer cx, integer cy )

    Category: Controls

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_string, set_tip


    Table of Contents

    [proc]
    set_sizer
    ( atom window, atom sizer )

    Category: Sizers

    This must be called before a sizer will resize its children. window is the parent window of the controls to be resized. The sizer will resize and reposition its children based on window.

    See Also: add_sizer_to_sizer, add_window_to_sizer, fit_window, space_sizer


    Table of Contents

    [proc]
    set_slide_value
    ( atom slider, atom val )

    Category: wxSlider

    See Also: get_slide_value


    Table of Contents

    [proc]
    set_socket_notify
    ( atom socket, object notify )

    Category: Networking

    Works for both wxSocketServer and wxSocketClient. Specifies which socket events are to be sent to the event handler. The flags parameter may be combination of flags ORed together. The following flags can be used:

    See Also: get_socket_event, is_connected, set_flags, socket_event_handler, socket_from_event, socket_read, socket_write, stream_write


    Table of Contents

    [proc]
    set_spin_value
    ( atom spin, atom val )

    Category: wxSpinCtrl

    Set's the current Value of a wxSpinCtrl to val.

    See Also: get_spin_value


    Table of Contents

    [proc]
    set_splitter_sash_position
    ( atom split, integer pos, integer redraw )

    Category: wxSplitterWindow

    Sets the sash position of the wxSplitterWindow at pos pixels. The windows will not be redrawn unless redraw is 1.

    See Also: get_splitter_sash_position, set_min_pane_size, split_window


    Table of Contents

    [proc]
    set_status_fields
    ( atom bar, sequence widths )

    Category: wxStatusBar

    widths: An array of n integers, each of which is a status field width in pixels. A value of -1 indicates that the field is variable width; at least one field must be -1.

    See Also: set_status_text


    Table of Contents

    [proc]
    set_status_text
    ( atom bar, sequence text, integer field )

    Category: wxStatusBar

    Set the status text of field field (zero based). This routine does nothing if field refers to a non-existant status field.

    See Also: set_status_fields


    Table of Contents

    [proc]
    set_string
    ( atom control, integer item, sequence string )

    Category: Controls

    Set the string of an item in a wxListBox, wxComboBox or wxChoice.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_tip


    Table of Contents

    [proc]
    set_text
    ( atom text, sequence val )

    Category: wxTextCtrl

    Replaces the text in the control with val.

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text_selection, set_text_style, write_text


    Table of Contents

    [proc]
    set_text_attr_back_color
    ( atom attr, atom color )

    Category: wxTextAttr

    Stores the Background color in a wxTextAttr

    See Also: get_text_attr_back_color, get_text_attr_color, get_text_attr_font, set_text_attr_color, set_text_attr_font


    Table of Contents

    [proc]
    set_text_attr_color
    ( atom attr, atom color )

    Category: wxTextAttr

    Stores the Text color in a wxTextAttr

    See Also: get_text_attr_back_color, get_text_attr_color, get_text_attr_font, set_text_attr_back_color, set_text_attr_font


    Table of Contents

    [proc]
    set_text_attr_font
    ( atom attr, atom font )

    Category: wxTextAttr

    Stores the Font in a wxTextAttr

    See Also: get_text_attr_back_color, get_text_attr_color, get_text_attr_font, set_text_attr_back_color, set_text_attr_color


    Table of Contents

    [proc]
    set_text_back_color
    ( atom dc, object color )

    Category: Graphics

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_text_color
    ( atom dc, object color )

    Category: Graphics

    Set the current text foreground color. color can be either an RGB sequence, or a pointer to a wxColour object.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_user_scale, wx_printf, wx_puts


    Table of Contents

    [proc]
    set_text_selection
    ( atom text, atom first, atom last )

    Category: wxTextCtrl

    Set the highlight area in a wxTextCtrl

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_style, write_text


    Table of Contents

    [proc]
    set_text_style
    ( atom text, atom first, atom last, atom attr )

    Category: wxTextCtrl

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, write_text


    Table of Contents

    [proc]
    set_tip
    ( atom this, sequence tip )

    Category: Controls

    Sets the tooltip for an object derived from class wxWindow.

    See Also: add_item, clear_items, delete_item, destroy, enable, find_string, get_handle, get_label, get_list_string, get_rect, get_selection, get_string_selection, get_string_selection, is_visible, set_cursor, set_focus, set_selection, set_size, set_string


    Table of Contents

    [proc]
    set_title
    ( atom window, sequence title )

    Category: wxWindow

    See Also: capture_mouse, get_client_size, get_id, refresh_window, release_mouse, set_back_color


    Table of Contents

    [proc]
    set_tool_bitmap_size
    ( atom bar, integer x, integer y )

    Category: wxToolBar

    Sets the size of the images to be loaded into the toolbar. The default is 32 x 32. This does not seem to have an effect under Linux (my investigation of wxWidgets source doesn't ever show these properties being used by wxGTK).

    See Also: add_separator, add_tool, set_tool_margins, show_toolbar, toggle_tool


    Table of Contents

    [proc]
    set_tool_margins
    ( atom toolbar, integer x, integer y )

    Category: wxToolBar

    See Also: add_separator, add_tool, set_tool_bitmap_size, show_toolbar, toggle_tool


    Table of Contents

    [proc]
    set_tree_item_text
    ( atom tree, atom item, sequence text )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, tree_imagelist, valid_tree_item


    Table of Contents

    [proc]
    set_user_scale
    ( atom dc, atom x, atom y )

    Category: Graphics

    Sets the scaling factors for the DC.

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, wx_printf, wx_puts


    Table of Contents

    [proc]
    show_fullscreen
    ( atom frame, integer show, integer flags )

    Category: wxFrame

    The wxWidgets documentation warns that this function hasn't been tested on wxMDIParentFrame s, but it seems to work fine under Windows.

    See Also: raise_window, set_icon, show_window


    Table of Contents

    [func]
    show_modal
    ( atom dialog )

    Category: wxDialog

    See Also: end_modal


    Table of Contents

    [proc]
    show_page
    ( atom book, integer page )

    Category: wxNotebook

    See Also: add_page, notebook_imagelist, set_page_text


    Table of Contents

    [proc]
    show_toolbar
    ( atom bar )

    Category: wxToolBar

    Must be called after tools are added.

    See Also: add_separator, add_tool, set_tool_bitmap_size, set_tool_margins, toggle_tool


    Table of Contents

    [proc]
    show_window
    ( atom window, integer show )

    Category: wxFrame

    See Also: raise_window, set_icon, show_fullscreen


    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


    Table of Contents

    [func]
    sizer_calc_min
    ( atom sizer )

    Category: wxSizers

    Here, the sizer will do the actual calculation of its children minimal sizes. The size is returned as a sequence.

    See Also: get_sizer_minsize, get_sizer_position, get_sizer_size


    Table of Contents

    [proc]
    skip
    ( atom event )

    Category: Events

    Called by an event handler to tell the event system that the event handler should be skipped, and the next valid handler used instead.

    See Also: disable_events, enable_events, set_event_handler


    Table of Contents

    [func]
    socket_accept
    ( atom socket, integer wait )

    Category: wxSocketServer

    Accepts an incoming connection request, and creates a new wxSocketBase object which represents the server-side of the connection.

    If wait is TRUE and there are no pending connections to be accepted, it will wait for the next incoming connection to arrive. Warning: This will block the GUI.

    If wait is FALSE, it will try to accept a pending connection if there is one, but it will always return immediately without blocking the GUI. If you want to use Accept in this way, you can either check for incoming connections with WaitForAccept or catch wxSOCKET_CONNECTION events, then call Accept once you know that there is an incoming connection waiting to be accepted.


    Table of Contents

    [func]
    socket_connect
    ( atom client, atom address, integer wait )

    Category: wxSocketClient

    Connects to a server using the specified address.

    If wait is TRUE, Connect will wait until the connection completes. Warning: This will block the GUI.

    If wait is FALSE, Connect will try to establish the connection and return immediately, without blocking the GUI. When used this way, even if Connect returns FALSE, the connection request can be completed later. To detect this, use WaitOnConnect, or catch wxSOCKET_CONNECTION events (for successful establishment) and wxSOCKET_LOST events (for connection failure).


    Table of Contents

    [proc]
    socket_event_handler
    ( atom socket, atom evt_handler, atom id )

    Category: Networking

    When calling set_event_handler() for a wxEVT_SOCKET event, for the 'this' parameter, you must pass a sequence consisting of the object to handle the events and the socket:

       socket_event_handler( socket, form, socket_id )
       set_event_handler( {form, socket}, -1, wxEVT_SOCKET, routine_id("socket_event"))
    

    See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_from_event, socket_read, socket_write, stream_write


    Table of Contents

    [func]
    socket_from_event
    ( atom event )

    Category: Networking

    Returns the pointer to the socket that sent the wxSocketEvent.

    See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_read, socket_write, stream_write


    Table of Contents

    [proc]
    socket_read
    ( atom socket )

    Category: Networking

    Works for wxSocketServer, wxSocketClient, wxHTTP and wxFTP.

    See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_write, stream_write


    Table of Contents

    [proc]
    socket_write
    ( atom socket, sequence bytes )

    Category: Networking

    Works for both wxSocketServer and wxSocketClient.

    See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, stream_write


    Table of Contents

    [proc]
    space_sizer
    ( atom sizer, atom width, atom height, atom option, atom flag, atom border)

    Category: Sizers

    Adds a blank region to the sizer in order to space controls within a sizer.

    See Also: add_sizer_to_sizer, add_window_to_sizer, fit_window, set_sizer


    Table of Contents

    [proc]
    split_window
    ( atom split, atom win1, atom win2, integer orient, integer pos )

    Category: wxSplitterWindow

    Splits the window, using win1 and win2, which must have split as their parent. orient

    See Also: get_splitter_sash_position, set_min_pane_size, set_splitter_sash_position


    Table of Contents

    [func]
    start_print
    ( atom printer, atom parent atom printout, atom prompt )

    Category: wxPrinter

    Starts the printing process. Provide a parent window, a user-defined wxPrintout object which controls the printing of a document, and whether the print dialog should be invoked first.

    Print could return FALSE if there was a problem initializing the printer device context (current printer not set, for example) or the user cancelled printing. Call wxPrinter::GetLastError to get detailed information about the kind of the error.


    Table of Contents

    [proc]
    start_timer
    ( atom timer, atom msec, integer oneshot )

    Category: wxTimer

    Set the timer to fire every msec millisecond ( 1000msec = 1sec ). oneshot indicates whether the timer should stop firing after the first time, or fire repeatedly until stop_timer() is called.

    See Also: stop_timer


    Table of Contents

    [proc]
    stop_timer
    ( atom timer )

    Category: wxTimer

    Stops a timer from firing until reset using start_timer().

    See Also: start_timer


    Table of Contents

    [proc]
    stream_write
    ( atom socket, sequence bytes )

    Category: Networking

    See Also: get_socket_event, is_connected, set_flags, set_socket_notify, socket_event_handler, socket_from_event, socket_read, socket_write


    Table of Contents

    [proc]
    tile_mdi
    ( atom parent )

    Simplistic Routines to manage memory

    Category: wxMDIParentFrame

    Arranges the MDI child windows in a tile pattern.

    See Also: arrange_mdi_icons, cascade_mdi


    Table of Contents

    [proc]
    toggle_tool
    ( atom bar, atom id, integer toggle )

    Category: wxToolBar

    See Also: add_separator, add_tool, set_tool_bitmap_size, set_tool_margins, show_toolbar


    Table of Contents

    [proc]
    tree_imagelist
    ( atom tree, atom il )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, valid_tree_item


    Table of Contents

    [func]
    valid_tree_item
    ( atom item )

    Category: wxTreeCtrl

    See Also: add_tree_item, add_tree_root, delete_tree_children, delete_tree_item, expand_tree_item, get_tree_parent, get_tree_root, get_tree_selected_text, get_tree_selection, get_tree_text, select_tree_item, set_tree_item_text, tree_imagelist


    Table of Contents

    [func]
    wizard_event_direction
    ( atom event )

    Category: wxWizard

    Returns the direction of the page change. For a forward change, the return value is 1, and the value is 0 for a backward change.

    See Also: wizard_event_page


    Table of Contents

    [func]
    wizard_event_page
    ( atom event )

    Category: wxWizard

    Returns the pointer to the wxWizardPage that the event refers to.

    See Also: wizard_event_direction


    Table of Contents

    [proc]
    write_text
    ( atom ctrl, sequence text )

    Category: wxTextCtrl

    Writes the text at the current insertion point.

    See Also: append_text, copy_text, cut_text, get_text_length, get_text_number, get_text_value, paste_text, select_all_text, set_default_text_style, set_text, set_text_selection, set_text_style


    Table of Contents

    [const]
    wxBaseResource

    Category: Resource Management

    This is the base stack, that you can use by default, without having to allocate a new resource stack. It is provided as the default stack, and cannot be removed through free_resource()

    See Also: add_resource, free_resource, new_resource, release_resources


    Table of Contents

    [func]
    wxEu_Lib
    ()

    Category: Miscellaneous Routines

    This is a global function that you can declare before you include wxEuphoria.e. If it is present, the return value of the function will be used as the name of the wxEuphoria library when calling open_dll(). The default names are:

       Win32: wxeu.dll
       Linux: $EUDIR/bin/wxeu.so 
    

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxMain, wx_execute, wx_shell


    Table of Contents

    [proc]
    wxMain
    ( atom topWindow )

    Changes, Bugs and TODO List

    Category: Miscellaneous Routines

    This starts the event loop and your main application.

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wx_execute, wx_shell


    Table of Contents

    [func]
    wx_alloc
    ( integer bytes )

    Category: Utilities

    Allocates a bytes long chunk of memory and sets it to all zeroes.

    See Also: lookup_class, lookup_class_name, wx_alloc_string, wx_free, wx_or_all, wx_peek_string


    Table of Contents

    [func]
    wx_alloc_string
    ( sequence string )

    Category: Utilities

    Allocates a sequence as a C-style string. This function currently calls Euphoria's built-in allocate_string() To create a wxString, you should use the create() function.

    See Also: lookup_class, lookup_class_name, wx_alloc, wx_free, wx_or_all, wx_peek_string


    Table of Contents

    [proc]
    wx_execute
    ( sequence command, integer flag )

    Category: Miscellaneous Routines

    flag can be a combination of:

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_shell


    Table of Contents

    [func]
    wx_free
    ( atom ptr )

    Category: Utilities

    Frees an allocated chunk of memory.

    See Also: lookup_class, lookup_class_name, wx_alloc, wx_alloc_string, wx_or_all, wx_peek_string


    Table of Contents

    [func]
    wx_or_all
    ( sequence a )

    Category: Utilities

    Executes a bitwise or operation on a sequence of atoms. Use this to convert from a C/C++ style:

        THING1|THING2|THING3
    

    wx_or_all( THING1 & THING2 & THING3 )

    See Also: lookup_class, lookup_class_name, wx_alloc, wx_alloc_string, wx_free, wx_peek_string


    Table of Contents

    [func]
    wx_peek_string
    ( atom string )

    Category: Utilities

    Returns a sequence of the string stored in a wxString object. Do not pass the pointer to a string allocated by wx_alloc_string().

    See Also: lookup_class, lookup_class_name, wx_alloc, wx_alloc_string, wx_free, wx_or_all


    Table of Contents

    [proc]
    wx_printf
    ( object win, sequence text, object format )

    Category: Graphics

    Works similar to printf().

    win can take several forms:

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_puts


    Table of Contents

    [proc]
    wx_puts
    ( object win, sequence text )

    Category: Graphics

    Works similar to puts().

    See Also: begin_drawing, blit, clear_dc, draw_bitmap, draw_icon, draw_line, draw_polygon, end_drawing, get_dc_size, get_dc_text_extent, get_first_region, get_next_region, get_regions, get_text_extent, get_user_scale, init_image_handlers, set_background_mode, set_back_brush, set_brush, set_default_font, set_font, set_pen, set_text_back_color, set_text_color, set_user_scale, wx_printf


    Table of Contents

    [proc]
    wx_shell
    ( sequence command )

    Category: Miscellaneous Routines

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute


    Index

    accept_files [proc]
    activate_child [proc]
    add_image [func]
    add_item [proc]
    add_page [proc]
    add_resource [proc]
    add_separator [proc]
    add_sizer_to_sizer [proc]
    add_tool [func]
    add_tree_item [func]
    add_tree_root [func]
    add_window_to_sizer [proc]
    any_address [proc]
    append_cols [proc]
    append_rows [proc]
    append_text [proc]
    arrange_mdi_icons [proc]
    arraystring_count [func]
    arraystring_item [func]
    autosize_columns [proc]
    batch_count [func]
    begin_batch [proc]
    begin_drawing [proc]
    blit [proc]
    call_back_member [func]
    call_cdecl [func]
    call_cdecl_s [func]
    call_cdecl_str [func]
    call_member [func]
    call_member_s [func]
    call_member_str [func]
    capture_mouse [proc]
    cascade_mdi [proc]
    Change History
    check_menuitem [proc]
    choice_count [func]
    Classes
    cleanup [proc]
    clear_choice [proc]
    clear_combo [proc]
    clear_dc [proc]
    clear_grid [proc]
    clear_items [proc]
    clear_list [proc]
    Clipboard
    close_clip [proc]
    color_selector [func]
    combobox_count [func]
    Controls
    convert_to_image [func]
    copy_file [func]
    copy_text [proc]
    create [func]
    create_func [proc]
    Cross Platform Tips
    cut_text [proc]
    define_class [func]
    delete_cols [proc]
    delete_combo_item [proc]
    delete_instance [proc]
    delete_item [proc]
    delete_list_item [proc]
    delete_rows [proc]
    delete_string [proc]
    delete_tree_children [proc]
    delete_tree_item [proc]
    Demos
    deref_instance [func]
    deref_string [proc]
    derived_class [func]
    destroy [proc]
    Developer's Notes
    Dialogs
    disable_events [proc]
    Drag and Drop
    draw_bitmap [proc]
    draw_icon [proc]
    draw_line [proc]
    draw_polygon [proc]
    enable [proc]
    enable_events [proc]
    enable_menuitem [proc]
    end_batch [proc]
    end_drawing [proc]
    end_modal [proc]
    Events
    exit_main [proc]
    expand_tree_item [proc]
    Files
    file_selector [func]
    find_choice_string [func]
    find_combo_string [func]
    find_list_string [func]
    find_string [func]
    fit_window [func]
    font_selector [func]
    force_refresh_grid [proc]
    free_resource [proc]
    ftp_chdir [func]
    ftp_close [proc]
    ftp_input_stream [func]
    ftp_mkdir [func]
    ftp_mode [proc]
    ftp_output_stream [func]
    ftp_pwd [proc]
    ftp_pwd [proc]
    ftp_rename [func]
    ftp_rm [func]
    ftp_rmdir [func]
    ftp_user [proc]
    Getting Started
    get_all_files [func]
    get_arraystring [func]
    get_bitmap_size [func]
    get_cal_days_in_month [func]
    get_cell_editor [func]
    get_cell_editor_control [func]
    get_cell_value [func]
    get_checked [func]
    get_chosen_font [func]
    get_client_size [func]
    get_clip_text [func]
    get_color [func]
    get_color_data [func]
    get_col_label [func]
    get_col_label_size [func]
    get_combo_item_string [func]
    get_combo_string [func]
    get_constructor [func]
    get_date [func]
    get_date_time [func]
    get_days_in_month [func]
    get_dc_size [func]
    get_dc_text_extent [func]
    get_destructor [func]
    get_dir_path [func]
    get_encodings [func]
    get_facenames [func]
    get_first_region [func]
    get_font_data [func]
    get_font_encoding [func]
    get_font_family [func]
    get_font_members [func]
    get_font_name [func]
    get_font_pointsize [func]
    get_font_style [func]
    get_font_underlined [func]
    get_font_weight [func]
    get_handle [func]
    get_html_anchor [func]
    get_html_page [func]
    get_html_page_title [proc]
    get_html_page_title [proc]
    get_http_input [func]
    get_id [func]
    get_key_code [func]
    get_key_state [func]
    get_label [func]
    get_list_string [func]
    get_menuevent_id [func]
    get_menuitem_id [func] Using menus
    get_next_region [func]
    get_pagesetup_data [func]
    get_page_mm [func]
    get_page_pixels [func]
    get_ppi_printer [func]
    get_ppi_screen [func]
    get_preview_frame [func]
    get_printout_dc [func]
    get_print_data [func]
    get_radio_selection [func]
    get_rect [func]
    get_regions [func]
    get_row_label_size [func]
    get_scroll_position [func]
    get_selection [func]
    get_sizer_minsize [func]
    get_sizer_position [func]
    get_sizer_size [func]
    get_slide_value [func]
    get_socket_event [func]
    get_spin_value [func]
    get_splitter_sash_position [func]
    get_string_selection [func]
    get_string_selection [func]
    get_string_selection [func]
    get_sys_color [func]
    get_sys_metric [func]
    get_text_attr_back_color [func]
    get_text_attr_color [func]
    get_text_attr_font [func]
    get_text_extent [func]
    get_text_length [func]
    get_text_number [func]
    get_text_value [func]
    get_tree_event_item [func]
    get_tree_parent [func]
    get_tree_root [func]
    get_tree_selected_text [func]
    get_tree_selection [func]
    get_tree_text [func]
    get_url_input [func]
    get_user_scale [func]
    get_zoom [func]
    Graphics
    grid_event_cell [func]
    grid_pos [func]
    grid_size [func]
    has_files [func]
    has_subdirs [func]
    html_append [proc]
    html_back [proc]
    html_forward [proc]
    IDs
    init_image_handlers [proc]
    insert_listctrl_item [func]
    insert_list_column [func]
    insert_menuitem [func]
    is_connected [func]
    is_kind [func]
    is_menuitem_checked [func]
    is_opened [func]
    is_preview [func]
    is_visible [func]
    Key Codes
    Key Events
    key_event_altdown [func]
    key_event_controldown [func]
    key_event_shiftdown [func]
    Known Bugs
    list_count [func]
    list_ensure_visible [proc]
    list_imagelist [proc]
    load_html_file [proc]
    load_html_page [proc]
    log_message [proc]
    lookup_class [func]
    lookup_class_name [func]
    make_cell_visible [proc]
    maximize_child [proc]
    Menus
    message_box [func]
    Miscellaneous Notes []
    Miscellaneous Routines
    Mouse Events
    mouse_event_position [func]
    mouse_event_shiftdown [func]
    Networking
    new_control [func]
    new_id [func]
    new_instance [func]
    new_resource [proc]
    notebook_imagelist [proc]
    open_clip [func]
    open_dir [func]
    paste_text [proc]
    Printing
    progress_resume [proc]
    progress_update [func]
    raise_window [proc]
    read_datetime [func]
    refresh_window [proc]
    register_instance [proc]
    release_mouse [proc]
    release_resources [proc]
    remove_file [func]
    remove_menuitem [proc]
    Resource Management
    restore_child [proc]
    select_all_text [proc]
    select_grid_cell [proc]
    select_object [proc]
    select_tree_item [proc]
    set_background_mode [proc]
    set_back_brush [proc]
    set_back_color [proc]
    set_bitmap_size [proc]
    set_bmpbutton [proc]
    set_brush [proc]
    set_button_label [proc]
    set_cell [proc]
    set_cell_alignment [proc]
    set_cell_editor [proc]
    set_cell_readonly [proc]
    set_cell_value [proc]
    set_checked [proc]
    set_choice [proc]
    set_clip_text [proc]
    set_column_label [proc]
    set_col_alignment [proc]
    set_col_editor [proc]
    set_col_label [proc]
    set_col_label_align [proc]
    set_col_label_size [proc]
    set_col_readonly [proc]
    set_col_size [func]
    set_combo_value [proc]
    set_cursor [proc]
    set_date [proc]
    set_datetime [proc]
    set_date_back_color [proc]
    set_date_border [proc]
    set_date_border_color [proc]
    set_date_font [proc]
    set_date_holiday [proc]
    set_date_text_color [proc]
    set_default_font [proc]
    set_default_grid_editor [proc]
    set_default_item [proc]
    set_default_text_style [proc]
    set_destructor [proc]
    set_editor_choices [proc]
    set_event_handler [proc]
    set_first_list_item [proc]
    set_flags [proc]
    set_focus [proc]
    set_font [proc]
    set_grid_editable [proc]
    set_grid_line_color [proc]
    set_grid_size [proc]
    set_html_page [proc]
    set_icon [proc]
    set_initial_font [proc]
    set_ip_host [func]
    set_ip_service [func]
    set_label [proc]
    set_link_event [proc]
    set_list_item_back_color [proc]
    set_list_item_image [proc]
    set_list_selection [proc]
    set_mask [proc]
    set_menu_label [proc]
    set_min_pane_size [proc]
    set_next_wizard_page [proc]
    set_open_url_event [proc]
    set_page_info [proc]
    set_page_text [proc]
    set_pen [proc]
    set_point_size [proc]
    set_preview_frame [proc]
    set_prev_wizard_page [proc]
    set_radiobox_selection [proc] A list of controls available in wxWidgets
    set_related_frame [proc]
    set_row_label [proc]
    set_row_label_align [proc]
    set_row_label_size [proc]
    set_scrollbar [proc]
    set_scroll_position [proc]
    set_selection [proc]
    set_size [proc]
    set_sizer [proc]
    set_slide_value [proc]
    set_socket_notify [proc]
    set_spin_value [proc]
    set_splitter_sash_position [proc]
    set_status_fields [proc]
    set_status_text [proc]
    set_string [proc]
    set_text [proc]
    set_text_attr_back_color [proc]
    set_text_attr_color [proc]
    set_text_attr_font [proc]
    set_text_back_color [proc]
    set_text_color [proc]
    set_text_selection [proc]
    set_text_style [proc]
    set_tip [proc]
    set_title [proc]
    set_tool_bitmap_size [proc]
    set_tool_margins [proc]
    set_tree_item_text [proc]
    set_user_scale [proc]
    show_fullscreen [proc]
    show_modal [func]
    show_page [proc]
    show_toolbar [proc]
    show_window [proc]
    sizeof_class [func]
    Sizers
    sizer_calc_min [func]
    skip [proc]
    socket_accept [func]
    socket_connect [func]
    socket_event_handler [proc]
    socket_from_event [func]
    socket_read [proc]
    socket_write [proc]
    space_sizer [proc]
    split_window [proc]
    start_print [func]
    start_timer [proc]
    stop_timer [proc]
    stream_write [proc]
    tile_mdi [proc] Simplistic Routines to manage memory
    Timers
    TODO
    toggle_tool [proc]
    tree_imagelist [proc]
    Utilities
    valid_tree_item [func]
    wizard_event_direction [func]
    wizard_event_page [func]
    write_text [proc]
    wxApp
    wxArrayString
    wxBaseResource [const]
    wxBitmap
    wxBitmapButton
    wxBoxSizer
    wxBrush
    wxButton
    wxCalendarCtrl
    wxCalendarDateAttr
    wxCheckBox
    wxChoice
    wxColourData
    wxColourDialog
    wxComboBox
    wxControl
    wxControlWithItems
    wxCursor
    wxDataFormat
    wxDateTime
    wxDefButton
    wxDialog
    wxDir
    wxDirDialog
    wxDirTraverser
    wxEuphoria Developers
    wxEu_Lib [func]
    wxFileName
    wxFlexGridSizer
    wxFont
    wxFontData
    wxFontDialog
    wxFontEnumerator
    wxFrame
    wxFTP
    wxGrid
    wxGridCellAttr
    wxGridCellEditor
    wxGridSizer
    wxHtmlWindow
    wxHTTP
    wxIcon
    wxImageList
    wxIPV4address
    wxListBox
    wxListCtrl
    wxMain [proc] Changes, Bugs and TODO List
    wxMask
    wxMDIChildFrame
    wxMDIClientWindow
    wxMDIParentFrame
    wxMemoryDC
    wxMenu
    wxMenuBar
    wxMenuItem
    wxNotebook
    wxNotebookSizer
    wxPageSetupDialog
    wxPageSetupDialogData
    wxPaintDC
    wxPanel
    wxPen
    wxPoint
    wxPrintDialog
    wxPrinter
    wxPrintout
    wxPrintPreview
    wxProgressDialog
    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
    wx_alloc [func]
    wx_alloc_string [func]
    wx_execute [proc]
    wx_free [func]
    wx_or_all [func]
    wx_peek_string [func]
    wx_printf [proc]
    wx_puts [proc]
    wx_shell [proc]