
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
A simple message dialog package.
This package needs GoTK3 (GTK) to run (see link below), and you will need to run gtk.Init() somewhere in your application, before using the dialogs.
// Initialize gtk
gtk.Init(&os.Args)
_, _ = dialog.Title("A custom icon!").
Text("This is a custom icon, really?").
Extra(getLongText()).
ExtraHeight(200).
CustomIcon("./example/assets/armour.png").
HeaderColor("#6879D0FF").
OkButton().
Size(300, 50).
Show()
_, _ = dialog.Title("Hello World!").
TextMarkup("<span foreground=\"black\">How are you <i><b>today</b></i>?</span>`5").
InfoIcon().
OkButton().
Size(300, 100).
Show()
_, _ = dialog.Title("No image dialog!").
Text("How are you today?").
Extra(getLongText()).
ExtraHeight(50).
ExtraName("Extra name test").
OkButton().
Height(100).
Show()
response, _ := dialog.Title("Hello World!").
Text("How are you today?").
Extra(getLongText()).
ExtraHeight(50).
QuestionIcon().
YesNoButtons().
Height(125).
Show()
if response == gtk.RESPONSE_YES {
_, _ = dialog.Title("Your response...").
Text("...was affirmative!").
WarningIcon().
OkButton().
Show()
} else {
_, _ = dialog.Title("Your response...").
Text("...was very negative!").
ErrorIcon().
OkButton().
Show()
}



FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.