Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusEventAcceptFlag = 1 << 0 StatusEventSendPositionsFlag = 1 << 1 // ask to keep sending positions )
Variables ¶
View Source
var DndAtoms struct { XdndAware xproto.Atom XdndEnter xproto.Atom XdndLeave xproto.Atom XdndPosition xproto.Atom XdndStatus xproto.Atom XdndDrop xproto.Atom XdndFinished xproto.Atom XdndActionCopy xproto.Atom XdndActionMove xproto.Atom XdndActionLink xproto.Atom XdndActionAsk xproto.Atom XdndActionPrivate xproto.Atom XdndProxy xproto.Atom XdndTypeList xproto.Atom XdndSelection xproto.Atom }
View Source
var DropTypeAtoms struct { TextURLList xproto.Atom `loadAtoms:"text/uri-list"` // technically, a URL }
Functions ¶
This section is empty.
Types ¶
type Dnd ¶
type Dnd struct {
// contains filtered or unexported fields
}
Drag and drop
func (*Dnd) OnClientMessage ¶
func (dnd *Dnd) OnClientMessage(ev *xproto.ClientMessageEvent) (ev_ interface{}, _ error, ok bool)
Error could be nil.
func (*Dnd) OnSelectionNotify ¶
func (dnd *Dnd) OnSelectionNotify(ev *xproto.SelectionNotifyEvent)
Called after a request for data.
type FinishedEvent ¶
func (*FinishedEvent) Data32 ¶
func (f *FinishedEvent) Data32() []uint32
Click to show internal directories.
Click to hide internal directories.