本文整理汇总了C++中wxSplitterEvent类的典型用法代码示例。如果您正苦于以下问题:C++ wxSplitterEvent类的具体用法?C++ wxSplitterEvent怎么用?C++ wxSplitterEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了wxSplitterEvent类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: OnPositionChanging
void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event)
{
wxLogStatus(m_frame, wxT("Position is changing, now = %d (or %d)"),
event.GetSashPosition(), GetSashPosition());
event.Skip();
}
开发者ID:ruifig,项目名称:nutcracker,代码行数:7,代码来源:splitter.cpp
示例2: OnPositionChanged
/*****************************************************
**
** 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();
}
开发者ID:martin-pe,项目名称:maitreya8,代码行数:17,代码来源:SplitterWidget.cpp
示例3: OnChangeSash
void ctSplitterWindow::OnChangeSash(wxSplitterEvent& event)
{
if (!m_updateSettings)
return;
m_position = event.GetSashPosition();
}
开发者ID:Duion,项目名称:Torsion,代码行数:7,代码来源:propeditor.cpp
示例4: OnUnsplitEvent
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
{
#if wxUSE_STATUSBAR
m_frame->SetStatusText(wxT("Splitter unsplit"), 1);
#endif // wxUSE_STATUSBAR
event.Skip();
}
开发者ID:ruifig,项目名称:nutcracker,代码行数:8,代码来源:splitter.cpp
示例5: onVerticalSashResize
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
}
开发者ID:mhagander,项目名称:pgadmin3,代码行数:8,代码来源:gqbController.cpp
示例6: OnDClick
void MySplitterWindow::OnDClick(wxSplitterEvent& event)
{
#if wxUSE_STATUSBAR
m_frame->SetStatusText(wxT("Splitter double clicked"), 1);
#endif // wxUSE_STATUSBAR
event.Skip();
}
开发者ID:ruifig,项目名称:nutcracker,代码行数:8,代码来源:splitter.cpp
示例7: SashPosition
void moLayersPanelCtrl::SashPosition( wxSplitterEvent& event ) {
//wxMessageBox("position");
int i = event.GetSashPosition();
m_pLayersTreeCtrl->SetSplitPosition( i );
BottomSplitter->SetSashPosition(i);
TopSplitter->SetSashPosition(i);
}
开发者ID:moldeo,项目名称:moldeodirector,代码行数:11,代码来源:moTreeObjectsLayerCtrl.cpp
示例8: OnSplitterChange
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
}
}
开发者ID:Klortho,项目名称:osiris,代码行数:11,代码来源:CSplitterCellHistory.cpp
示例9: OnSplitterChanging
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
}
}
开发者ID:Klortho,项目名称:osiris,代码行数:14,代码来源:CSplitterCellHistory.cpp
示例10: OnPositionChanging
void MySplitterWindow::OnPositionChanging(wxSplitterEvent& event)
{
event.Skip();
}
开发者ID:hksonngan,项目名称:invols,代码行数:5,代码来源:MySplitterWindow.cpp
示例11: OnSplitterDoubleClick
/*****************************************************
**
** SplitterWidget --- OnSplitterDoubleClick
**
******************************************************/
void SplitterWidget::OnSplitterDoubleClick(wxSplitterEvent& event)
{
// no nothing because default behaviour will remove one of the widgets
event.Veto();
}
开发者ID:martin-pe,项目名称:maitreya8,代码行数:10,代码来源:SplitterWidget.cpp
示例12: OnDoubleClickSash
void wxGISIdentifyDlg::OnDoubleClickSash(wxSplitterEvent& event)
{
event.Veto();
}
开发者ID:GimpoByte,项目名称:nextgismanager,代码行数:4,代码来源:identifydlg.cpp
示例13: OnUnsplitEvent
void MySplitterWindow::OnUnsplitEvent(wxSplitterEvent& event)
{
event.Skip();
}
开发者ID:hksonngan,项目名称:invols,代码行数:5,代码来源:MySplitterWindow.cpp
示例14: DoSendEvent
bool wxSplitterWindow::DoSendEvent(wxSplitterEvent& event)
{
return !GetEventHandler()->ProcessEvent(event) || event.IsAllowed();
}
开发者ID:CodeSmithyIDE,项目名称:wxWidgets,代码行数:4,代码来源:splitter.cpp
示例15: OnSashChanged
void WidgetDownloadPanel::OnSashChanged( wxSplitterEvent& evt )
{
sett().SetSashPosition( GetName(), evt.GetSashPosition( ) );
evt.Skip();
}
开发者ID:mallyvai,项目名称:springlobby,代码行数:5,代码来源:downloadpanel.cpp
示例16: OnDClick
void MySplitterWindow::OnDClick(wxSplitterEvent& event)
{
event.Skip();
}
开发者ID:hksonngan,项目名称:invols,代码行数:4,代码来源:MySplitterWindow.cpp
示例17: bmx_wxsplitterevent_getsashposition
int bmx_wxsplitterevent_getsashposition(wxSplitterEvent & event) {
return event.GetSashPosition();
}
开发者ID:maxmods,项目名称:wx.mod,代码行数:3,代码来源:glue.cpp
示例18: bmx_wxsplitterevent_setsashposition
void bmx_wxsplitterevent_setsashposition(wxSplitterEvent & event, int pos) {
event.SetSashPosition(pos);
}
开发者ID:maxmods,项目名称:wx.mod,代码行数:3,代码来源:glue.cpp
示例19: bmx_wxsplitterevent_gety
int bmx_wxsplitterevent_gety(wxSplitterEvent & event) {
return event.GetY();
}
开发者ID:maxmods,项目名称:wx.mod,代码行数:3,代码来源:glue.cpp
注:本文中的wxSplitterEvent类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论