SysTutorials Posts

  • |

    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)…

  • |

    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)…

  • |

    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) Arguments Tk_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…

  • |

    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) Arguments Tk_Window tkwin (in) Token for window. Description These 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…

  • |

    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) Arguments Tk_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…

  • |

    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) Arguments Tcl_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…

  • |

    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_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) Arguments Tk_Font tkfont (in) Token for font in which text is…

  • |

    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) Arguments…

  • |

    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) Arguments char *string (in) String for which the corresponding unique identifier is desired. Description Tk_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….

  • |

    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) Arguments Tk_Font tkfont (in) Token for font in which text is…

  • |

    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_StrictMotif (3) Linux Manual Page

    Tk_StrictMotif – Return value of tk_strictMotif variable Synopsis #include <tk.h> int Tk_StrictMotif(tkwin) Arguments Tk_Window tkwin (in) Token for window. Description This 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…

  • |

    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) Arguments Tcl_Interp *interp (in) Place to leave error message. Tk_Window tkwin (in) Window in which image will be used. const char *name (in)…

  • |

    Tk_SizeOfBitmap (3) Linux Manual Page

    Tk_AllocBitmapFromObj, Tk_GetBitmap, Tk_GetBitmapFromObj, Tk_DefineBitmap, Tk_NameOfBitmap, Tk_SizeOfBitmap, Tk_FreeBitmapFromObj, Tk_FreeBitmap – maintain database of single-plane pixmaps Synopsis #include <tk.h> Pixmap Tk_AllocBitmapFromObj(interp, tkwin, objPtr) Pixmap Tk_GetBitmap(interp, tkwin, info) Pixmap Tk_GetBitmapFromObj(tkwin, objPtr) int Tk_DefineBitmap(interp, name, source, width, height) const char * Tk_NameOfBitmap(display, bitmap) Tk_SizeOfBitmap(display, bitmap, widthPtr, heightPtr) Tk_FreeBitmapFromObj(tkwin, objPtr) Tk_FreeBitmap(display, bitmap) Arguments Tcl_Interp *interp (in) Interpreter to use for…

  • |

    Tk_SetWindowVisual (3) Linux Manual Page

    Tk_SetWindowVisual – change visual characteristics of window Synopsis #include <tk.h> int Tk_SetWindowVisual(tkwin, visual, depth, colormap) Arguments Tk_Window tkwin (in) Token for window. Visual *visual (in) New visual type to use for tkwin. int depth (in) Number of bits per pixel desired for tkwin. Colormap colormap (in) New colormap for tkwin, which must be compatible with…

  • |

    Tk_SetWindowColormap (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) Arguments…

  • |

    Tk_SetWindowBorderWidth (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) Arguments…

  • |

    Tk_SetWindowBorderPixmap (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) Arguments…

  • |

    Tk_SetWindowBorder (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) Arguments…