Skip to content

Commit

Permalink
Merge pull request #5396 from Jacalz/entry-overrides-too-much
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz authored Jan 11, 2025
2 parents b76dda1 + 2b7dfee commit cfa66a1
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions widget/entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,6 @@ func (e *Entry) Cursor() desktop.Cursor {
return desktop.TextCursor
}

// Disable this widget so that it cannot be interacted with, updating any style appropriately.
//
// Implements: fyne.Disableable
func (e *Entry) Disable() {
e.DisableableWidget.Disable()
}

// Disabled returns whether the entry is disabled or read-only.
//
// Implements: fyne.Disableable
func (e *Entry) Disabled() bool {
return e.DisableableWidget.disabled.Load()
}

// DoubleTapped is called when this entry has been double tapped so we should select text below the pointer
//
// Implements: fyne.DoubleTappable
Expand Down Expand Up @@ -289,13 +275,6 @@ func (e *Entry) Dragged(d *fyne.DragEvent) {
e.updateMousePointer(pos, false)
}

// Enable this widget, updating any style or features appropriately.
//
// Implements: fyne.Disableable
func (e *Entry) Enable() {
e.DisableableWidget.Enable()
}

// ExtendBaseWidget is used by an extending widget to make use of BaseWidget functionality.
func (e *Entry) ExtendBaseWidget(wid fyne.Widget) {
impl := e.super()
Expand Down

0 comments on commit cfa66a1

Please sign in to comment.