InterfaceBase unit
Provides a platform-independent widgetset class and helper functions.
interfacebase.pp contains classes, types, and routines used to
define a platform-independent widgetset class (
TWidgetSet) and
helper functions.
Modified in LCL version 3.0 to assign the GetLCLWidgetTypeName routine in
this unit to the OnLCLWidgetTypeName function variable in
lazversion.pas during unit initialization.
interfacebase.pp is part of the Lazarus Component Library
(
LCL).
Classes and records
EInterfaceCritical | class | Exception raised in the LCL interface. |
EInterfaceError | class | Exception raised in the LCL interface. |
EInterfaceException | class | Base class for exceptions raised in the LCL interface. |
EInterfaceWarning | class | Exception raised in the LCL interface. |
TDialogButton | class | Implements a standard dialog button. |
TDialogButtons | class | Collection used to store TDialogButton instances. |
TMessageDispatcher | class | Implements a class used to dispatch messages originating in a widgetset class to a handler routine in the LCL class instance. |
TWidgetSet | class | Provides an application helper class (platform and drawing interface). |
Procedures and functions
GetDefaultLCLWidgetType | function | Gets the enumeration value representing the LCL platform for the current widgetset. |
GetLCLWidgetTypeName | function | Gets the directory name for the LCL platform enumeration value used for the widgetset. |
MemSizeLessThan | function | Determines if the specified non-zero memory size is smaller than a given value. |
Types
PEventHandler | type | Pointer to an event handler routine. |
PPipeEventHandler | type | Pointer to a pipe event handler routine. |
PProcessEventHandler | type | Pointer to a process event handler routine. |
PSocketEventHandler | type | Pointer to a socket event handler routine. |
TApplicationMainLoop | procedure type | Represents the main processing loop in an application. |
TChildExitEvent | procedure type | Specifies an event handler signalled when a child process is exited. |
TChildExitReason | enumeration | Represents reasons that a child process was exited. |
TInputDialogFunction | procedure type | Specifies the function called for a given platform to display and execute an input dialog using the specified values. |
TLCLCapability | enumeration | Represents capabilities used in the LCL. |
TLCLWndMethod | procedure type | The type used for all LCL message handlers. |
TLoadBitmapFunction | procedure type | Specifies a function called to load a bitmap image from the specified file or resource and return the handle for the image. |
TLoadCursorFunction | procedure type | Specifies a function called to load a cursor shape with the specified identifier and return the handle for the cursor image. |
TLoadIconFunction | procedure type | Specifies a function called to load a named icon from a resource with the specified handle. |
TPipeEvent | procedure type | Specifies an event handler signalled for a pipe handle in a widgetset object. |
TPipeReason | enumeration | Represents reasons that a pipe event was signalled. |
TPipeReasons | set | Set type used to store values from TPipeReason. |
TPromptDialogFunction | procedure type | Specifies a function called to display and execute a widgetset-independent dialog using the specified settings. |
TQuestionDialogFunction | procedure type | Specifies a function called to display and execute a widgetset-independent Question Mark dialog using the specified settings. |
TSocketEvent | procedure type | Specifies an event handler signalled for a socket handle in a widgetset object. |
TWaitHandleEvent | procedure type | Specifies an event handler signalled for the handle in an interface object. |
TWidgetSetClass | type | Class reference used to create new instance of the TWidgetSet class. |
TWSTimerProc | procedure type | Type used for a timer callback procedure. |
Constants
LCL_CAPABILITY_NO | constant | Constant used in TWidgetSet.GetLCLCapability. |
LCL_CAPABILITY_YES | constant | Constant used in TWidgetSet.GetLCLCapability. |
Variables
InputDialogFunction | variable | Procedure variable with the routine called to execute a platform-independent input dialog. |
LoadBitmapFunction | variable | Variable with the function called to load a bitmap from a specified file or resource and return its handle. |
LoadCursorFunction | variable | |
LoadIconFunction | variable | Variable with the function called to load an icon from a specified file or resource and return its handle. |
PromptDialogFunction | variable | Procedure variable with the routine called to execute a platform-independent prompt dialog. |
QuestionDialogFunction | variable | Procedure variable with the routine called to execute a platform-independent dialog using the Question Mark icon. |
WidgetSet | variable | Provides access to the widgetset class instance for the platform. |
Uses
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
