4

Following this blog post, I am interested in using popup.el for my own purposes. In the post, he mentions to add a scroll bar with the :scroll-bar argument. If I include the :scroll-bar t option in popup-tip a scroll bar is displayed, but I couldn't find any way to actually use it. Is this functionality just not implemented? If it is, could you provide an example?

(defun hlwm/object-tree ()
  "Show the current hlwm object tree in a buffer."
  (let* ((shell-command-switch "-c")
     (object-tree-string
      (shell-command-to-string "herbstclient object_tree")))
    (popup-tip object-tree-string
           :point (point)
           :around t
           :height 30
           :scroll-bar t
           :margin t)))
1
  • Dunno whether it is pertinent here, but Emacs scroll bars generally depend on the toolkit or platform. – Drew Aug 15 '16 at 1:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.