Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringwidth(3x) [osf1 man page]

XmStringWidth(3X)														 XmStringWidth(3X)

NAME
XmStringWidth - A compound string function that returns the width of the longest sequence of text components in a compound string SYNOPSIS
#include <Xm/Xm.h> Dimension XmStringWidth (fontlist, string) XmFontList fontlist; XmString string; DESCRIPTION
XmStringWidth returns the width, in pixels, of the longest sequence of text components in the provided compound string. Separator compo- nents are used to delimit sequences of text components. Specifies the font list Specifies the string RETURN VALUE
Returns the width of the compound string. SEE ALSO
XmStringCreate(3X) XmStringWidth(3X)

Check Out this Related Man Page

XmString(3X)															      XmString(3X)

NAME
XmString - Data type for a compound string SYNOPSIS
#include <Xm/Xm.h> DESCRIPTION
XmString is the data type for a compound string. Compound strings include one or more segments, each of which may contain a font list ele- ment tag, string direction, and text component. When a compound string is displayed, the font list element tag and the direction are used to determine how to display the text. Whenever a font list element tag is set to XmFONTLIST_DEFAULT_TAG the text is handled as a locale text segment. Calling XtGetValues for a resource whose type is XmString yields a copy of the compound string resource value. The application is responsi- ble for using XmStringFree to free the memory allocated for the copy. Refer to the XmFontList(3X) man page for a description of the algorithm that associates the font list element tag of a compound string seg- ment with a font list entry in a font list. The compound string interface consists of the routines listed under SEE ALSO. SEE ALSO
XmStringBaseline(3X), XmStringByteCompare(3X), XmStringCompare(3X), XmStringConcat(3X), XmStringCopy(3X), XmStringCreate(3X), XmStringCre- ateLtoR(3X), XmStringCreateLocalized(3X), XmStringCreateSimple(3X), XmStringDirection(3X), XmStringDirectionCreate(3X), XmStringDraw(3X), XmStringDrawImage(3X), XmStringDrawUnderline(3X), XmStringEmpty(3X), XmStringExtent(3X), XmStringFree(3X), XmStringFreeContext(3X), XmStringGetLtoR(3X), XmStringGetNextComponent(3X), XmStringGetNextSegment(3X), XmStringHasSubstring(3X), XmStringHeight(3X), XmStringInit- Context(3X), XmStringLength(3X), XmStringLineCount(3X), XmStringNConcat(3X), XmStringNCopy(3X), XmStringPeekNextComponent(3X), XmStringSeg- mentCreate(3X), XmStringSeparatorCreate(3X), XmStringTable(3X), XmStringWidth(3X) XmString(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