Sash XB for Linux
Home |  Documentation  ... Contact

API Comparison

Many of the SashXB APIs are based on the Sash For Windows APIs. We've documented which APIs are compatible. If you're writing a weblication and find that something below is listed incorrectly, please let us know.

Locations

Location Object Name Type Windows and Linux Windows-only Linux-only
WindowApp WindowApp Attributes MainWindow Args, IsMDIMode, MDI, View  
WindowApp MainWindow Events OnActivate, OnClose, OnSaveModified OnMaximize, OnMinimize, OnRestore, OnSetForeGround  
WindowApp MainWindow Attributes AlwaysOnTop, Height, Left, MaximizeBoxEnabled, MinHeight, MinWidth, StatusText, StatusVisible, TitleText, Top, Visible, Width AttachedCommandBars, CaptionVisible, ClientEdge, ContextFlags, DataFileName, DockablePanes, Maximized, MenuBar, MinimizeBoxEnabled, Minimized, ReBar, Resizable  
WindowApp MainWindow Methods Close, SetForegroundWindow, SetIcon Print*, ReplaceMenuBar, SetIcon  
PanelApp * *     *
Console * *     *

Extensions

Extension Object Name Type Windows and Linux Windows-only Linux-only
Core Core Constructors   BinaryObject, RPCObject, SerializableObject, TreeNode  
Core Core Events   OnBeforeNavigate, OnDocumentComplete, OnLoad, OnMainWindowResize, OnWeblicationExpired  
Core Core Attributes Channels, Cursor, UI, Platform, WeblicationDataPath Net, Cache, WeblicationTempPath  
Core Core Methods ExecAction, ExecDefaultWebBrowser, GetNewGUID, GetSashVersion, Sleep, WeblicationIsInstalled, PrintFile, ActionIsInstalled ActionIsRunning, GetContentFile, ImportDOM, ImportWindowObject, MoveWindow, PrintFile  
Core Channels * *    
Core Channels.Message * *    
Core Channels.Channel * *    
Core Cursor Constants Various cursor icons.   Additional cursor icons.
Core Cursor Methods SetStandard, GetPosition, SetPosition SetCustom  
Core Process * *    
Core UI Constants ID*, MB_* CHECKSTATE_*, CONTROL_*, DOCKSTATUS_*, MB_ICONQUESTION, MB_TOPMOST, SHW_*, TEXT_*  
Core UI Constructors   Wizard  
Core UI Events   OnGetProperty, OnSetProperty  
Core UI Attributes   Commands, CommandBars  
Core UI Methods MessageBox, PromptForValue, PromptChoice ChooseColor, ImportCommandDefinitions, ShowHelperWindow  
Core Platform * *    
Registry Registry Constants   HKEY_*  
Registry Registry Attributes   LastError  
Registry Registry Methods * (CreateKey, CreateWeblicationKey, DeleteKey, DeleteWeblicationKey, DeleteValue, DeleteWeblicationValue, QueryValue, QueryWeblicationValue, SetValue, SetWeblicationValue, EnumKeys, EnumWeblicationKeys, EnumValues, EnumWeblicationValues)    
FileSystem FileSystem Constants MODE_* FORMAT_*, MODE_OVERWRITE, SPECIAL_*  
FileSystem FileSystem Constructors File, Folder, TextStream BinaryStream (In Linux, a TextStream can be used as a BinaryStream)  
FileSystem FileSystem Attributes WeblicationDirectory Drives  
FileSystem FileSystem Methods BuildPath, MoveFile, CopyFile, DeleteFile, MoveFolder, CopyFolder, DeleteFolder, FileExists, FolderExists, GetAbsolutePathName, GetBaseName, GetExtensionName, GetFileName, GetParentFolderName, GetTempName GetDriveName IsSymlink
FileSystem File Attributes DateCreated, DataLastAccessed, DateLastModified, Name, ParentFolder, Path, ShortName, ShortPath, Type   IsLocal
FileSystem File Methods * (Copy, Delete, Move)    
FileSystem Folder Attributes DateCreated, DataLastAccessed, DateLastModified, Name, ParentFolder, Path, ShortName, ShortPath, Type, Files, IsRootFolder, SubFolders   IsLocal
FileSystem Folder Methods * (Copy, Delete, Move)    
FileSystem TextStream * *    
Comm Comm Attributes Sockets ComPort  
Comm Sockets Constructors * (DatagramSocket, ClientSocket, ServerSocket)    
Comm Comm Attributes LocalHostName    
Comm Sockets.DatagramSocket Events OnClosed, OnReceived, OnSendError    
Comm Sockets.DatagramSocket Attributes ReceivePort, Context, LastErrorDescription, MaxDatagramSize    
Comm Sockets.DatagramSocket Methods Close, Create, SendDatagram   SendConnectionlessDatagram
Comm Sockets.ClientSocket * *    
Comm Sockets.ServerSocket Events OnConnection   OnError
Comm Sockets.ServerSocket Attributes Context, ServerPort, Started   LastErrorDescription
Comm Sockets.ServerSocket Methods AcceptConnection, Start, Stop    

The following extensions are Linux-specific:


Wing Yung
Last modified: Fri Apr 5 12:15:49 EST 2002
© Copyright 2002, All Rights Reserved. Contact