Example #1
0
void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event)
{
    wxLogStatus(m_frame, wxT("Position is changing, now = %d (or %d)"),
                event.GetSashPosition(), GetSashPosition());

    event.Skip();
}
Example #2
0
/*****************************************************
**
**   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();
}
Example #3
0
void ctSplitterWindow::OnChangeSash(wxSplitterEvent& event)
{
    if (!m_updateSettings)
        return;

    m_position = event.GetSashPosition();
}
Example #4
0
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
{
#if wxUSE_STATUSBAR
    m_frame->SetStatusText(wxT("Splitter unsplit"), 1);
#endif // wxUSE_STATUSBAR

    event.Skip();
}
Example #5
0
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
}
Example #6
0
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);

}
Example #8
0
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
    }
}
Example #9
0
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
    }
}
Example #10
0
void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event)
{

    event.Skip();
}
Example #11
0
/*****************************************************
**
**   SplitterWidget   ---   OnSplitterDoubleClick
**
******************************************************/
void SplitterWidget::OnSplitterDoubleClick(wxSplitterEvent& event)
{
	// no nothing because default behaviour will remove one of the widgets
	event.Veto();
}
Example #12
0
void wxGISIdentifyDlg::OnDoubleClickSash(wxSplitterEvent& event)
{
	event.Veto();
}
Example #13
0
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
{

    event.Skip();
}
Example #14
0
bool wxSplitterWindow::DoSendEvent(wxSplitterEvent& event)
{
    return !GetEventHandler()->ProcessEvent(event) || event.IsAllowed();
}
Example #15
0
void WidgetDownloadPanel::OnSashChanged( wxSplitterEvent& evt )
{
    sett().SetSashPosition( GetName(), evt.GetSashPosition( ) );
    evt.Skip();
}
Example #16
0
void MySplitterWindow::OnDClick(wxSplitterEvent& event)
{
    event.Skip();
}
Example #17
0
int bmx_wxsplitterevent_getsashposition(wxSplitterEvent & event) {
	return event.GetSashPosition();
}
Example #18
0
void bmx_wxsplitterevent_setsashposition(wxSplitterEvent & event, int pos) {
	event.SetSashPosition(pos);
}
Example #19
0
int bmx_wxsplitterevent_gety(wxSplitterEvent & event) {
	return event.GetY();
}