Linux Manuals session 3

Section 3: library functions

  • |

    TransformedGrid (3) Linux Manual Page

    QuantLib::TransformedGrid – transformed grid Synopsis#include <ql/math/transformedgrid.hpp> Inherited by LogGrid. Public Member FunctionsTransformedGrid (const Array &grid) template<class T > TransformedGrid (const Array &grid, T func) const Array & gridArray () const const Array & transformedGridArray () const const Array & dxmArray () const const Array & dxpArray () const const Array & dxArray () const Real…

  • |

    TqrEigenDecomposition (3) Linux Manual Page

    QuantLib::TqrEigenDecomposition – tridiag. QR eigen decomposition with explicite shift aka Wilkinson Synopsis#include <ql/math/matrixutilities/tqreigendecomposition.hpp> Public Typesenum EigenVectorCalculation { WithEigenVector, WithoutEigenVector, OnlyFirstRowEigenVector } enum ShiftStrategy { NoShift, Overrelaxation, CloseEigenValue } Public Member FunctionsTqrEigenDecomposition (const Array &diag, const Array &sub, EigenVectorCalculation calc=WithEigenVector, ShiftStrategy strategy=CloseEigenValue) const Array & eigenvalues () const const Matrix & eigenvectors () const Size iterations…

  • |

    TopLevelShell (3) Linux Manual Page

    TopLevelShell — The TopLevelShell widget class Synopsis#include <Xm/Xm.h> #include <X11/Shell.h>DescriptionTopLevelShell is used for normal top-level windows such as any additional top-level widgets an application needs. ClassesTopLevelShell inherits behavior and resources from Core, Composite, Shell, WMShell, and VendorShell. The class pointer is topLevelShellWidgetClass. The class name is TopLevelShell. New ResourcesThe following table defines a set of…

  • |

    Tk_Y (3) Linux Manual Page

    Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_MinReqWidth, Tk_MinReqHeight, Tk_InternalBorderLeft, Tk_InternalBorderRight, Tk_InternalBorderTop, Tk_InternalBorderBottom, Tk_Visual, Tk_Depth, Tk_Colormap, Tk_Interp – retrieve information from Tk’s local data structure Synopsis#include <tk.h> Window Tk_WindowId(tkwin) Tk_Window Tk_Parent(tkwin) Display * Tk_Display(tkwin) const char * Tk_DisplayName(tkwin) int Tk_ScreenNumber(tkwin) Screen * Tk_Screen(tkwin) int…

  • |

    Tk_X (3) Linux Manual Page

    Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_MinReqWidth, Tk_MinReqHeight, Tk_InternalBorderLeft, Tk_InternalBorderRight, Tk_InternalBorderTop, Tk_InternalBorderBottom, Tk_Visual, Tk_Depth, Tk_Colormap, Tk_Interp – retrieve information from Tk’s local data structure Synopsis#include <tk.h> Window Tk_WindowId(tkwin) Tk_Window Tk_Parent(tkwin) Display * Tk_Display(tkwin) const char * Tk_DisplayName(tkwin) int Tk_ScreenNumber(tkwin) Screen * Tk_Screen(tkwin) int…

  • |

    Tk_WindowId (3) Linux Manual Page

    Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_MinReqWidth, Tk_MinReqHeight, Tk_InternalBorderLeft, Tk_InternalBorderRight, Tk_InternalBorderTop, Tk_InternalBorderBottom, Tk_Visual, Tk_Depth, Tk_Colormap, Tk_Interp – retrieve information from Tk’s local data structure Synopsis#include <tk.h> Window Tk_WindowId(tkwin) Tk_Window Tk_Parent(tkwin) Display * Tk_Display(tkwin) const char * Tk_DisplayName(tkwin) int Tk_ScreenNumber(tkwin) Screen * Tk_Screen(tkwin) int…

  • |

    Tk_Width (3) Linux Manual Page

    Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_MinReqWidth, Tk_MinReqHeight, Tk_InternalBorderLeft, Tk_InternalBorderRight, Tk_InternalBorderTop, Tk_InternalBorderBottom, Tk_Visual, Tk_Depth, Tk_Colormap, Tk_Interp – retrieve information from Tk’s local data structure Synopsis#include <tk.h> Window Tk_WindowId(tkwin) Tk_Window Tk_Parent(tkwin) Display * Tk_Display(tkwin) const char * Tk_DisplayName(tkwin) int Tk_ScreenNumber(tkwin) Screen * Tk_Screen(tkwin) int…

  • |

    Tk_Visual (3) Linux Manual Page

    Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_MinReqWidth, Tk_MinReqHeight, Tk_InternalBorderLeft, Tk_InternalBorderRight, Tk_InternalBorderTop, Tk_InternalBorderBottom, Tk_Visual, Tk_Depth, Tk_Colormap, Tk_Interp – retrieve information from Tk’s local data structure Synopsis#include <tk.h> Window Tk_WindowId(tkwin) Tk_Window Tk_Parent(tkwin) Display * Tk_Display(tkwin) const char * Tk_DisplayName(tkwin) int Tk_ScreenNumber(tkwin) Screen * Tk_Screen(tkwin) int…

  • |

    Tk_UnsetGrid (3) Linux Manual Page

    Tk_SetGrid, Tk_UnsetGrid – control the grid for interactive resizing Synopsis#include <tk.h> Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heightInc) Tk_UnsetGrid(tkwin)ArgumentsTk_Window tkwin (in) Token for window. int reqWidth (in) Width in grid units that corresponds to the pixel dimension tkwin has requested via Tk_GeometryRequest. int reqHeight (in) Height in grid units that corresponds to the pixel dimension tkwin has…

  • |

    Tk_UnmapWindow (3) Linux Manual Page

    Tk_MapWindow, Tk_UnmapWindow – map or unmap a window Synopsis#include <tk.h> Tk_Window Tk_MapWindow(tkwin) Tk_UnmapWindow(tkwin)ArgumentsTk_Window tkwin (in) Token for window. DescriptionThese procedures may be used to map and unmap windows managed by Tk. Tk_MapWindow maps the window given by tkwin, and also creates an X window corresponding to tkwin if it does not already exist. See the…

  • |

    Tk_UnmaintainGeometry (3) Linux Manual Page

    Tk_MaintainGeometry, Tk_UnmaintainGeometry – maintain geometry of one window relative to another Synopsis#include <tk.h> Tk_MaintainGeometry(slave, master, x, y, width, height) Tk_UnmaintainGeometry(slave, master)ArgumentsTk_Window slave (in) Window whose geometry is to be controlled. Tk_Window master (in) Window relative to which slave‘s geometry will be controlled. int x (in) Desired x-coordinate of slave in master, measured in pixels from…

  • |

    Tk_Ungrab (3) Linux Manual Page

    Tk_Grab, Tk_Ungrab – manipulate grab state in an application Synopsis#include <tk.h> int Tk_Grab(interp, tkwin, grabGlobal) void Tk_Ungrab(tkwin)ArgumentsTcl_Interp *interp (in) Interpreter to use for error reporting Tk_Window tkwin (in) Window on whose behalf the pointer is to be grabbed or released int grabGlobal (in) Boolean indicating whether the grab is global or application local DescriptionThese functions…

  • |

    Tk_UnderlineTextLayout (3) Linux Manual Page

    Tk_ComputeTextLayout, Tk_FreeTextLayout, Tk_DrawTextLayout, Tk_UnderlineTextLayout, Tk_PointToChar, Tk_CharBbox, Tk_DistanceToTextLayout, Tk_IntersectTextLayout, Tk_TextLayoutToPostscript – routines to measure and display single-font, multi-line, justified text. Synopsis#include <tk.h> Tk_TextLayout Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags, widthPtr, heightPtr) void Tk_FreeTextLayout(layout) void Tk_DrawTextLayout(display, drawable, gc, layout, x, y, firstChar, lastChar) void Tk_UnderlineTextLayout(display, drawable, gc, layout, x, y, underline) int Tk_PointToChar(layout, x, y) int Tk_CharBbox(layout,…

  • |

    Tk_UnderlineChars (3) Linux Manual Page

    Tk_MeasureChars, Tk_TextWidth, Tk_DrawChars, Tk_UnderlineChars – routines to measure and display simple single-line strings. Synopsis#include <tk.h> int Tk_MeasureChars(tkfont, string, numBytes, maxPixels, flags, lengthPtr) int Tk_TextWidth(tkfont, string, numBytes) Tk_DrawChars(display, drawable, gc, tkfont, string, numBytes, x, y) Tk_UnderlineChars(display, drawable, gc, tkfont, string, x, y, firstByte, lastByte)ArgumentsTk_Font tkfont (in) Token for font in which text is to be drawn…

  • |

    Tk_UndefineCursor (3) Linux Manual Page

    Tk_ConfigureWindow, Tk_MoveWindow, Tk_ResizeWindow, Tk_MoveResizeWindow, Tk_SetWindowBorderWidth, Tk_ChangeWindowAttributes, Tk_SetWindowBackground, Tk_SetWindowBackgroundPixmap, Tk_SetWindowBorder, Tk_SetWindowBorderPixmap, Tk_SetWindowColormap, Tk_DefineCursor, Tk_UndefineCursor – change window configuration or attributes Synopsis#include <tk.h> Tk_ConfigureWindow(tkwin, valueMask, valuePtr) Tk_MoveWindow(tkwin, x, y) Tk_ResizeWindow(tkwin, width, height) Tk_MoveResizeWindow(tkwin, x, y, width, height) Tk_SetWindowBorderWidth(tkwin, borderWidth) Tk_ChangeWindowAttributes(tkwin, valueMask, attsPtr) Tk_SetWindowBackground(tkwin, pixel) Tk_SetWindowBackgroundPixmap(tkwin, pixmap) Tk_SetWindowBorder(tkwin, pixel) Tk_SetWindowBorderPixmap(tkwin, pixmap) Tk_SetWindowColormap(tkwin, colormap) Tk_DefineCursor(tkwin, cursor) Tk_UndefineCursor(tkwin)ArgumentsTk_Window tkwin (in)…

  • |

    Tk_Uid (3) Linux Manual Page

    Tk_GetUid, Tk_Uid – convert from string to unique identifier Synopsis#include <tk.h> Tk_Uid Tk_GetUid(string)Argumentschar *string (in) String for which the corresponding unique identifier is desired. DescriptionTk_GetUid returns the unique identifier corresponding to string. Unique identifiers are similar to atoms in Lisp, and are used in Tk to speed up comparisons and searches. A unique identifier (type…

  • |

    Tk_TextWidth (3) Linux Manual Page

    Tk_MeasureChars, Tk_TextWidth, Tk_DrawChars, Tk_UnderlineChars – routines to measure and display simple single-line strings. Synopsis#include <tk.h> int Tk_MeasureChars(tkfont, string, numBytes, maxPixels, flags, lengthPtr) int Tk_TextWidth(tkfont, string, numBytes) Tk_DrawChars(display, drawable, gc, tkfont, string, numBytes, x, y) Tk_UnderlineChars(display, drawable, gc, tkfont, string, x, y, firstByte, lastByte)ArgumentsTk_Font tkfont (in) Token for font in which text is to be drawn…

  • |

    Tk_TextLayoutToPostscript (3) Linux Manual Page

    Tk_ComputeTextLayout, Tk_FreeTextLayout, Tk_DrawTextLayout, Tk_UnderlineTextLayout, Tk_PointToChar, Tk_CharBbox, Tk_DistanceToTextLayout, Tk_IntersectTextLayout, Tk_TextLayoutToPostscript – routines to measure and display single-font, multi-line, justified text. Synopsis#include <tk.h> Tk_TextLayout Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags, widthPtr, heightPtr) void Tk_FreeTextLayout(layout) void Tk_DrawTextLayout(display, drawable, gc, layout, x, y, firstChar, lastChar) void Tk_UnderlineTextLayout(display, drawable, gc, layout, x, y, underline) int Tk_PointToChar(layout, x, y) int Tk_CharBbox(layout,…

  • |

    Tk_StrictMotif (3) Linux Manual Page

    Tk_StrictMotif – Return value of tk_strictMotif variable Synopsis#include <tk.h> int Tk_StrictMotif(tkwin)ArgumentsTk_Window tkwin (in) Token for window. DescriptionThis procedure returns the current value of the tk_strictMotif variable in the interpreter associated with tkwin‘s application. The value is returned as an integer that is either 0 or 1. 1 means that strict Motif compliance has been requested,…

  • |

    Tk_SizeOfImage (3) Linux Manual Page

    Tk_GetImage, Tk_RedrawImage, Tk_SizeOfImage, Tk_FreeImage – use an image in a widget Synopsis#include <tk.h> Tk_Image Tk_GetImage(interp, tkwin, name, changeProc, clientData) Tk_RedrawImage(image, imageX, imageY, width, height, drawable, drawableX, drawableY) Tk_SizeOfImage(image, widthPtr, heightPtr) Tk_FreeImage(image)ArgumentsTcl_Interp *interp (in) Place to leave error message. Tk_Window tkwin (in) Window in which image will be used. const char *name (in) Name of image….