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. Dependencies: wok_Krolific – Licensing, Simplified

Core Libraries & Managers:
The library includes a comprehensive suite of modules for virtually every aspect of development:
bit, bits, blob, error, field, form, json, math, num, prefs, process, shared, sounds, str, table, trim, version, vJ, window

Key Feature Modules:

  • Sounds Manager: 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.
  • Release Notes Module: Offers a unified pane for both Developers and End-Users to read and edit application release notes, featuring a built-in offline Markdown editor.
  • Advanced Windowing System: 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.

Utility Widgets:

  • wox_json: A widget for displaying and exploring JSON data structures.
  • wox_markdown: An offline Markdown editor widget.

 

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 in the host, 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". Here is an example in Sēmippān.