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

Lines Matching refs:tool

156                                   wxToolBarTool *tool )
161 wxToolBar *tbar = (wxToolBar *)tool->GetToolBar();
166 if (!tool->IsEnabled()) return;
168 if (tool->CanBeToggled())
170 tool->Toggle();
172 tool->SetPixmap(tool->GetBitmap());
174 if ( tool->IsRadio() && !tool->IsToggled() )
181 if( !tbar->OnLeftClick( tool->GetId(), tool->IsToggled() ) && tool->CanBeToggled() )
184 tool->Toggle();
186 tool->SetPixmap(tool->GetBitmap());
198 wxToolBarTool *tool )
204 wxToolBar *tb = (wxToolBar *)tool->GetToolBar();
208 tb->OnMouseEnter( tool->GetId() );
347 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
353 if ( tool->IsButton() )
357 wxBitmap bitmap = tool->GetNormalBitmap();
381 tool->m_pixmap = tool_pixmap;
385 switch ( tool->GetStyle() )
394 if ( tool->IsRadio() )
417 tool->Toggle(true);
421 tool->m_item = gtk_toolbar_insert_element
424 tool->GetGtkChildType(),
426 tool->GetLabel().empty()
428 : (const char*) wxGTK_CONV( tool->GetLabel() ),
429 tool->GetShortHelp().empty()
431 : (const char*) wxGTK_CONV( tool->GetShortHelp() ),
433 tool->m_pixmap,
435 (gpointer)tool,
439 if ( !tool->m_item )
446 gtk_signal_connect( GTK_OBJECT(tool->m_item),
449 (gpointer)tool );
450 gtk_signal_connect( GTK_OBJECT(tool->m_item),
453 (gpointer)tool );
466 tool->GetControl()->m_widget,
486 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
488 switch ( tool->GetStyle() )
491 tool->GetControl()->Destroy();
495 gtk_widget_destroy( tool->m_item );
509 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
511 if (tool->m_item)
513 gtk_widget_set_sensitive( tool->m_item, enable );
519 wxToolBarTool *tool = (wxToolBarTool *)toolBase;
521 GtkWidget *item = tool->m_item;
524 tool->SetPixmap(tool->GetBitmap());
534 void wxToolBar::DoSetToggle(wxToolBarToolBase * WXUNUSED(tool),
575 wxToolBarTool *tool = (wxToolBarTool *)FindById(id);
577 if ( tool )
579 (void)tool->SetShortHelp(helpString);
580 gtk_tooltips_set_tip(m_toolbar->tooltips, tool->m_item,
615 wxToolBarTool *tool = (wxToolBarTool *)node->GetData();
618 GtkWidget *item = tool->m_item;