Home
last modified time | relevance | path

Searched refs:textControl (Results 1 – 11 of 11) sorted by relevance

/haiku/src/tests/servers/app/event_mask/
H A DEventMask.cpp174 BTextControl* textControl = new BTextControl(BRect(10, 10, 290, 30), in Window() local
176 textControl->SetDivider(textControl->StringWidth(textControl->Label()) + 8); in Window()
177 view->AddChild(textControl); in Window()
179 textControl = new BTextControl(BRect(300, 10, 420, 30), in Window()
181 textControl->SetDivider(textControl->StringWidth(textControl->Label()) + 8); in Window()
182 view->AddChild(textControl); in Window()
183 textControl->TextView()->SetEventMask(B_KEYBOARD_EVENTS, 0); in Window()
/haiku/src/tests/kits/game/file_game_sound_test/
H A DFileSoundWindow.cpp42 textControl = new BTextControl(textBounds,"filechosen","Play file:","No file chosen yet.", NULL); in FileSoundWindow()
43 textControl -> SetEnabled(false); in FileSoundWindow()
45 float x1 = textControl -> Bounds().left; in FileSoundWindow()
46 float x2 = textControl -> Bounds().right; in FileSoundWindow()
48 textControl -> SetDivider(dividerX); in FileSoundWindow()
50 box -> AddChild(textControl); in FileSoundWindow()
102 textControl -> SetText(path.Path()); in MessageReceived()
H A DFileSoundWindow.h43 BTextControl *textControl; variable
/haiku/src/kits/tracker/
H A DFindPanel.cpp552 BTextControl* textControl in GetPredicateString() local
554 if (textControl != NULL) in GetPredicateString()
555 predicate.SetTo(textControl->Text(), 1023); in GetPredicateString()
703 BTextControl* textControl = dynamic_cast<BTextControl*>(focusedItem); in SaveQueryAsAttributes() local
704 if (textControl != NULL && textControl->TextView() != NULL) { in SaveQueryAsAttributes()
707 textControl->TextView()->GetSelection(&selStart, &selEnd); in SaveQueryAsAttributes()
1344 BTextControl* textControl in AttachedToWindow() local
1346 if (textControl == NULL) { in AttachedToWindow()
1350 textControl = dynamic_cast<BTextControl*>(FindView(title.String())); in AttachedToWindow()
1352 if (textControl != NULL) in AttachedToWindow()
[all …]
H A DFilePanelPriv.cpp589 BTextControl* textControl in AdjustButton() local
595 if (fIsSavePanel && textControl != NULL) { in AdjustButton()
596 enabled = textControl->Text()[0] != '\0'; in AdjustButton()
607 textControl->SetText(model->Name()); in AdjustButton()
1214 BTextControl* textControl in SetSaveText() local
1216 if (textControl != NULL) { in SetSaveText()
1217 textControl->SetText(text); in SetSaveText()
1218 if (textControl->TextView() != NULL) in SetSaveText()
1219 textControl->TextView()->SelectAll(); in SetSaveText()
/haiku/src/kits/interface/
H A DTextInput.cpp218 BTextControl* textControl = NULL; in TextControl() local
220 textControl = dynamic_cast<BTextControl*>(Parent()); in TextControl()
222 if (textControl == NULL) in TextControl()
225 return textControl; in TextControl()
/haiku/src/kits/media/
H A DDefaultMediaTheme.cpp721 if (BTextControl *textControl = dynamic_cast<BTextControl *>(control)) { in TextMessageFilter() local
730 textControl->SetText(value); in TextMessageFilter()
765 if (BTextControl *textControl = dynamic_cast<BTextControl *>(control)) { in Filter() local
773 textControl->SetText(value); in Filter()
789 if (BTextControl *textControl = dynamic_cast<BTextControl *>(control)) { in Filter() local
790 BString value = textControl->Text(); in Filter()
/haiku/headers/libs/print/libprint/
H A DMarginView.h200 void _AllowOnlyNumbers(BTextControl *textControl,
/haiku/src/libs/print/libprint/
H A DMarginView.cpp484 MarginView::_AllowOnlyNumbers(BTextControl *textControl, int32 maxNum) in _AllowOnlyNumbers() argument
486 BTextView *tv = textControl->TextView(); in _AllowOnlyNumbers()
/haiku/headers/os/interface/
H A DLayoutBuilder.h170 inline ThisBuilder& AddTextControl(BTextControl* textControl,
904 Grid<ParentBuilder>::AddTextControl(BTextControl* textControl, int32 column, in AddTextControl() argument
908 BLayoutItem* item = textControl->CreateLabelLayoutItem(); in AddTextControl()
912 fLayout->AddItem(textControl->CreateTextViewLayoutItem(), in AddTextControl()
/haiku/src/tests/kits/interface/layout/
H A DLayoutTest1.cpp1513 BTextControl* textControl = textControls[i]; in MessageReceived() local
1516 textControl->SetLabel(_RandomLabel().String()); in MessageReceived()