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

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

Contents


 XmTabListReplacePositions(library calXlm)TabListReplacePositions(library call)




 NAME    [Toc]    [Back]
      XmTabListReplacePositions - A convenience function that creates a new
      tab list with replacement tabs

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>
      XmTabList XmTabListReplacePositions(
      XmTabList oldlist,
      Cardinal *position_list,
      XmTab *tabs,
      Cardinal tab_count);

 DESCRIPTION    [Toc]    [Back]
      XmTabListReplacePositions creates a new tab list that contains the
      contents of oldlist, but with the tabs at the positions in
      position_list replaced with copies of the corresponding tabs in tabs.
      A warning message is displayed if a specified position is invalid; for
      example, if the value is a number greater than the number of tabs in
      the tab list.

      This function deallocates the original tab list after extracting the
      required information. It is the caller's responsibility to free the
      tabs in tabs by using the XmTabFree function.

      oldlist   Specifies the tab list.  The function deallocates the tab
                list after extracting the required information.

      position_list
                Specifies an array of positions of the tabs to be replaced.
                The position of the first tab is 0 (zero), the position of
                the second tab is 1, and so on.

      tabs      Specifies an array of the replacement tabs.

      tab_count Specifies the number of elements in position_list and tabs.

 RETURN    [Toc]    [Back]
      If tabs, oldlist, or position_list is NULL, or tab_count is 0 (zero),
      returns oldlist. Otherwise, this function returns the new tab list.
      The function allocates space to hold the returned tab list.  The
      application is responsible for managing the allocated space.  The
      application can recover the allocated space by calling XmTabListFree.

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


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmTabListInsertTabs HP-UX A convenience function that inserts tabs into a tab list
XmTabListCopy HP-UX A convenience function that creates a new tab list from an existing list
XmTabListRemoveTabs HP-UX A convenience function that removes noncontiguous tabs
XmTabListTabCount HP-UX A convenience function that counts the number of tabs
XmListReplaceItemsPosUnselected Tru64 A List function that replaces items in a list without selecting the replacement items
XmListReplaceItemsPosUnselected IRIX A List function that replaces items in a list without selecting the replacement items
XmListReplaceItemsPosUnselected HP-UX A List function that replaces items in a list without selecting the replacement items
XmTabCreate HP-UX A convenience function that creates a tab stop
XmRenditionCreate HP-UX A convenience function that creates a rendition
XmFontListEntryLoad IRIX A font list function that loads a font or creates a font set and creates an accompanying font list entry
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service