void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event) { wxLogStatus(m_frame, wxT("Position is changing, now = %d (or %d)"), event.GetSashPosition(), GetSashPosition()); event.Skip(); }
/***************************************************** ** ** SplitterWidget --- OnPositionChanged ** ******************************************************/ void SplitterWidget::OnPositionChanged(wxSplitterEvent& event) { wxSize size1 = wxSplitterWindow::GetSize(); size1.x = event.GetSashPosition(); GetWindow1()->SetSize( size1 ); GetWindow1()->Refresh(); wxSize size2 = wxSplitterWindow::GetSize(); size2.x -= event.GetSashPosition(); GetWindow2()->SetSize( size2 ); GetWindow2()->Refresh(); //event.Skip(); }
void ctSplitterWindow::OnChangeSash(wxSplitterEvent& event) { if (!m_updateSettings) return; m_position = event.GetSashPosition(); }
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event) { #if wxUSE_STATUSBAR m_frame->SetStatusText(wxT("Splitter unsplit"), 1); #endif // wxUSE_STATUSBAR event.Skip(); }
void gqbSplitter::onVerticalSashResize(wxSplitterEvent& event) { wxSize s = tablesBrowser->GetSize(); s.SetWidth(event.GetSashPosition()); browserPanel->SetSize(s); tablesBrowser->SetSize(s); // GQB-TODO: Set a minimun value }
void MySplitterWindow::OnDClick(wxSplitterEvent& event) { #if wxUSE_STATUSBAR m_frame->SetStatusText(wxT("Splitter double clicked"), 1); #endif // wxUSE_STATUSBAR event.Skip(); }
void moLayersPanelCtrl::SashPosition( wxSplitterEvent& event ) { //wxMessageBox("position"); int i = event.GetSashPosition(); m_pLayersTreeCtrl->SetSplitPosition( i ); BottomSplitter->SetSashPosition(i); TopSplitter->SetSashPosition(i); }
void CSplitterCellHistory::OnSplitterChange(wxSplitterEvent &e) { wxSplitterWindow *p = (wxSplitterWindow *) e.GetEventObject(); if(p != this) { m_syncSplitter.Sync(p); #if !PANEL_LOCUS_NOTEBOOK m_syncSplitter2.Sync(p); #endif } }
void CSplitterCellHistory::OnSplitterChanging(wxSplitterEvent &e) { // inform m_syncSplitter that the user is moving the sash // and not resizing the entire window (frame) wxSplitterWindow *p = (wxSplitterWindow *) e.GetEventObject(); if(p != this) { m_syncSplitter.SetIsChanging(p); #if !PANEL_LOCUS_NOTEBOOK m_syncSplitter2.SetIsChanging(p); #endif } }
void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event) { event.Skip(); }
/***************************************************** ** ** SplitterWidget --- OnSplitterDoubleClick ** ******************************************************/ void SplitterWidget::OnSplitterDoubleClick(wxSplitterEvent& event) { // no nothing because default behaviour will remove one of the widgets event.Veto(); }
void wxGISIdentifyDlg::OnDoubleClickSash(wxSplitterEvent& event) { event.Veto(); }
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event) { event.Skip(); }
bool wxSplitterWindow::DoSendEvent(wxSplitterEvent& event) { return !GetEventHandler()->ProcessEvent(event) || event.IsAllowed(); }
void WidgetDownloadPanel::OnSashChanged( wxSplitterEvent& evt ) { sett().SetSashPosition( GetName(), evt.GetSashPosition( ) ); evt.Skip(); }
void MySplitterWindow::OnDClick(wxSplitterEvent& event) { event.Skip(); }
int bmx_wxsplitterevent_getsashposition(wxSplitterEvent & event) { return event.GetSashPosition(); }
void bmx_wxsplitterevent_setsashposition(wxSplitterEvent & event, int pos) { event.SetSashPosition(pos); }
int bmx_wxsplitterevent_gety(wxSplitterEvent & event) { return event.GetY(); }