MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / LabelField

Class LabelField

python/interaction.py:35–59  ·  view source on GitHub ↗

``LabelField`` adds a text label to the display.

Source from the content-addressed store, hash-verified

33
34
35class LabelField:
36 """
37 ``LabelField`` adds a text label to the display.
38 """
39 def __init__(self, text: str):
40 self._text = text
41
42 def _fill_core_struct(self, value):
43 value.type = FormInputFieldType.LabelFormField
44 value.hasDefault = False
45 value.prompt = self._text
46
47 def _fill_core_result(self, value):
48 pass
49
50 def _get_result(self, value):
51 pass
52
53 @property
54 def text(self) -> str:
55 return self._text
56
57 @text.setter
58 def text(self, value: str) -> None:
59 self._text = value
60
61
62class SeparatorField:

Callers 2

_get_form_inputMethod · 0.85
get_form_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected