Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dxmsvngetcomponentwidth(3x) [osf1 man page]

DXmSvnGetComponentWidth(3X)											       DXmSvnGetComponentWidth(3X)

NAME
DXmSvnGetComponentWidth - Retrieves (returns) the width of a specified component. SYNOPSIS
int DXmSvnGetComponentWidth( Widget widget, int comp_number ); PARAMETERS
The identifier (widget ID) of the SVN widget. An integer that represents the component number. DESCRIPTION
The DXmSvnGetComponentWidth routine is called whenever the application requires the component width that is associated with a particular component number. You can set the value for the width by using the DXmSvnInsertComponent or DXmSvnSetComponentWidth routine. Note that the SVN widget automatically increases the width field whenever it encounters a component that is wider than the current width value. RETURN VALUES
An integer that represents the width of the component. DXmSvnGetComponentWidth(3X)

Check Out this Related Man Page

DXmSvnSetEntry(3X)														DXmSvnSetEntry(3X)

NAME
DXmSvnSetEntry - Provides the SVN widget with new entry level information. SYNOPSIS
void DXmSvnSetEntry( Widget widget, int entry, int width, int height, int number, Boolean sens, XtPointer tag, Boolean index ); PARAMETERS
The identifier (widget ID) of the SVN widget. An integer that represents the number of the entry for which information will be set or changed. An integer that represents the width of the entry. This value is used to allocate sufficient display space for the entry. If 0 is specified, the SVN widget will calculate the width based on the components and font. An integer that represents the height of the entry. This value is used to allocate sufficient display space for the entry. If 0 is specified, the SVN widget will calculate the height based on the components and font. An integer that represents the number of components in this entry. A Boolean value that, when True, makes this entry sensitive (the user can select it). When False, the display for that entry will be dimmed to indicate that the entry is not sensitive (the user cannot select it). The value that the application will associate with the entry. This value is returned in all callbacks that set the entry_number field in the DXmSvnCallback structure. A Boolean value that, when True, indicates that all of the entries being added should be displayed in the scroll index window when the user drags the slider. Note that if you set this argument to True, the DXmNliveScrolling resource must be set to False. DESCRIPTION
The DXmSvnSetEntry routine enables an application to respond to a DXmSvnCRGetEntry callback requesting the information for an entry. You can specify a subset of the information allowed on this call by using the following routines: DXmSvnSetEntryNumComponents DXmSvnSetEntryTag DXmSvnSetEntryIndexWindow DXmSvnSetEntrySensitivity DXmSvnSetEntry Make this call in your application between calls to DXmSvnDisableDisplay and DXmSvnEnableDisplay. After making a call to this routine, your application should call the DXmSvnSetComponentText, DXmSvnSetComponentPixmap, and DXmSvnSetComponentWidget routines to individually supply the component information. Note that if your application calls the DXmSvnSetEntry routine to modify an existing entry and the number of entries changes, all previous component information is discarded. DXmSvnSetEntry(3X)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies