Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alkresin/external
/ functions
Functions
130 in github.com/alkresin/external
⨍
Functions
130
◇
Types & classes
7
↓ 64 callers
Function
sendout
* func read(conn net.Conn, pBuff *[]byte) (int, error) { *pBuff = (*pBuff)[:0] tmp := make([]byte, 256) for { length, err := conn.Read(tmp) if
extmain.go:329
↓ 47 callers
Method
AddWidget
Method AddWidget adds new child widget o - parent window or widget pWidg - a Widget structure with definition of a new widget
extwidg.go:1032
↓ 27 callers
Function
widgFullName
(pWidg *Widget)
extwidg.go:169
↓ 21 callers
Function
WriteLog
WriteLog writes the sText to a log file egui.log.
extmain.go:400
↓ 18 callers
Method
SetCallBackProc
(sbName string, fu func([]string) string, sCode string, params ...string)
extwidg.go:1160
↓ 14 callers
Function
RegFunc
RegFunc adds the fu func to a map of functions, sName argument is a function identifier - a key of this map. You may need to call this function in cas
extmain.go:415
↓ 11 callers
Method
Write
( s string )
extmain.go:588
↓ 7 callers
Method
Activate
Method Activate shows on the screen a main window or a dialog
extwidg.go:987
↓ 7 callers
Method
SetParam
Method SetParam sets a property to a widget, pointed by o, sParam - a name of a property, xParam - a value of a property.
extwidg.go:1093
↓ 6 callers
Function
sendoutAndReturn
(s string)
extmain.go:359
↓ 5 callers
Method
Read
(pBuff *[]byte)
extmain.go:526
↓ 4 callers
Method
Close
Method Close closes a main window or a dialog
extwidg.go:1004
↓ 4 callers
Method
Close
()
extmain.go:517
↓ 4 callers
Function
draw
(fu func(z complex128) color.Color)
testdata/test3.go:112
↓ 3 callers
Function
Exit
Exit closes the connection to Guiserver.
extmain.go:190
↓ 3 callers
Method
Line
Line methods prints a line from iTop, iLeft to iRight, iBottom
extwidg.go:464
↓ 3 callers
Method
Say
Say method prints s text string sText in a rectangle with iTop, iLeft, iRight, iBottom coordinates, iOpt defines an alignment.
extwidg.go:456
↓ 3 callers
Method
SetText
Method SetText sets a text aText to a widget, pointed by o.
extwidg.go:1058
↓ 3 callers
Function
Wnd
Wnd returns a pointer to a Widget structure (a window or a dialog) with a Name member equal to sName argument.
extwidg.go:204
↓ 3 callers
Method
new
()
extwidg.go:962
↓ 3 callers
Function
setprops
(pWidg *Widget, mwidg map[string]string)
extwidg.go:249
↓ 2 callers
Method
Box
Box method prints a rectangle with iTop, iLeft, iRight, iBottom coordinates
extwidg.go:471
↓ 2 callers
Method
Connect
()
extmain.go:477
↓ 2 callers
Method
SetFont
Method SetFont sets a font pFont to a widget, pointed by o.
extwidg.go:1152
↓ 2 callers
Method
SetImage
Method SetImage sets an image widget, pointed by o, sImage - a path to an image
extwidg.go:1069
↓ 2 callers
Function
Wait
()
extmain.go:445
↓ 2 callers
Method
delete
()
extwidg.go:1016
↓ 2 callers
Function
getscode
(fu func([]string) string, sCode string, params ...string)
extmenu.go:59
↓ 2 callers
Function
runproc
(arr []string)
extmain.go:430
↓ 1 callers
Method
AddFont
AddFont method adds a font, described in Font structure, to the printer.
extwidg.go:439
↓ 1 callers
Method
End
End method closes a printer
extwidg.go:492
↓ 1 callers
Method
EndPage
StartPage method ends a page printed
extwidg.go:485
↓ 1 callers
Method
GetText
Method GetText gets the text from a widget, pointed by o.
extwidg.go:1125
↓ 1 callers
Method
Move
(iLeft, iTop, iWidth, iHeight int32)
extwidg.go:1205
↓ 1 callers
Method
SetColor
Method SetColor sets a text color tColor and background color bColor to a widget, pointed by o.
extwidg.go:1143
↓ 1 callers
Method
StartPage
StartPage method begins a new page printed
extwidg.go:478
↓ 1 callers
Function
listen
(iPort int)
extmain.go:200
Function
AddCheckMenuItem
AddCheckMenuItem is the same as AddMenuItem, but it creates a menu item, which may be checked. In fact, it is needed in a GTK version only, but for th
extmenu.go:91
Function
AddFuncToIdle
AddFuncToIdle adds a function to be executed while wait state.
extmain.go:424
Function
AddMenuItem
AddMenuItem adds a new item to the Window's menu or submenu, sName argument is a title of the item, id - menu item identifier; if 0 - it is created au
extmenu.go:80
Function
AddMenuSeparator
AddMenuSeparator adds a separator to the Window's menu or submenu,
extmenu.go:100
Function
BeginPacket
BeginPacket begins a sequence of functions, which creates or modifies GUI elements, for to join messages to Guiserver to one packet.
extmain.go:387
Function
Brush
()
doc/js/shBrushGo.js:22
Function
BrwDelColumn
BrwDelColumn deletes a column with number ic of a browse widget p.
extwidg.go:909
Function
BrwGetArray
BrwGetArray returns a two-dimensional slice from a browse widget p.
extwidg.go:848
Function
BrwSetArray
BrwSetArray sets a two-dimensional slice to be represented in a browse widget p.
extwidg.go:839
Function
BrwSetColumn
BrwSetColumn defines options for a column with number ic of a browse widget p. The options are: sHead string - a column title; iAlignHead int - the al
extwidg.go:871
Function
BrwSetColumnEx
BrwSetColumnEx sets options for a column with number ic of a browse widget p - those, which can not be set via BrwSetColumn. sParam - option name, xPa
extwidg.go:882
Function
Choice
Choice creates a dialog with a "browse" inside, which allows to select one of items in a passed slice arr. fu, sFunc - a definition of a callback proc
extwidg.go:662
Function
CreateFont
CreateFont creates a font with parameters, defined in a structure, pointed by pFont argument.
extwidg.go:351
Function
CreateHighliter
CreateHighliter creates a highlight rules for a code editor ("cedit" widget)
extwidg.go:381
Function
CreateStyle
CreateStyle creates a style with parameters, defined in a structure, pointed by pStyle argument.
extwidg.go:361
Method
Enable
Method Enable enables or disables a widget, pointed by o.
extwidg.go:1214
Function
EndMenu
EndMenu completes a window's menu or submenu definition
extmenu.go:49
Function
EndPacket
EndPacket completes a sequence of functions, started by BeginPacket
extmain.go:393
Function
EvalFunc
EvalFunc sends a code fragment, written on Harbour to a GuiServer to execute and returns a result.
extwidg.go:541
Function
EvalProc
EvalProc sends a code fragment, written on Harbour to a GuiServer to execute and does not return a result.
extwidg.go:533
Method
FillFont
(arr []string)
extwidg.go:974
Function
GetFont
Returns a pointer to a Font structure with a Name member equal to sName argument.
extwidg.go:180
Function
GetStyle
Returns a pointer to a Style structure with a Name member equal to sName argument.
extwidg.go:192
Function
GetValues
GetValues returns list of values from widgets of a pWnd window (main or a dialog), listed by names in aNames slice.
extwidg.go:553
Function
GetVar
GetVar gets a variable value
extwidg.go:923
Function
GetVersion
GetVersion returns the version string in different verbosity level, depending of i value i == 0 - GuiServer version only ("1.3", for example); i == 1
extwidg.go:576
Method
Hide
Method Hide hides or shows a widget, pointed by o.
extwidg.go:1223
Function
Init
Init runs, if needed, the Guiserver application, and connects to it. It returns 0, if the connection is successful, 1 - in other case, 2 -if a protoco
extmain.go:65
Function
InitDialog
Initialises a dialog window with parameters, defined in a structure, pointed by pWnd argument. To show this window on a screen it is necessary to use
extwidg.go:513
Function
InitMainWindow
Initialises a main window with parameters, defined in a structure, pointed by pWnd argument. To show this window on a screen it is necessary to use Ac
extwidg.go:500
Function
InitPrinter
InitPrinter initializes a printer, the name of a printer is passed in SPrinter member of a pPrinter structure. If it is an empty string, the default p
extwidg.go:419
Function
InitTray
InitTray forces the main window to be placed in a tray, sIcon - a path to icon file, sMenuName - a name of a context menu, sTooltip - a tooltip for an
extwidg.go:800
Function
InsertNode
InsertNode inserts a node to a tree widget pTree. sNodeName - a name of a parent node, or empty, if it is root node; sNodeNew - a name of an inserted
extwidg.go:745
Function
Menu
Menu starts a window's menu or submenu definition, sTitle is a menu title.
extmenu.go:16
Function
MenuContext
MenuContext starts a context menu, sName is a menu identifier
extmenu.go:30
Function
MenuItemCheck
MenuItemCheck checks (bValue == true) or unchecks a menu item. If this is a window menu (main or a dialog), you need to pass the appropriate window na
extmenu.go:122
Function
MenuItemEnable
MenuItemEnable enables (bValue == true) or disables a menu item. If this is a window menu (main or a dialog), you need to pass the appropriate window
extmenu.go:111
Function
ModifyTrayIcon
ModifyTrayIcon changes a tray icon of a main window, sIcon - a path to icon file.
extwidg.go:808
Function
MsgGet
MsgGet creates a messagebox, which allows to input a string sTitle - box title, sMessage - text in a box, iStyle - a Winstyle for an "edit" widget (ES
extwidg.go:645
Function
MsgInfo
MsgInfo creates a standard nessagebox sTitle - box title, sMessage - text in a box fu, sFunc - a definition of a callback procedure; fu - function, sF
extwidg.go:594
Function
MsgStop
MsgStop creates a standard nessagebox sTitle - box title, sMessage - text in a box fu, sFunc - a definition of a callback procedure; fu - function, sF
extwidg.go:611
Function
MsgYesNo
MsgYesNo creates a standard nessagebox sTitle - box title, sMessage - text in a box fu, sFunc - a definition of a callback procedure; fu - function, s
extwidg.go:628
Function
OpenForm
OpenForm reads a dialog window description from a xml file, prepared by HwGUI's Designer, initialises and activates this dialog with all its widgets
extwidg.go:331
Function
OpenMainForm
OpenMainForm reads a main window description from a xml file, prepared by HwGUI's Designer, initialises and activates this window with all its widgets
extwidg.go:317
Function
OpenReport
OpenReport reads a report description from a xml file, prepared by HwGUI's Designer and prints this report
extwidg.go:344
Function
PBarSet
PBarSet sets a progress bar position
extwidg.go:789
Function
PBarStep
PBarStep does a next step for a pPBar progress bar widget
extwidg.go:781
Function
RadioEnd
RadioEnd completes a group of radio buttons, started with a "radiogr" widget
extwidg.go:815
Function
SelectColor
SelectColor creates a standard dialog to select color iColor - base color; fu, sFunc - a definition of a callback procedure; fu - function, sFunc - id
extwidg.go:710
Function
SelectFile
SelectFile creates a standard dialog to select file sPath - initial path; fu, sFunc - a definition of a callback procedure; fu - function, sFunc - ide
extwidg.go:679
Function
SelectFolder
SelectFolder creates a standard dialog to select folder fu, sFunc - a definition of a callback procedure; fu - function, sFunc - identifier; sName - a
extwidg.go:694
Function
SelectFont
SelectFont creates a standard dialog to select font fu, sFunc - a definition of a callback procedure; fu - function, sFunc - identifier; sName - a par
extwidg.go:725
Function
SelectNode
(pTree *Widget, sNodeName string)
extwidg.go:773
Method
SetCallBackFunc
(sbName string, fu func([]string) string, sCode string, params ...string)
extwidg.go:1188
Function
SetDateFormat
SetDateFormat sets a date display format, for example, "DD.MM.YYYY"
extwidg.go:956
Method
SetFont
SetFont method sets a font, previously added with AddFont, as current while printing
extwidg.go:449
Function
SetHighliter
SetHighliter sets or unsets (if p == nil) a given Highliter to a "cedit" widget.
extwidg.go:391
Function
SetHiliOpt
SetHili defines highlighting options for a code editor ("cedit" widget): a font, text color and background color
extwidg.go:404
Function
SetImagePath
SetImagePath sets a directory where GuiServer should look for image files.
extwidg.go:940
Function
SetPath
SetPath sets a directory where GuiServer should write files and look for files to read.
extwidg.go:948
Function
SetVar
SetVar sets a variable value
extwidg.go:916
Function
ShowMenuContext
Show context menu on the screen
extmenu.go:38
Function
TabPage
TabPage initialises a new page of a tab widget.
extwidg.go:823
next →
1–100 of 130, ranked by callers