KiCad PCB EDA Suite
Loading...
Searching...
No Matches
WX_SPLITTER_WINDOW Class Reference

#include <wx_splitter_window.h>

Inheritance diagram for WX_SPLITTER_WINDOW:

Public Member Functions

 WX_SPLITTER_WINDOW (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxSP_3D, const wxString &name=wxT("splitter"))
 
 ~WX_SPLITTER_WINDOW () override
 
bool OnSashPositionChange (int newSashPosition) override
 
void OnSize (wxSizeEvent &aEvent)
 
void SetPaneMinimums (int aFirst, int aSecond)
 

Private Attributes

int m_minFirstPane
 
int m_minSecondPane
 

Detailed Description

Definition at line 29 of file wx_splitter_window.h.

Constructor & Destructor Documentation

◆ WX_SPLITTER_WINDOW()

WX_SPLITTER_WINDOW::WX_SPLITTER_WINDOW ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxSP_3D,
const wxString &  name = wxT( "splitter" ) 
)
inline

Definition at line 32 of file wx_splitter_window.h.

References OnSize().

◆ ~WX_SPLITTER_WINDOW()

WX_SPLITTER_WINDOW::~WX_SPLITTER_WINDOW ( )
inlineoverride

Definition at line 43 of file wx_splitter_window.h.

Member Function Documentation

◆ OnSashPositionChange()

bool WX_SPLITTER_WINDOW::OnSashPositionChange ( int  newSashPosition)
override

Definition at line 27 of file wx_splitter_window.cpp.

References m_minFirstPane, and m_minSecondPane.

◆ OnSize()

void WX_SPLITTER_WINDOW::OnSize ( wxSizeEvent &  aEvent)

Definition at line 46 of file wx_splitter_window.cpp.

References m_minFirstPane, and m_minSecondPane.

Referenced by WX_SPLITTER_WINDOW().

◆ SetPaneMinimums()

void WX_SPLITTER_WINDOW::SetPaneMinimums ( int  aFirst,
int  aSecond 
)
inline

Definition at line 50 of file wx_splitter_window.h.

References m_minFirstPane, and m_minSecondPane.

Referenced by PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW().

Member Data Documentation

◆ m_minFirstPane

int WX_SPLITTER_WINDOW::m_minFirstPane
private

Definition at line 57 of file wx_splitter_window.h.

Referenced by OnSashPositionChange(), OnSize(), and SetPaneMinimums().

◆ m_minSecondPane

int WX_SPLITTER_WINDOW::m_minSecondPane
private

Definition at line 58 of file wx_splitter_window.h.

Referenced by OnSashPositionChange(), OnSize(), and SetPaneMinimums().


The documentation for this class was generated from the following files: