Lines Matching refs:button

121 			LaunchButton* button = dynamic_cast<LaunchButton*>(pointer);
122 if (button == NULL)
126 if (button->Ref()) {
127 BEntry entry(button->Ref(), true);
133 trackerMessage.AddRef("refs", button->Ref());
145 status_t ret = be_roster->Launch(button->Ref());
149 BPath path(button->Ref());
153 errStr.ReplaceFirst("%1", button->Ref()->name);
160 if (!launchedByRef && button->AppSignature()) {
161 status_t ret = be_roster->Launch(button->AppSignature());
165 errStr.ReplaceFirst("%2", button->AppSignature());
187 LaunchButton* button;
188 if (message->FindPointer("be:source", (void**)&button) >= B_OK) {
189 fPadView->AddButton(new LaunchButton("launch button",
190 NULL, new BMessage(MSG_LAUNCH)), button);
196 LaunchButton* button;
197 if (message->FindPointer("be:source", (void**)&button) >= B_OK)
198 button->SetTo((entry_ref*)NULL);
203 LaunchButton* button;
204 if (message->FindPointer("be:source", (void**)&button) >= B_OK) {
205 if (fPadView->RemoveButton(button))
206 delete button;
212 LaunchButton* button;
213 if (message->FindPointer("be:source", (void**)&button) >= B_OK) {
217 button->SetDescription(name);
225 entry_ref* ref = button->Ref();
234 button->Description(), this, this,
295 LaunchButton* button;
296 if (message->FindPointer("be:source", (void**)&button) == B_OK && button->Ref() != NULL) {
297 entry_ref target = *button->Ref();
431 LaunchButton* button = new LaunchButton("launch button",
433 fPadView->AddButton(button);
437 button->SetTo(signature.String(), true);
443 button->SetTo(&ref);
447 button->SetDescription(text);
511 for (int32 i = 0; LaunchButton* button = fPadView->ButtonAt(i); i++) {
512 BPath path(button->Ref());
517 message->AddString("description", button->Description());
519 if (button->AppSignature())
520 message->AddString("signature", button->AppSignature());
605 LaunchButton* button = new LaunchButton("launch button", NULL,
607 fPadView->AddButton(button);
608 button->SetTo("application/x-vnd.Be-MAIL", true);
611 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
612 fPadView->AddButton(button);
613 button->SetTo("application/x-vnd.Haiku-StyledEdit", true);
616 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
617 fPadView->AddButton(button);
618 button->SetTo("application/x-vnd.Haiku-ShowImage", true);
621 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
622 fPadView->AddButton(button);
623 button->SetTo("application/x-vnd.Haiku-MediaPlayer", true);
626 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
627 fPadView->AddButton(button);
628 button->SetTo("application/x-vnd.Haiku-DeskCalc", true);
631 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
632 fPadView->AddButton(button);
633 button->SetTo("application/x-vnd.Haiku-Terminal", true);
640 LaunchButton* button = new LaunchButton("launch button", NULL,
642 fPadView->AddButton(button);
644 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
645 fPadView->AddButton(button);
647 button = new LaunchButton("launch button", NULL, new BMessage(MSG_LAUNCH));
648 fPadView->AddButton(button);