wx.1.txt
author llbatlle@taga
Wed, 31 Dec 2008 12:09:04 +0100
changeset 4 3ecde21e0834
permissions -rw-r--r--
New commit from the office.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     1
wxWindow: Mother of all visible GUI objects
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     2
wxFrame: A wm window (not a simple wxWindow) resizable by the user, with a title bar
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     3
wxDialog: Similar to wxFrame, but can be modal.
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     4
wxPanel: A wxWindow where the controls (other wxWindows) are placed. Like a
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     5
Dialog placeable *not only* in a new wm window.
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     6
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     7
Sizers
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     8
==========
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
     9
Any wxWindow can have a sizer: wxWindow::SetSizer().
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    10
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    11
Features:
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    12
- Border: pixels around each internal control
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    13
- Minimal Size: set by each internal control
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    14
- Alignment:
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    15
- Stretch factor: (specified as 'proportion' to some sizers)
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    16
  - 0 : always minimum space for each control.
3ecde21e0834 New commit from the office.
llbatlle@taga
parents:
diff changeset
    17
  - >1 : proportional size related to the sum of all control stretch factors.