Function: tool-bar-pixel-width

tool-bar-pixel-width is a function defined in frame.c.

Signature

(tool-bar-pixel-width &optional FRAME)

Documentation

Return width in pixels of FRAME's tool bar.

The result is greater than zero only when the tool bar is on the left or right side of FRAME. If FRAME is omitted or nil, the selected frame is used.

Source Code

// Defined in /usr/src/emacs/src/frame.c
{
#ifdef FRAME_TOOLBAR_WIDTH
  struct frame *f = decode_any_frame (frame);

  if (FRAME_WINDOW_P (f))
    return make_fixnum (FRAME_TOOLBAR_WIDTH (f));
#endif
  return make_fixnum (0);
}