Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.28 KB

File metadata and controls

54 lines (40 loc) · 1.28 KB

Book control Examples

This folder contains book control examples.

  • Choicebook shows how to create a Choicebook widget with wxChoiceBook.
  • Listbook shows how to create a Listbook widget with wxListBook.
  • Notebook shows how to create a Notebook widget with wxNoteBook.
  • Simplebook shows how to create a Simplebook widget with wxSimplebook.
  • Toolbook shows how to create a Toolbook widget with wxToolbook.
  • Treebook shows how to create a Treebook widget with wxTreebook.

Build and run

To build this project, open "Terminal" and type following lines:

Windows

mkdir build && cd build
cmake ..
start BookControls.sln

Select any project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./BookControls.xcodeproj

Select any project and type Cmd+R to build and run it.

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./BookControls.cbp > /dev/null 2>&1

Select any project and type F10 to build and run it.

Linux :

mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject