Sign in Join
FPDoc Onlineexperiment

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

EInterfaceCriticalclassException raised in the LCL interface.
EInterfaceErrorclassException raised in the LCL interface.
EInterfaceExceptionclassBase class for exceptions raised in the LCL interface.
EInterfaceWarningclassException raised in the LCL interface.
TDialogButtonclassImplements a standard dialog button.
TDialogButtonsclassCollection used to store TDialogButton instances.
TMessageDispatcherclassImplements a class used to dispatch messages originating in a widgetset class to a handler routine in the LCL class instance.
TWidgetSetclassProvides an application helper class (platform and drawing interface).

Procedures and functions

GetDefaultLCLWidgetTypefunctionGets the enumeration value representing the LCL platform for the current widgetset.
GetLCLWidgetTypeNamefunctionGets the directory name for the LCL platform enumeration value used for the widgetset.
MemSizeLessThanfunctionDetermines if the specified non-zero memory size is smaller than a given value.

Types

PEventHandlertypePointer to an event handler routine.
PPipeEventHandlertypePointer to a pipe event handler routine.
PProcessEventHandlertypePointer to a process event handler routine.
PSocketEventHandlertypePointer to a socket event handler routine.
TApplicationMainLoopprocedure typeRepresents the main processing loop in an application.
TChildExitEventprocedure typeSpecifies an event handler signalled when a child process is exited.
TChildExitReasonenumerationRepresents reasons that a child process was exited.
TInputDialogFunctionprocedure typeSpecifies the function called for a given platform to display and execute an input dialog using the specified values.
TLCLCapabilityenumerationRepresents capabilities used in the LCL.
TLCLWndMethodprocedure typeThe type used for all LCL message handlers.
TLoadBitmapFunctionprocedure typeSpecifies a function called to load a bitmap image from the specified file or resource and return the handle for the image.
TLoadCursorFunctionprocedure typeSpecifies a function called to load a cursor shape with the specified identifier and return the handle for the cursor image.
TLoadIconFunctionprocedure typeSpecifies a function called to load a named icon from a resource with the specified handle.
TPipeEventprocedure typeSpecifies an event handler signalled for a pipe handle in a widgetset object.
TPipeReasonenumerationRepresents reasons that a pipe event was signalled.
TPipeReasonssetSet type used to store values from TPipeReason.
TPromptDialogFunctionprocedure typeSpecifies a function called to display and execute a widgetset-independent dialog using the specified settings.
TQuestionDialogFunctionprocedure typeSpecifies a function called to display and execute a widgetset-independent Question Mark dialog using the specified settings.
TSocketEventprocedure typeSpecifies an event handler signalled for a socket handle in a widgetset object.
TWaitHandleEventprocedure typeSpecifies an event handler signalled for the handle in an interface object.
TWidgetSetClasstypeClass reference used to create new instance of the TWidgetSet class.
TWSTimerProcprocedure typeType used for a timer callback procedure.

Constants

LCL_CAPABILITY_NOconstantConstant used in TWidgetSet.GetLCLCapability.
LCL_CAPABILITY_YESconstantConstant used in TWidgetSet.GetLCLCapability.

Variables

InputDialogFunctionvariableProcedure variable with the routine called to execute a platform-independent input dialog.
LoadBitmapFunctionvariableVariable with the function called to load a bitmap from a specified file or resource and return its handle.
LoadCursorFunctionvariable
LoadIconFunctionvariableVariable with the function called to load an icon from a specified file or resource and return its handle.
PromptDialogFunctionvariableProcedure variable with the routine called to execute a platform-independent prompt dialog.
QuestionDialogFunctionvariableProcedure variable with the routine called to execute a platform-independent dialog using the Question Mark icon.
WidgetSetvariableProvides 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.