Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmreptypevalidvalue(3x) [osf1 man page]

XmRepTypeValidValue(3X) 												   XmRepTypeValidValue(3X)

NAME
XmRepTypeValidValue - A representation type manager function that tests the validity of a numerical value of a representation type resource SYNOPSIS
#include <Xm/RepType.h> Boolean XmRepTypeValidValue (rep_type_id, test_value, enable_default_warning) XmRepTypeId rep_type_id; unsigned char test_value; Widget enable_default_warning; DESCRIPTION
XmRepTypeValidValue tests the validity of a numerical value for a given representation type resource. The function generates a default warning message if the value is invalid and the enable_default_warning argument is non-NULL. Specifies the identification number of the representation type. Specifies the numerical value to test. Specifies the ID of the widget that contains a default warning message. If this parameter is NULL, no default warning message is generated and the application must provide its own error handling. RETURN VALUE
Returns True if the specified value is valid; otherwise, returns False. SEE ALSO
XmRepTypeGetId(3X), XmRepTypeRegister(3X) XmRepTypeValidValue(3X)

Check Out this Related Man Page

XmRepTypeGetRecord(3X)													    XmRepTypeGetRecord(3X)

NAME
XmRepTypeGetRecord - A representation type manager function that returns information about a representation type SYNOPSIS
#include <Xm/RepType.h> XmRepTypeEntry XmRepTypeGetRecord (rep_type_id) XmRepTypeId rep_type_id; DESCRIPTION
XmRepTypeGetRecord retrieves information about a particular representation type that is registered with the representation type manager. This routine allocates memory for the returned data. The application must free this memory using XtFree. The identification number of the representation type The representation type entry structure contains the following information: typedef struct { String rep_type_name; String *value_names; unsigned char *values; unsigned char num_values; Boolean reverse_installed; XmRepTypeId rep_type_id; } XmRepTypeEntryRec, *XmRepTypeEntry ; The name of the representation type An array of representation type value names An array of representation type numerical values The number of values associated with the representation type A flag that indicates whether or not the reverse converter is installed The identifica- tion number of the representation type RETURN VALUE
Returns a pointer to the representation type entry structure that describes the representation type. SEE ALSO
XmRepTypeGetId(3X), XmRepTypeGetRegistered(3X), XmRepTypeRegister(3X) XmRepTypeGetRecord(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