X11 Work Bench Toolkit  1.0
Default Parameters

Functions

static __inline__ Display * WBGetDefaultDisplay (void)
 Returns the default Display. More...
 
XFontStruct * WBGetDefaultFont (void)
 Returns a pointer to the default font's XFontStruct. More...
 
XFontSet WBGetDefaultFontSet (Display *pDisplay)
 Returns an XFontSet for the default font. More...
 
Window WBGetHiddenHelperWindow (void)
 Returns a special 'hidden' window used for information purposes. More...
 

Detailed Description

Functions and variables associated with default parameters

Function Documentation

static __inline__ Display* WBGetDefaultDisplay ( void  )
static

Returns the default Display.

The default display is usually the ONLY display in use by the application. This function returns that Display pointer, which can be used in any case where the current display is not known

See Also
WBGetWindowDisplay()

Header File: window_helper.h

Definition at line 823 of file window_helper.h.

XFontStruct* WBGetDefaultFont ( void  )

Returns a pointer to the default font's XFontStruct.

Returns
A pointer to an XFontStruct, or 'NULL' on error

The default XFontStruct is allocated at startup. This function returns a pointer to this XFontStruct, which can be used in a case where the 'in use' XFontStruct is not known, or when an overriding font has not been specified.

Header File: window_helper.h

Definition at line 1142 of file window_helper.c.

XFontSet WBGetDefaultFontSet ( Display *  pDisplay)

Returns an XFontSet for the default font.

Parameters
pDisplayA pointer to the Display, or NULL to use the default Display
Returns
An XFontSet, or 'None' on error

The default XFontSet is allocated at startup from the default XFontStruct. This function returns this XFontSet, which can be used in a case where the 'in use' XFontSet is not known, or when an overriding font set has not been specified.

Header File: window_helper.h

Definition at line 1154 of file window_helper.c.

Window WBGetHiddenHelperWindow ( void  )

Returns a special 'hidden' window used for information purposes.

This function returns a special window that was created for information purposes. If you need a window for query purposes that belongs to the default display, you can use the one returned by this function.

Header File: window_helper.h

Definition at line 1173 of file window_helper.c.