Skip to main content
View as Markdown

IGUIManager interface

The IGUIManager interface represents the Graphical User interface portions of the Altium Designer application such as resizing panels, checking for certain hot key maps and status bars.

public interface IGUIManager

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Properties​

PropertyTypeAccessDescription
PanelDockedHeightintget; set
PanelDockedWidthintget; set

PanelDockedHeight​

No description yet.

int GetPanelDockedHeight(string argViewName);
void SetPanelDockedHeight(string argViewName, int argHeight);

Type: int · Access: read/write · Index: argViewName (string)

PanelDockedWidth​

No description yet.

int GetPanelDockedWidth(string argViewName);
void SetPanelDockedWidth(string argViewName, int argWidth);

Type: int · Access: read/write · Index: argViewName (string)

Methods​

MethodReturnsDescription
AddKeyStrokeAndLaunchbool
AddKeyToBufferbool
BeginDragDropvoid
CanMovePanelbool
CanResizePanelboolThis method determines whether the panel can be resized or not.
CurrentProcessLauncherAvailableboolThis method determines whether the current process launcher is available or not to use.
DesignspaceUISupportsbool
DesignspaceValuestring
DoneTransparentToolbarsvoid
Draggingbool
DXPShortcutToDelphiShortcutstring
GetActionListFromTreeIExternalActionItemList
GetActivePLByCommandIProcessLauncherInfo
GetAllAvailableHotkeysvoid
GetCurrentFormHandleuint
GetFocusedPanelNamestring
GetPanelIsOpenbool
GetPanelIsOpenInAnyFormbool
GetPanelIsVisibleInAnyFormbool
GetProcessLauncherInfoByIDIProcessLauncherInfo
GetShortcutTextForPLIDstring
HasTreeShownAsPopupbool
HideDragImagevoid
InitTransparentToolbarsvoid
IsPanelPinnedbool
IsPanelValidInCurrentFormbool
IsPanelVisibleInCurrentFormbool
IsSysLevelHotKeybool
LaunchCurrentHotkeyvoid
MovePanelTovoid
ProcessMessagebool
RegisterFloatingWindowvoid
RegisterUserProcessLauncherIProcessLauncherInfo
ResizePanelvoid
SetFocusLockvoid
SetPanelActiveInCurrentFormvoid
SetPanelPinnedvoid
SetPanelVisibleInCurrentFormvoid
SetTitleBarErrorMessagevoid
ShowCurrentProcessLauncherHelpbool
ShowDragImagevoid
ShowStandardMenuAsPopupvoid
ShowTreeAsPopupvoid
ShowTreeAsPopupAtvoid
StatusBar_GetStatestring
StatusBar_SetStatevoid
StatusBarManagerIStatusBarManager
UnregisterFloatingWindowvoid
UnregisterUserProcessLaunchervoid
UpdateInterfaceStatevoid
UpdateTransparentToolbarsvoid

AddKeyStrokeAndLaunch​

No description yet.

bool AddKeyStrokeAndLaunch(ushort argKey);
ParameterTypePassing
argKeyushortvalue

Returns: bool

AddKeyToBuffer​

No description yet.

bool AddKeyToBuffer(int argKeyId, bool arglt, bool argShift, bool argCtrl);
ParameterTypePassing
argKeyIdintvalue
argltboolvalue
argShiftboolvalue
argCtrlboolvalue

Returns: bool

BeginDragDrop​

No description yet.

void BeginDragDrop(IDragDropObject argDragDropInfo);
void BeginDragDrop(object argDragDropInfo);
ParameterTypePassing
argDragDropInfoIDragDropObjectvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

CanMovePanel​

No description yet.

