Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
9ec6f100
Commit
9ec6f100
authored
Oct 11, 2009
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fframe_pixel_height): Doc fix. (Bug#4535)
parent
4619ff5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
src/ChangeLog
src/ChangeLog
+4
-0
src/frame.c
src/frame.c
+16
-4
No files found.
src/ChangeLog
View file @
9ec6f100
2009-10-11 Glenn Morris <rgm@gnu.org>
* frame.c (Fframe_pixel_height): Doc fix. (Bug#4535)
2009-10-08 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (create_menus): Call gtk_widget_set_size_request for
...
...
src/frame.c
View file @
9ec6f100
...
...
@@ -2643,10 +2643,22 @@ For a terminal screen, the value is always 1. */)
DEFUN
(
"frame-pixel-height"
,
Fframe_pixel_height
,
Sframe_pixel_height
,
0
,
1
,
0
,
doc
:
/* Return a FRAME's height in pixels.
This counts only the height available for text lines,
not menu bars on window-system Emacs frames.
For a terminal frame, the result really gives the height in characters.
If FRAME is omitted, the selected frame is used. */
)
If FRAME is omitted, the selected frame is used. The exact value
of the result depends on the window-system and toolkit in use:
In the Gtk+ version of Emacs, it includes only any window (including
the minibuffer or eacho area), mode line, and header line. It does not
include the tool bar or menu bar.
With the Motif or Lucid toolkits, it also includes the tool bar (but
not the menu bar).
In a graphical version with no toolkit, it includes both the tool bar
and menu bar.
For a text-only terminal, it includes the menu bar. In this case, the
result is really in characters rather than pixels (i.e., is identical
to `frame-height'). */
)
(
frame
)
Lisp_Object
frame
;
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment