Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtcomboboxadditem(3) [hpux man page]

DtComboBoxAddItem(library call) 										   DtComboBoxAddItem(library call)

NAME
DtComboBoxAddItem -- add an item to the ComboBox widget SYNOPSIS
#include <Dt/ComboBox.h> void DtComboBoxAddItem( Widget w, XmString item, int pos, Boolean unique); DESCRIPTION
Note: This function has been superseded by the equivalent Motif function, XmComboBoxAddItem. Please refer to the Motif Programmer's Refer- ence for more information. The DtComboBoxAddItem function adds the given item to the DtComboBox at the given position. The w argument specifies the DtComboBox widget ID. The item argument specifies the XmString for the new item. The pos argument specifies the position of the new item. The unique argument specifies if this item should duplicate an identical item or not. RETURN VALUE
The DtComboBoxAddItem function returns no value. APPLICATION USAGE
The functions DtComboBoxAddItem and DtComboBoxDeletePos have different naming conventions (Item versus Pos) because of the objects they are manipulating. The Item is a string to be added, the Pos is a numeric position number. SEE ALSO
DtComboBox(3), DtComboBoxDeletePos(3), DtComboBoxSetItem(3), DtComboBoxSelectItem(3). DtComboBoxAddItem(library call)

Check Out this Related Man Page

XmListReplaceItemsPos(library call)									       XmListReplaceItemsPos(library call)

NAME
XmListReplaceItemsPos -- A List function that replaces the specified elements in the list SYNOPSIS
#include <Xm/List.h> void XmListReplaceItemsPos( Widget widget, XmString *new_items, int item_count, int position); DESCRIPTION
XmListReplaceItemsPos replaces the specified number of items of the List with new items, starting at the specified position in the List. When the items are inserted into the list, they are compared with the current XmNselectedItems list. If any of the new items matches an item on the selected list, it appears selected. widget Specifies the ID of the List widget. new_items Specifies the replacement items. item_count Specifies the number of items in new_items and the number of items in the list to replace. This number must be nonnegative. position Specifies the position of the first item in the list to be replaced. A value of 1 indicates that the first item replaced is the first item in the list; a value of 2 indicates that it is the second item; and so on. Beginning with the item specified in position, item_count items in the list are replaced with the corresponding elements from new_items. That is, the item at position is replaced with the first element of new_items; the item after position is replaced with the second element of new_items; and so on, until item_count is reached. For a complete definition of List and its associated resources, see XmList(3). RELATED
XmList(3). XmListReplaceItemsPos(library call)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

2. News, Links, Events and Announcements

eBay Unix systems

I should add a disclaimer: I am not affiliated with the sellers in any way, nor do I have any more knowledge than any other person reading the description about the item. This is simply for your reference. I see a good number of people wanting a SPARC system to play with, and even more that... (1 Reply)
Discussion started by: LivinFree
1 Replies

3. Shell Programming and Scripting

Merge all the files in a folder in FIFO order

Hi All, I have to merge the data in all the files in a folder such that the data of the earliest file come first then the second file's data and so on. Please help. Thanks. (22 Replies)
Discussion started by: unankix
22 Replies

4. Shell Programming and Scripting

Discard part of a file based on a pattern ---

I have the file: s3_T0(2) Pos "1" "2" s1_T1(2) Pos "1" "2" --- 0 0 1 0 0 1 1 1 --- 1 2 "tau0" 1 2 "h10" I want to patternmatch on --- and get only the third part i.e. 1 2 "tau0" 1 2 "h10" I wanted to start simple but even something like (5 Replies)
Discussion started by: eagle_fly
5 Replies