wxFrame

wxFrame
wxFrame is a class derived from wxWindow. You must use a wxFrame as your top level window.

Creation Parameters

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.

Example:

  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.

Functions/Procedures
Supertopics
Subtopics

wxFrame

[func]
get_menu_bar
( atom frame )

Category: wxFrame


wxFrame

[func]
get_status_bar
( atom frame )

Category: wxFrame


wxFrame

[func]
get_status_bar_pane
( atom frame )

Category: wxFrame


wxFrame

[func]
get_tool_bar
( atom frame )

Category: wxFrame


wxFrame

[proc]
raise_window
( atom window )

Category: wxFrame

Bring a window to the front of the screen.


wxFrame

[proc]
set_icon
( atom frame, atom icon )

Category: wxFrame

This sets the icon beside of the text in a wxFrame. The image type cannot be a BM_XPM and it is suggested that a wxIcon be used for the image. The image should be 16 by 16.


wxFrame

[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.

wxFrame

[proc]
show_window
( atom window, integer show )

Category: wxFrame

Sets a frame invisible if show is 0. If show is 1, then it makes the window visible if it is not, otherwise it does nothing.