CARVIEW |
Select Language
HTTP/2 200
date: Thu, 31 Jul 2025 10:56:20 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"f5402777c7614b329c031c88004f5b51"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=BzqP%2F0q2VqHQ9Zy0wS6Yx4mB3UeFdJOX95InoL89N1LuUK3MmxacBAa0pCYtc2PYWX2GgGyCK27Chp5NXbZHweil7882ZL%2Fpu7sCOCbxGVQzgHPXJolXjI%2FGu6UFwFnKQ2mu17jx7iAKpNKUhF3mTG%2BHMQdhIOxKMPn8MqEoc1LTohNtSdpXca4DgaKFifa2yKrgiw3XZ9d8RACTulbc2j42WBdBGtk9iEdwBwQmTBmb8wa5PtUchCYdWL%2BsESWJ%2Bw9hHiGiet2DJjrlvo8Nuw%3D%3D--MgrH0%2BBEBgfBZA2P--sAFzIM0jKgZo4ENoeD8znw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.166272019.1753959379; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:56:19 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 31 Jul 2026 10:56:19 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C586:1E1938:88F1C7:A46F4D:688B4BD3
ButtonBlock · Toqozz/wired-notify Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 28
ButtonBlock
Michael Palmos edited this page Aug 14, 2022
·
6 revisions
This block is used provide a clickable button that performs some action (more actions coming soon -- submit an issue if you have an idea).
Name | Type | Description | Example |
---|---|---|---|
padding |
Padding |
Padding around the block, which is applied before hooking. | padding: Padding(left: 7.0, right: 7.0, top: 7.0, bottom: 7.0 |
action |
Action |
The type of action that this button should trigger. DefaultAction will trigger the primary notification action (same as the notification_action1 mouse shortcut).Note: OtherAction(int) counts from 0, and excludes the default action. So OtherAction(0) would be the first action not including the default one (if it exists).
|
action: DefaultAction action: OtherAction(0)
|
text |
string |
Text to display in this text block. %a will be substituted with the action text, %s with the summary text, %b with the body text, and a few more. See the Text Markup wiki page for full details. |
text: "%a" |
font |
string |
Font description string for the desired font, in the format of "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE] [VARIATIONS]" .For more information on font descriptions, see pango documentation. > To find a font family's name, try fc-list in a terminal.
|
font: "Arial Bold 10" |
border_width |
float |
The width in pixels of the border around the button. | border_width: 3.0 |
border_rounding |
float |
Rounding of the border, where 0.0 is no rounding and higher values are progressively more rounded. |
border_rounding: 3.0 |
text_color |
Color |
Text color. | color: Color(hex: "#ebdbb2") |
border_color |
Color |
Border color. | color: Color(hex: "#ebdbb2") |
background_color |
Color |
Background color. | background_color: Color(hex: "#282828") |
dimensions |
Dimensions |
Desired text dimensions. This means minimum and maximum width and height of the block (in pixels). See TextBlock for notes on this behavior.
|
dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)) |
Name | Type | Description | Example |
---|---|---|---|
text_color_hovered |
Color |
The text color that should be used while the mouse is hovered over this block. Default: use text_color
|
text_color_hovered: Color(hex: "#fbf1c7") |
border_color_hovered |
Color |
The border color that should be used while the mouse is hovered over this block. Default: use border_color
|
border_color_hovered: Color(hex: "#fbf1c7") |
background_color_hovered |
Color |
The background color that should be used while the mouse is hovered over this block. Default: use background_color
|
background_color_hovered: Color(hex: "#fbf1c7") |
ellipsize |
EllipsizeMode |
Determines which part of the string should be trimmed when it exceeds its maximum width. Either Start , Middle , End , or None .Default: Middle
|
ellipsize: Middle |
align |
AlignMode |
Where the text should be aligned within its block. Note that this only really useful if your dimensions are larger than the text.Either Left , Center , or Right .Default: Left
|
align: Center |
You can’t perform that action at this time.