bool CanMovePanel(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

CanResizePanel​

This method determines whether the panel can be resized or not. The name of the panel need to be supplied.

bool CanResizePanel(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

CurrentProcessLauncherAvailable​

This method determines whether the current process launcher is available or not to use.

bool CurrentProcessLauncherAvailable();

Returns: bool

DesignspaceUISupports​

No description yet.

bool DesignspaceUISupports(string argUIFeature);
ParameterTypePassing
argUIFeaturestringvalue

Returns: bool

DesignspaceValue​

No description yet.

string DesignspaceValue(string argSectionName, string argValueName);
ParameterTypePassing
argSectionNamestringvalue
argValueNamestringvalue

Returns: string

DoneTransparentToolbars​

No description yet.

void DoneTransparentToolbars();

Returns: nothing (void)

Dragging​

No description yet.

bool Dragging();

Returns: bool

DXPShortcutToDelphiShortcut​

No description yet.

string DXPShortcutToDelphiShortcut(string argShortcutText);
ParameterTypePassing
argShortcutTextstringvalue

Returns: string

GetActionListFromTree​

No description yet.

IExternalActionItemList GetActionListFromTree(string argTreeID);
ParameterTypePassing
argTreeIDstringvalue

Returns: IExternalActionItemList

Extension method of IGUIManagerHelper (using DXP;).

GetActivePLByCommand​

No description yet.

IProcessLauncherInfo GetActivePLByCommand(string argDocumentKind, string argCommand, string argParams);
ParameterTypePassing
argDocumentKindstringvalue
argCommandstringvalue
argParamsstringvalue

Returns: IProcessLauncherInfo

Extension method of IGUIManagerHelper (using DXP;).

GetAllAvailableHotkeys​

No description yet.

void GetAllAvailableHotkeys(out string argHotkeys, out string argDescriptions);
ParameterTypePassing
argHotkeysstringout
argDescriptionsstringout

Returns: nothing (void)

GetCurrentFormHandle​

No description yet.

uint GetCurrentFormHandle();

Returns: uint

GetFocusedPanelName​

No description yet.

string GetFocusedPanelName();

Returns: string

GetPanelIsOpen​

No description yet.

bool GetPanelIsOpen(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

GetPanelIsOpenInAnyForm​

No description yet.

bool GetPanelIsOpenInAnyForm(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

GetPanelIsVisibleInAnyForm​

No description yet.

bool GetPanelIsVisibleInAnyForm(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

GetProcessLauncherInfoByID​

No description yet.

IProcessLauncherInfo GetProcessLauncherInfoByID(string argPLID);
ParameterTypePassing
argPLIDstringvalue

Returns: IProcessLauncherInfo

Extension method of IGUIManagerHelper (using DXP;).

GetShortcutTextForPLID​

No description yet.

string GetShortcutTextForPLID(string argPLID);
ParameterTypePassing
argPLIDstringvalue

Returns: string

HasTreeShownAsPopup​

No description yet.

bool HasTreeShownAsPopup();

Returns: bool

HideDragImage​

No description yet.

void HideDragImage();

Returns: nothing (void)

InitTransparentToolbars​

No description yet.

void InitTransparentToolbars(Rect argViewRect);
void InitTransparentToolbars(IRect argViewRect);
ParameterTypePassing
argViewRectRectvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

IsPanelPinned​

No description yet.

bool IsPanelPinned(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

IsPanelValidInCurrentForm​

No description yet.

bool IsPanelValidInCurrentForm(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

IsPanelVisibleInCurrentForm​

No description yet.

bool IsPanelVisibleInCurrentForm(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: bool

IsSysLevelHotKey​

No description yet.

bool IsSysLevelHotKey(int argKeyId, bool arglt, bool argShift, bool argCtrl);
ParameterTypePassing
argKeyIdintvalue
argltboolvalue
argShiftboolvalue
argCtrlboolvalue

Returns: bool

LaunchCurrentHotkey​

No description yet.

void LaunchCurrentHotkey();

Returns: nothing (void)

MovePanelTo​

No description yet.

void MovePanelTo(string argViewName, int argLeft, int argTop);
ParameterTypePassing
argViewNamestringvalue
argLeftintvalue
argTopintvalue

Returns: nothing (void)

ProcessMessage​

No description yet.

bool ProcessMessage(ref Message argMsg);
bool ProcessMessage(ref IMessage argMsg);
ParameterTypePassing
argMsgMessageref

Returns: bool

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

RegisterFloatingWindow​

No description yet.

void RegisterFloatingWindow(IFloatingWindow argFloatingWindow);
void RegisterFloatingWindow(object argFloatingWindow);
ParameterTypePassing
argFloatingWindowIFloatingWindowvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

RegisterUserProcessLauncher​

No description yet.

IProcessLauncherInfo RegisterUserProcessLauncher(string argPreferredID, string argServerCommand, string argParameters, string argCaption, string argDescription, string argImageFile, string argShortcutText, string argShortcut2Text);
ParameterTypePassing
argPreferredIDstringvalue
argServerCommandstringvalue
argParametersstringvalue
argCaptionstringvalue
argDescriptionstringvalue
argImageFilestringvalue
argShortcutTextstringvalue
argShortcut2Textstringvalue

Returns: IProcessLauncherInfo

Extension method of IGUIManagerHelper (using DXP;).

ResizePanel​

No description yet.

void ResizePanel(string argViewName, int argWidth, int argHeight);
ParameterTypePassing
argViewNamestringvalue
argWidthintvalue
argHeightintvalue

Returns: nothing (void)

SetFocusLock​

No description yet.

void SetFocusLock(bool argLocked);
ParameterTypePassing
argLockedboolvalue

Returns: nothing (void)

SetPanelActiveInCurrentForm​

No description yet.

void SetPanelActiveInCurrentForm(string argViewName);
ParameterTypePassing
argViewNamestringvalue

Returns: nothing (void)

SetPanelPinned​

No description yet.

void SetPanelPinned(string argViewName, bool argIsPinned);
ParameterTypePassing
argViewNamestringvalue
argIsPinnedboolvalue

Returns: nothing (void)

SetPanelVisibleInCurrentForm​

No description yet.

void SetPanelVisibleInCurrentForm(string argViewName, bool argIsVisible);
ParameterTypePassing
argViewNamestringvalue
argIsVisibleboolvalue

Returns: nothing (void)

SetTitleBarErrorMessage​

No description yet.

void SetTitleBarErrorMessage(string argErrorMessage);
ParameterTypePassing
argErrorMessagestringvalue

Returns: nothing (void)

ShowCurrentProcessLauncherHelp​

No description yet.

bool ShowCurrentProcessLauncherHelp();

Returns: bool

ShowDragImage​

No description yet.

void ShowDragImage();

Returns: nothing (void)

ShowStandardMenuAsPopup​

No description yet.

void ShowStandardMenuAsPopup(IMenuWrapper argMenuWrapper, Point argPosition);
void ShowStandardMenuAsPopup(object argMenuWrapper, IPoint argPosition);
ParameterTypePassing
argMenuWrapperIMenuWrappervalue
argPositionPointvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

ShowTreeAsPopup​

No description yet.

void ShowTreeAsPopup(string argTreeID);
ParameterTypePassing
argTreeIDstringvalue

Returns: nothing (void)

ShowTreeAsPopupAt​

No description yet.

void ShowTreeAsPopupAt(string argTreeID, Point argPosition);
void ShowTreeAsPopupAt(string argTreeID, IPoint argPosition);
ParameterTypePassing
argTreeIDstringvalue
argPositionPointvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

StatusBar_GetState​

No description yet.

string StatusBar_GetState(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: string

StatusBar_SetState​

No description yet.

void StatusBar_SetState(int argIndex, string argS);
ParameterTypePassing
argIndexintvalue
argSstringvalue

Returns: nothing (void)

StatusBarManager​

No description yet.

IStatusBarManager StatusBarManager();

Returns: IStatusBarManager

Extension method of IGUIManagerHelper (using DXP;).

UnregisterFloatingWindow​

No description yet.

void UnregisterFloatingWindow(IFloatingWindow argFloatingWindow);
void UnregisterFloatingWindow(object argFloatingWindow);
ParameterTypePassing
argFloatingWindowIFloatingWindowvalue

Returns: nothing (void)

The first overload is an extension method of IGUIManagerHelper (using DXP;) with typed parameters; the second is declared by the interface.

UnregisterUserProcessLauncher​

No description yet.

void UnregisterUserProcessLauncher(string argPLID);
ParameterTypePassing
argPLIDstringvalue

Returns: nothing (void)

UpdateInterfaceState​

No description yet.

void UpdateInterfaceState();

Returns: nothing (void)

UpdateTransparentToolbars​

No description yet.

void UpdateTransparentToolbars();

Returns: nothing (void)

Returned by​

IClient.GetGUIManager, GlobalVars.GUIManager