Lines Matching defs:button
811 // add Search button
812 BButton* button;
814 button = new BButton("save", B_TRANSLATE("Save"),
817 button = new BButton("find", B_TRANSLATE("Search"),
820 button->MakeDefault(true);
844 button->SetExplicitAlignment(BAlignment(B_ALIGN_RIGHT, B_ALIGN_BOTTOM));
869 .Add(button)
920 BButton* button = dynamic_cast<BButton*>(FindView("remove button"));
921 if (button != NULL)
922 button->SetTarget(this);
924 button = dynamic_cast<BButton*>(FindView("add button"));
925 if (button != NULL)
926 button->SetTarget(this);
2082 BButton* removeButton = new BButton("remove button", B_TRANSLATE("Remove"),
2087 BButton* addButton = new BButton("add button", B_TRANSLATE("Add"),
2144 box->FindView("remove button"));
2197 // disable the remove button
2198 BButton* button = dynamic_cast<BButton*>(FindView("remove button"));
2199 if (button != NULL)
2200 button->SetEnabled(false);
2557 BView* view = FindView("add button");
2563 view = FindView("remove button");