Documentation ¶
Overview ¶
Package textinput is a generated protocol buffer package.
It is generated from these files:
gomatcha.io/matcha/pb/view/textinput/textinput.proto
It has these top-level messages:
View Event FocusEvent SubmitEvent
Index ¶
- type Event
- type FocusEvent
- type SubmitEvent
- type View
- func (*View) Descriptor() ([]byte, []int)
- func (m *View) GetFocused() bool
- func (m *View) GetKeyboardAppearance() matcha_keyboard.Appearance
- func (m *View) GetKeyboardReturnType() matcha_keyboard.ReturnType
- func (m *View) GetKeyboardType() matcha_keyboard.Type
- func (m *View) GetMultiline() bool
- func (m *View) GetPlaceholderText() *matcha_text.StyledText
- func (m *View) GetSecureTextEntry() bool
- func (m *View) GetStyledText() *matcha_text.StyledText
- func (*View) ProtoMessage()
- func (m *View) Reset()
- func (m *View) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
StyledText *matcha_text.StyledText `protobuf:"bytes,1,opt,name=styledText" json:"styledText,omitempty"`
}
func (*Event) Descriptor ¶
func (*Event) GetStyledText ¶
func (m *Event) GetStyledText() *matcha_text.StyledText
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type FocusEvent ¶
type FocusEvent struct {
Focused bool `protobuf:"varint,1,opt,name=focused" json:"focused,omitempty"`
}
func (*FocusEvent) Descriptor ¶
func (*FocusEvent) Descriptor() ([]byte, []int)
func (*FocusEvent) GetFocused ¶
func (m *FocusEvent) GetFocused() bool
func (*FocusEvent) ProtoMessage ¶
func (*FocusEvent) ProtoMessage()
func (*FocusEvent) Reset ¶
func (m *FocusEvent) Reset()
func (*FocusEvent) String ¶
func (m *FocusEvent) String() string
type SubmitEvent ¶
type SubmitEvent struct { }
func (*SubmitEvent) Descriptor ¶
func (*SubmitEvent) Descriptor() ([]byte, []int)
func (*SubmitEvent) ProtoMessage ¶
func (*SubmitEvent) ProtoMessage()
func (*SubmitEvent) Reset ¶
func (m *SubmitEvent) Reset()
func (*SubmitEvent) String ¶
func (m *SubmitEvent) String() string
type View ¶
type View struct { StyledText *matcha_text.StyledText `protobuf:"bytes,1,opt,name=styledText" json:"styledText,omitempty"` PlaceholderText *matcha_text.StyledText `protobuf:"bytes,2,opt,name=placeholderText" json:"placeholderText,omitempty"` Focused bool `protobuf:"varint,4,opt,name=focused" json:"focused,omitempty"` KeyboardType matcha_keyboard.Type `protobuf:"varint,5,opt,name=keyboardType,enum=matcha.keyboard.Type" json:"keyboardType,omitempty"` KeyboardAppearance matcha_keyboard.Appearance `protobuf:"varint,6,opt,name=keyboardAppearance,enum=matcha.keyboard.Appearance" json:"keyboardAppearance,omitempty"` KeyboardReturnType matcha_keyboard.ReturnType `protobuf:"varint,7,opt,name=keyboardReturnType,enum=matcha.keyboard.ReturnType" json:"keyboardReturnType,omitempty"` Multiline bool `protobuf:"varint,8,opt,name=multiline" json:"multiline,omitempty"` SecureTextEntry bool `protobuf:"varint,9,opt,name=secureTextEntry" json:"secureTextEntry,omitempty"` }
func (*View) Descriptor ¶
func (*View) GetFocused ¶
func (*View) GetKeyboardAppearance ¶
func (m *View) GetKeyboardAppearance() matcha_keyboard.Appearance
func (*View) GetKeyboardReturnType ¶
func (m *View) GetKeyboardReturnType() matcha_keyboard.ReturnType
func (*View) GetKeyboardType ¶
func (m *View) GetKeyboardType() matcha_keyboard.Type
func (*View) GetMultiline ¶
func (*View) GetPlaceholderText ¶
func (m *View) GetPlaceholderText() *matcha_text.StyledText
func (*View) GetSecureTextEntry ¶
func (*View) GetStyledText ¶
func (m *View) GetStyledText() *matcha_text.StyledText
func (*View) ProtoMessage ¶
func (*View) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.