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 )     
     
    Parent Topics:
  • Classes
  • Controls
  • wxWindow  
     
    Subtopics:
  • wxCursor
  • wxMDIParentFrame
  • wxStatusBar


    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

    [proc]
    set_icon
    ( atom frame, atom icon )

    Category: wxFrame

    See Also: raise_window, show_fullscreen, show_window



    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

    [proc]
    show_window
    ( atom window, integer show )

    Category: wxFrame

    See Also: raise_window, set_icon, show_fullscreen