eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'stx_libwidg':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: stx_libwidg


Inheritance:

   Object
   |
   +--ProjectDefinition
      |
      +--LibraryDefinition
         |
         +--stx_libwidg

Package:
stx:libwidg
Category:
* Projects & Packages *
Version:
rev: 1.58 date: 2019/07/15 13:35:49
user: cg
file: stx_libwidg.st directory: libwidg
module: stx stc-classLibrary: libwidg
Author:
cg

Description:


Package Documentation

This library contains elementary GUI components (widgets), such as Buttons, InputFields,
TextEditors, Scrollbars etc.

All of these widgets are written in 100% pure Smalltalk. 
They do not depend upon any particular underlying graphic system (by the operating system). 
Instead, they build upon the abstraction layer as provided by libview.
Arguably, this has both advantages and disadvantages:
for one, the ST/X widgets may not look&feel 100% like their native counterparts, especially
on systems which constantly change (i.e. Windows).
On the other hand, this frees us completely from any development there, 
and gets us rid of big problems when looks, feels or even APIs change.
(btw.: and also makes us independent of any bugs found in those)

Just consider the following historic fact:
    when motif was modern, people asked for a native motif style...
    ... a few years later for qt, then gnome, and what next?
    We'd be constantly adapting to new frameworks and not get any work done,
    if we were depending on native widgets

Also, this might even make problems, if widget frameorks on different systems 
(i.e. X vs. Windows vs. Cocoa) provide different levels of functionality.


[primary maintainer:]
    cg


Class protocol:

description
o  excludedFromPreRequisites
JavaScriptParser - referenced by Workspace>>browseImplementorsOfIt

o  mandatoryPreRequisites
list packages which are mandatory as a prerequisite.
This are packages containing superclasses of my classes and classes which
are extended by myself.
They are mandatory, because we need these packages as a prerequisite for loading and compiling.
This method is generated automatically,
by searching along the inheritance chain of all of my classes.
Please take a look at the #referencedPreRequisites method as well.

o  referencedPreRequisites
list packages which are a prerequisite, because they contain
classes which are referenced by my classes.
These packages are NOT needed as a prerequisite for compiling or loading,
however, a class from it may be referenced during execution and having it
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
includes explicit checks for the package being present.
This method is generated automatically,
by searching all classes (and their packages) which are referenced by my classes.
Please also take a look at the #mandatoryPreRequisites method

description - compilation
o  additionalBaseAddressDefinition_bc_dot_mak
this is an optional definition, which (if present) may speed up the dll-loading a little
on win32 systems.

o  stcOptimizationOptions

o  stcWarningOptions

description - contents
o  classNamesAndAttributes
lists the classes which are to be included in the project.
Each entry in the list may be: a single class-name (symbol),
or an array-literal consisting of class name and attributes.
Attributes are: #autoload or #<os> where os is one of win32, unix,...

o  extensionMethodNames
lists the extension methods which are to be included in the project.
Entries are 2-element array literals, consisting of class-name and selector.
A correponding method with real names must be present in my concrete subclasses
if it has extensions.

description - project information
o  companyName
Return a companyname which will appear in <lib>.rc

o  description
Return a description string which will appear in nt.def / bc.def

o  legalCopyright
Return a copyright string which will appear in <lib>.rc

o  productName
Return a product name which will appear in <lib>.rc



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 23 Apr 2024 08:14:24 GMT