# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # CHB_DEFAULT = 0 # CHB_TOP = 16 # CHB_BOTTOM = 32 # CHB_LEFT = 64 # CHB_RIGHT = 128 # CHB_ALIGN_MASK = 240 # # EVT_CHOICEBOOK_PAGE_CHANGED = 10103 # # EVT_CHOICEBOOK_PAGE_CHANGING = 10102 # {Wx::Choicebook} is a class similar to {Wx::Notebook}, but uses a {Wx::Choice} control to show the labels instead of the tabs. # For usage documentation of this class, please refer to the base abstract class {Wx::BookCtrl}. You can also use the Notebook Sample to see {Wx::Choicebook} in action. # {Wx::Choicebook} allows the use of {Wx::BookCtrlBase#get_control_sizer}, allowing a program to add other controls next to the choice control. This is particularly useful when screen space is restricted, as it often is when {Wx::Choicebook} is being employed. # === Styles # # This class supports the following styles: # # - {Wx::CHB_DEFAULT}: Choose the default location for the labels depending on the current platform (but currently it's the same everywhere, namely {Wx::CHB_TOP}). # - {Wx::CHB_TOP}: Place labels above the page area. # - {Wx::CHB_LEFT}: Place labels on the left side. # - {Wx::CHB_RIGHT}: Place labels on the right side. # - {Wx::CHB_BOTTOM}: Place labels below the page area. # # === Events emitted by this class # # The following event-handler methods redirect the events to member method or handler blocks for {Wx::BookCtrlEvent} events. # Event handler methods for events emitted by this class: # - {Wx::EvtHandler#evt_choicebook_page_changed}(id, meth = nil, &block): The page selection was changed. Processes a {Wx::EVT_CHOICEBOOK_PAGE_CHANGED} event. # - {Wx::EvtHandler#evt_choicebook_page_changing}(id, meth = nil, &block): The page selection is about to be changed. Processes a {Wx::EVT_CHOICEBOOK_PAGE_CHANGING} event. This event can be vetoed (using {Wx::NotifyEvent#veto}). # # === # # Category: Book Controls
{Wx::MSW} Appearance # | {Wx::GTK} Appearance # | {Wx::OSX} Appearance # |