X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fmitem_current.3x;fp=man%2Fmitem_current.3x;h=648213ac376afb5a8b567272e55b957442c3246c;hp=d76ad8f3b3d29c38966258711a7665cc823ada9c;hb=894a177fd5228cdbe790bd1dc9435bd435c29681;hpb=7e062bb2764a87d98073a90ee65a234a2679f9c1 diff --git a/man/mitem_current.3x b/man/mitem_current.3x index d76ad8f3..648213ac 100644 --- a/man/mitem_current.3x +++ b/man/mitem_current.3x @@ -1,4 +1,3 @@ -'\" t .\"*************************************************************************** .\" Copyright 2018-2022,2023 Thomas E. Dickey * .\" Copyright 1998-2006,2010 Free Software Foundation, Inc. * @@ -28,23 +27,23 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: mitem_current.3x,v 1.32 2023/09/30 21:38:11 tom Exp $ -.TH mitem_current 3X 2023-09-30 "ncurses 6.4" "Library calls" +.\" $Id: mitem_current.3x,v 1.33 2023/10/07 21:19:07 tom Exp $ +.TH mitem_current 3X 2023-10-07 "ncurses 6.4" "Library calls" .SH NAME \fBmitem_current\fP \- set and get current_menu_item .SH SYNOPSIS -\fB#include \fP -.sp -\fBint set_current_item(MENU *\fImenu\fB, ITEM *\fIitem\fB);\fR -.br -\fBITEM *current_item(const MENU *\fImenu\fB);\fR -.sp -\fBint set_top_row(MENU *\fImenu\fB, int \fIrow\fB);\fR -.br -\fBint top_row(const MENU *\fImenu\fB);\fR -.sp -\fBint item_index(const ITEM *\fIitem\fB);\fR +.nf +\fB#include +.PP +\fBint set_current_item(MENU *\fImenu\fP, ITEM *\fIitem\fP); +\fBITEM *current_item(const MENU *\fImenu\fP); +.PP +\fBint set_top_row(MENU *\fImenu\fP, int \fIrow\fP); +\fBint top_row(const MENU *\fImenu\fP); +.PP +\fBint item_index(const ITEM *\fIitem\fP); +.fi .SH DESCRIPTION The function \fBset_current_item\fP sets the current item (the item on which the menu cursor is positioned).