mpc-tool-bar-map
mpc-tool-bar-map is a variable defined in `
mpc.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Not documented as a variable.
Value:
(keymap
(prev menu-item "prev" mpc-prev :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/prev.pbm" :foreground "black")
(:type xbm :file "mpc/prev.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/prev.xpm")
(:type xpm :file "mpc/prev.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/prev.xpm")
(:type xpm :file "mpc/prev.xpm")
(:type pbm :file "mpc/prev.pbm" :foreground "black")
(:type xbm :file "mpc/prev.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/prev.xpm")
(:type pbm :file "mpc/prev.pbm" :foreground "black")
(:type xbm :file "mpc/prev.xbm" :foreground "black")))))
:enable
(not
(equal
(cdr
(assq 'state mpc-status))
"stop"))
:label "Prev" :vert-only t)
(rewind menu-item "rewind" mpc-rewind :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/rewind.pbm" :foreground "black")
(:type xbm :file "mpc/rewind.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/rewind.xpm")
(:type xpm :file "mpc/rewind.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/rewind.xpm")
(:type xpm :file "mpc/rewind.xpm")
(:type pbm :file "mpc/rewind.pbm" :foreground "black")
(:type xbm :file "mpc/rewind.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/rewind.xpm")
(:type pbm :file "mpc/rewind.pbm" :foreground "black")
(:type xbm :file "mpc/rewind.xbm" :foreground "black")))))
:enable
(not
(equal
(cdr
(assq 'state mpc-status))
"stop"))
:label "Rew" :vert-only t :button
(:toggle and mpc--faster-toggle-timer
(not mpc--faster-toggle-forward)))
(pause menu-item "pause" mpc-pause :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/pause.pbm" :foreground "black")
(:type xbm :file "mpc/pause.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/pause.xpm")
(:type xpm :file "mpc/pause.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/pause.xpm")
(:type xpm :file "mpc/pause.xpm")
(:type pbm :file "mpc/pause.pbm" :foreground "black")
(:type xbm :file "mpc/pause.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/pause.xpm")
(:type pbm :file "mpc/pause.pbm" :foreground "black")
(:type xbm :file "mpc/pause.xbm" :foreground "black")))))
:label "Pause" :vert-only t :visible
(equal
(cdr
(assq 'state mpc-status))
"play")
:help "Pause/play")
(play menu-item "play" mpc-play :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/play.pbm" :foreground "black")
(:type xbm :file "mpc/play.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/play.xpm")
(:type xpm :file "mpc/play.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/play.xpm")
(:type xpm :file "mpc/play.xpm")
(:type pbm :file "mpc/play.pbm" :foreground "black")
(:type xbm :file "mpc/play.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/play.xpm")
(:type pbm :file "mpc/play.pbm" :foreground "black")
(:type xbm :file "mpc/play.xbm" :foreground "black")))))
:label "Play" :vert-only t :visible
(not
(equal
(cdr
(assq 'state mpc-status))
"play"))
:help "Play/pause")
(ffwd menu-item "ffwd" mpc-ffwd :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/ffwd.pbm" :foreground "black")
(:type xbm :file "mpc/ffwd.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/ffwd.xpm")
(:type xpm :file "mpc/ffwd.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/ffwd.xpm")
(:type xpm :file "mpc/ffwd.xpm")
(:type pbm :file "mpc/ffwd.pbm" :foreground "black")
(:type xbm :file "mpc/ffwd.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/ffwd.xpm")
(:type pbm :file "mpc/ffwd.pbm" :foreground "black")
(:type xbm :file "mpc/ffwd.xbm" :foreground "black")))))
:enable
(not
(equal
(cdr
(assq 'state mpc-status))
"stop"))
:label "Ffwd" :vert-only t :button
(:toggle and mpc--faster-toggle-timer mpc--faster-toggle-forward))
(next menu-item "next" mpc-next :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/next.pbm" :foreground "black")
(:type xbm :file "mpc/next.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/next.xpm")
(:type xpm :file "mpc/next.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/next.xpm")
(:type xpm :file "mpc/next.xpm")
(:type pbm :file "mpc/next.pbm" :foreground "black")
(:type xbm :file "mpc/next.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/next.xpm")
(:type pbm :file "mpc/next.pbm" :foreground "black")
(:type xbm :file "mpc/next.xbm" :foreground "black")))))
:label "Next" :vert-only t :enable
(not
(equal
(cdr
(assq 'state mpc-status))
"stop")))
(stop menu-item "stop" mpc-stop :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/stop.pbm" :foreground "black")
(:type xbm :file "mpc/stop.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/stop.xpm")
(:type xpm :file "mpc/stop.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/stop.xpm")
(:type xpm :file "mpc/stop.xpm")
(:type pbm :file "mpc/stop.pbm" :foreground "black")
(:type xbm :file "mpc/stop.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/stop.xpm")
(:type pbm :file "mpc/stop.pbm" :foreground "black")
(:type xbm :file "mpc/stop.xbm" :foreground "black")))))
:label "Stop" :vert-only t)
(add menu-item "add" mpc-playlist-add :image
(find-image
(cond
((not
(display-color-p))
'((:type pbm :file "mpc/add.pbm" :foreground "black")
(:type xbm :file "mpc/add.xbm" :foreground "black")
(:type xpm :file "low-color/mpc/add.xpm")
(:type xpm :file "mpc/add.xpm")))
((<
(display-color-cells)
256)
'((:type xpm :file "low-color/mpc/add.xpm")
(:type xpm :file "mpc/add.xpm")
(:type pbm :file "mpc/add.pbm" :foreground "black")
(:type xbm :file "mpc/add.xbm" :foreground "black")))
(t
'((:type xpm :file "mpc/add.xpm")
(:type pbm :file "mpc/add.pbm" :foreground "black")
(:type xbm :file "mpc/add.xbm" :foreground "black")))))
:label "Add" :vert-only t :help "Append to the playlist"))