wox_Xlibrary

Recurring tasks, solved once. Used forever

  • Mantra: No reinvention, only rhythm
  • Tagline: Low-level, high wisdom

The Foundational Utility Library

wox_Xlibrary is the shared core library that underpins the entire ogTools suite. It provides a common set of utilities, managers, and methods essential for modern 4D development, ensuring consistency and power across all our components.

wox_Xlibrary is a mandatory prerequisite and is automatically installed with all paid components of the ogTools suite. 
Localised in EN, FR, ES, DE. Dependencies: wok_Krolific – Licensing, Simplified, SVG with classes

Github: protee/wox_Xlibrary

 

Key Feature Modules

  • Core Libraries: The library includes a comprehensive suite of sets for virtually every aspect of development (reccurent low level methods) – bit, bits, blob, error, field, form, json, math, num, prefs, process, shared, sounds, str, table, trim, version, vJ, window, etc
  • Utility Widgets: wox_json, a widget for displaying and exploring JSON data structures – wox_markdown, an offline Markdown editor widget.
  • Advanced Windowing Service: Manages window layouts with multiple configurations (included windows, progress, notification). Supports flexible positioning with xy/yx and ±x/±y coordinates and offers strategic layout choices: none, tile, cascade, or both. Your windows always where a space is available !
  • Sounds Service: A sophisticated system that provides a curated set of alert sounds. You can assign these embedded sounds to generic event names (e.g., "done", "error", "progress", "warning") and simply call them by name in your host application. Includes a dedicated preferences pane for management.
  • Translation Service: Seamless integration with RapidAPI and DeepL for multilingual support. Includes ready-to-use language definition widgets and selectors for effortless user language management.
  • Release Notes Service: Offers a unified pane for both Developers and End-Users to read and edit application release notes, featuring a built-in offline Markdown editor.
  • "ogToolsSuite ©" Global Menu: A unified menu that brings the entire ecosystem together. Provides instant access to Pitch, Releases, License, and general information panels for all ogToolsSuite components. Your users stay informed, and your app stays professional – all from one central location in your Host and an easy integration into your main menu.

 

A library of methods

Here displayed with wod_DevTools magikDoc modul (in Markdown, no web server required).

ogKrolific methods

The sounds pane

The Release notes pane

in Markdown: Dev pane and user pane.

No web server required.

Calling method
$vJ_prefs:=New object()
$vJ_prefs.t_name:="MyProductName"
$vJ_prefs.t_version:="3.1.22 // Current version
$vJ_prefs.fo_rsc:=Folder(fk resources folder)  // To get logo: /pictures/logo_product.png recommended 64x64
// And versions.json as release notes
$vT_version_last:="3.0.16" // Last user connected version
$is_edit:=Not(Is compiled mode) && (Shift down)
wox_versions_mng($vJ_prefs; $is_edit; $vT_version_last)

 

Include "ogToolsSuite©" menu into your Host

wox_Xlibrary provides a method that create a submenu you can add into the host (here into our HDI Sēmippān), and a method for the resolution.

This is "ogToolsSuite©" with all the managers you may need. This menu can be placed in your menu into one item like here, or "inline".