forked from joejulian/gio
app: [API] drop ReadClipboard method
Now that all events are not emitted at the top level, there is no longer a way to receive the clipboard event generated by this window-global clipboard read method. As such, this commit drops the useless and confusing method from the exported API. Fixes: https://todo.sr.ht/~eliasnaur/gio/501 Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
This commit is contained in:
@@ -375,15 +375,6 @@ func (w *Window) Option(opts ...Option) {
|
||||
}
|
||||
}
|
||||
|
||||
// ReadClipboard initiates a read of the clipboard in the form
|
||||
// of a clipboard.Event. Multiple reads may be coalesced
|
||||
// to a single event.
|
||||
func (w *Window) ReadClipboard() {
|
||||
w.driverDefer(func(d driver) {
|
||||
d.ReadClipboard()
|
||||
})
|
||||
}
|
||||
|
||||
// WriteClipboard writes a string to the clipboard.
|
||||
func (w *Window) WriteClipboard(s string) {
|
||||
w.driverDefer(func(d driver) {
|
||||
|
||||
Reference in New Issue
Block a user