• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/motif/

Lines Matching refs:tool

283         wxToolBarTool *tool = (wxToolBarTool *)node->GetData();
285 switch ( tool->GetStyle() )
289 wxControl* control = tool->GetControl();
317 if ( tool->CanBeToggled() && !tool->GetButtonWidget() )
342 else if( !tool->GetButtonWidget() )
357 if( !tool->GetButtonWidget() )
362 tool->SetWidget(button);
366 button = (Widget)tool->GetButtonWidget();
376 bmp = tool->GetNormalBitmap();
377 insensBmp = tool->GetDisabledBitmap();
390 tool->SetNormalBitmap(bmp);
396 tool->SetDisabledBitmap(insensBmp);
404 if ( tool->CanBeToggled() )
415 wxBitmap tmp = tool->GetDisabledBitmap();
419 tool->GetInsensPixmap();
422 if (tool->CanBeToggled())
425 Pixmap pixmap2 = tool->GetArmPixmap();
426 Pixmap insensPixmap2 = tool->GetInsensPixmap();
439 Pixmap pixmap2 = tool->GetArmPixmap();
489 bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), wxToolBarToolBase *tool)
491 tool->Attach(this);
496 bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *tool)
498 tool->Detach();
510 if( t == tool )
586 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
587 if (tool->GetButtonWidget()){
588 XtSetSensitive(tool->GetButtonWidget(), (Boolean) enable);
589 } else if (wxTOOL_STYLE_CONTROL == tool->GetStyle()){
591 tool->GetControl()->Enable(enable);
597 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
599 XmToggleButtonSetState(tool->GetButtonWidget(), (Boolean) toggle, False);
602 void wxToolBar::DoSetToggle(wxToolBarToolBase * WXUNUSED(tool),
649 wxToolBarTool *tool = (wxToolBarTool *)node->GetData();
650 if ( tool->GetButtonWidget() == w)
652 return tool;
666 wxToolBarToolBase *tool = toolBar->FindToolByWidget((WXWidget) w);
667 if ( !tool )
670 if ( tool->CanBeToggled() )
671 tool->Toggle();
673 if ( !toolBar->OnLeftClick(tool->GetId(), tool->IsToggled()) )
676 tool->Toggle();
690 wxToolBarToolBase *tool = toolBar->FindToolByWidget((WXWidget) w);
692 if ( !tool )
695 wxString tooltip = tool->GetShortHelp();