SysTutorials Posts

  • |

    Tk_SetWindowBackgroundPixmap (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_SetWindowBackgroundPixmap (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_SetWindowBackground (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_SetOptions (3) Linux Manual Page

    Tk_CreateOptionTable, Tk_DeleteOptionTable, Tk_InitOptions, Tk_SetOptions, Tk_FreeSavedOptions, Tk_RestoreSavedOptions, Tk_GetOptionValue, Tk_GetOptionInfo, Tk_FreeConfigOptions, Tk_Offset – process configuration options Synopsis #include <tk.h> Tk_OptionTable Tk_CreateOptionTable(interp, templatePtr) Tk_DeleteOptionTable(optionTable) int Tk_InitOptions(interp, recordPtr, optionTable, tkwin) int Tk_SetOptions(interp, recordPtr, optionTable, objc, objv, tkwin, savePtr, maskPtr) Tk_FreeSavedOptions(savedPtr) Tk_RestoreSavedOptions(savedPtr) Tcl_Obj * Tk_GetOptionValue(interp, recordPtr, optionTable, namePtr, tkwin) Tcl_Obj * Tk_GetOptionInfo(interp, recordPtr, optionTable, namePtr, tkwin) Tk_FreeConfigOptions(recordPtr, optionTable, tkwin) int…

  • |

    Tk_SetMinimumRequestSize (3) Linux Manual Page

    Tk_GeometryRequest, Tk_SetMinimumRequestSize, Tk_SetInternalBorder, Tk_SetInternalBorderEx – specify desired geometry or internal border for a window Synopsis #include <tk.h> Tk_GeometryRequest(tkwin, reqWidth, reqHeight) Tk_SetMinimumRequestSize(tkwin, minWidth, minHeight) Tk_SetInternalBorder(tkwin, width) Tk_SetInternalBorderEx(tkwin, left, right, top, bottom) Arguments Tk_Window tkwin (in) Window for which geometry is being requested. int reqWidth (in) Desired width for tkwin, in pixel units. int reqHeight (in) Desired…

  • |

    Tk_SetInternalBorderEx (3) Linux Manual Page

    Tk_GeometryRequest, Tk_SetMinimumRequestSize, Tk_SetInternalBorder, Tk_SetInternalBorderEx – specify desired geometry or internal border for a window Synopsis #include <tk.h> Tk_GeometryRequest(tkwin, reqWidth, reqHeight) Tk_SetMinimumRequestSize(tkwin, minWidth, minHeight) Tk_SetInternalBorder(tkwin, width) Tk_SetInternalBorderEx(tkwin, left, right, top, bottom) Arguments Tk_Window tkwin (in) Window for which geometry is being requested. int reqWidth (in) Desired width for tkwin, in pixel units. int reqHeight (in) Desired…

  • |

    Tk_SetInternalBorder (3) Linux Manual Page

    Tk_GeometryRequest, Tk_SetMinimumRequestSize, Tk_SetInternalBorder, Tk_SetInternalBorderEx – specify desired geometry or internal border for a window Synopsis #include <tk.h> Tk_GeometryRequest(tkwin, reqWidth, reqHeight) Tk_SetMinimumRequestSize(tkwin, minWidth, minHeight) Tk_SetInternalBorder(tkwin, width) Tk_SetInternalBorderEx(tkwin, left, right, top, bottom) Arguments Tk_Window tkwin (in) Window for which geometry is being requested. int reqWidth (in) Desired width for tkwin, in pixel units. int reqHeight (in) Desired…

  • |

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

    Tk_SetClassProcs – register widget specific procedures Synopsis #include <tk.h> Tk_SetClassProcs(tkwin, procs, instanceData) Arguments Tk_Window tkwin (in) Token for window to modify. Tk_ClassProcs *procs (in) Pointer to data structure containing widget specific procedures. The data structure pointed to by procs must be static: Tk keeps a reference to it as long as the window exists. ClientData…

  • |

    Tk_SetClass (3) Linux Manual Page

    Tk_SetClass, Tk_Class – set or retrieve a window’s class Synopsis #include <tk.h> Tk_SetClass(tkwin, class) Tk_Uid Tk_Class(tkwin) Arguments Tk_Window tkwin (in) Token for window. char *class (in) New class name for window. Description Tk_SetClass is called to associate a class with a particular window. The class string identifies the type of the window; all windows with…

  • |

    Tk_SetCaretPos (3) Linux Manual Page

    Tk_SetCaretPos – set the display caret location Synopsis #include <tk.h> int Tk_SetCaretPos(tkwin, x, y, height) Arguments Tk_Window tkwin (in) Token for window. int x (in) Window-relative x coordinate. int y (in) Window-relative y coordinate. int h (in) Height of the caret in the window. Description Tk_SetCaretPos sets the caret location for the display of the…

  • |

    Tk_SetBackgroundFromBorder (3) Linux Manual Page

    Tk_Alloc3DBorderFromObj, Tk_Get3DBorder, Tk_Get3DBorderFromObj, Tk_Draw3DRectangle, Tk_Fill3DRectangle, Tk_Draw3DPolygon, Tk_Fill3DPolygon, Tk_3DVerticalBevel, Tk_3DHorizontalBevel, Tk_SetBackgroundFromBorder, Tk_NameOf3DBorder, Tk_3DBorderColor, Tk_3DBorderGC, Tk_Free3DBorderFromObj, Tk_Free3DBorder – draw borders with three-dimensional appearance Synopsis #include <tk.h> Tk_3DBorder Tk_Alloc3DBorderFromObj(interp, tkwin, objPtr) Tk_3DBorder Tk_Get3DBorder(interp, tkwin, colorName) Tk_3DBorder Tk_Get3DBorderFromObj(tkwin, objPtr) void Tk_Draw3DRectangle(tkwin, drawable, border, x, y, width, height, borderWidth, relief) void Tk_Fill3DRectangle(tkwin, drawable, border, x, y, width, height, borderWidth, relief)…

  • |

    Tk_SetAppName (3) Linux Manual Page

    Tk_SetAppName – Set the name of an application for ‘send’ commands Synopsis #include <tk.h> const char * Tk_SetAppName(tkwin, name) Arguments Tk_Window tkwin (in) Token for window in application. Used only to select a particular application. const char *name (in) Name under which to register the application. Description Tk_SetAppName associates a name with a given application…

  • |

    Tk_ScreenNumber (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_Screen (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_SafeInit (3) Linux Manual Page

    Tk_Init, Tk_SafeInit – add Tk to an interpreter and make a new Tk application. Synopsis #include <tk.h> int Tk_Init(interp) int Tk_SafeInit(interp) Arguments Tcl_Interp *interp (in) Interpreter in which to load Tk. Tk should not already be loaded in this interpreter. Description Tk_Init is the package initialization procedure for Tk. It is normally invoked by the…

  • |

    Tk_RestrictEvents (3) Linux Manual Page

    Tk_RestrictEvents – filter and selectively delay X events Synopsis #include <tk.h> Tk_RestrictProc * Tk_RestrictEvents(proc, clientData, prevClientDataPtr) Arguments Tk_RestrictProc *proc (in) Predicate procedure to call to filter incoming X events. NULL means do not restrict events at all. ClientData clientData (in) Arbitrary argument to pass to proc. ClientData *prevClientDataPtr (out) Pointer to place to save argument…

  • |

    Tk_RestoreSavedOptions (3) Linux Manual Page

    Tk_CreateOptionTable, Tk_DeleteOptionTable, Tk_InitOptions, Tk_SetOptions, Tk_FreeSavedOptions, Tk_RestoreSavedOptions, Tk_GetOptionValue, Tk_GetOptionInfo, Tk_FreeConfigOptions, Tk_Offset – process configuration options Synopsis #include <tk.h> Tk_OptionTable Tk_CreateOptionTable(interp, templatePtr) Tk_DeleteOptionTable(optionTable) int Tk_InitOptions(interp, recordPtr, optionTable, tkwin) int Tk_SetOptions(interp, recordPtr, optionTable, objc, objv, tkwin, savePtr, maskPtr) Tk_FreeSavedOptions(savedPtr) Tk_RestoreSavedOptions(savedPtr) Tcl_Obj * Tk_GetOptionValue(interp, recordPtr, optionTable, namePtr, tkwin) Tcl_Obj * Tk_GetOptionInfo(interp, recordPtr, optionTable, namePtr, tkwin) Tk_FreeConfigOptions(recordPtr, optionTable, tkwin) int…

  • |

    Tk_RestackWindow (3) Linux Manual Page

    Tk_RestackWindow – Change a window’s position in the stacking order Synopsis #include <tk.h> int Tk_RestackWindow(tkwin, aboveBelow, other) Arguments Tk_Window tkwin (in) Token for window to restack. int aboveBelow (in) Indicates new position of tkwin relative to other; must be Above or Below. Tk_Window other (in) Tkwin will be repositioned just above or below this window….

  • |

    Tk_ResizeWindow (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…