*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmNotebookGetPageInfo (3)              
Title
Content
Arch
Section
 

Contents


 XmNotebookGetPageInfo(library call)     XmNotebookGetPageInfo(library call)




 NAME    [Toc]    [Back]
      XmNotebookGetPageInfo - A Notebook function that returns page
      information

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Notebook.h>
      XmNotebookPageStatus XmNotebookGetPageInfo(
      Widget notebook,
      int page_number,
      XmNotebookPageInfo *page_info);

 DESCRIPTION    [Toc]    [Back]
      XmNotebookGetPageInfo returns status information for the specified
      Notebook page.

      notebook  Specifies the Notebook widget.

      page_number
                Specifies the page number to be queried.

      page_info Points to the structure containing the page information. The
                structure has the following form:

      typedef struct
      {
              int     page_number;
              Widget  page_widget;
              Widget  status_area_widget;
              Widget  major_tab_widget;
              Widget  minor_tab_widget;
      } XmNotebookPageInfo;
      (void)

           page_number
                     Specifies the page_number passed to the function.

           page_widget
                     Specifies a child widget of the Notebook with a
                     XmNchildType of XmPAGE and a XmNpageNumber equal to
                     page_number if one exists; otherwise set to NULL.

           status_area_widget
                     Specifies a child widget of the Notebook with a
                     XmNchildType of XmSTATUS_AREA and a XmNpageNumber equal
                     to page_number if one exists; otherwise set to NULL.

           major_tab_widget
                     Specifies a child widget of the Notebook with a
                     XmNchildType of XmMAJOR_TAB and the nearest
                     XmNpageNumber equal to or less than page_number if one
                     exists; otherwise set to NULL.



                                    - 1 -       Formatted:  January 24, 2005






 XmNotebookGetPageInfo(library call)     XmNotebookGetPageInfo(library call)




           minor_tab_widget
                     Specifies a child widget of the Notebook with a
                     XmNchildType of XmMINOR_TAB and the nearest
                     XmNpageNumber equal to or less than page_number if one
                     exists; otherwise set to NULL.

      For a complete definition of Notebook and its associated resources,
      see XmNotebook(3).

 RETURN    [Toc]    [Back]
      Returns one of the following page status values:

      XmPAGE_FOUND    [Toc]    [Back]
                The specified page was found.

      XmPAGE_INVALID    [Toc]    [Back]
                The specified page number is out of the page number range.

      XmPAGE_EMPTY    [Toc]    [Back]
                The specified page does not have a page widget.

      XmPAGE_DUPLICATED    [Toc]    [Back]
                There is more than one page widget with the specified page
                number. The more recently managed page widget is used for
                the page information structure.

 RELATED    [Toc]    [Back]
      XmNotebook(3).


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmCreateNotebook HP-UX The Notebook widget creation function
vm_page_grab FreeBSD returns a page from an object
xcalendar IRIX calendar with a notebook for X11
XmRepTypeGetRecord HP-UX A representation type manager function that returns information about a representation type
XmRepTypeGetRecord Tru64 A representation type manager function that returns information about a representation type
XmRepTypeGetRecord IRIX A representation type manager function that returns information about a representation type
tmnotebook IRIX the Notebook widget class
XmNotebook HP-UX The Notebook widget class
sysinfo Linux returns information on overall system statistics
glxquerycontextinfoext IRIX returns information about a GLX rendering context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service