summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-20 05:58:33 -0600
committerJeff Carr <[email protected]>2023-12-20 05:58:33 -0600
commit85b9a036c289fe840e69e1852866f429b87cf63e (patch)
treeeb18f693027cd220f71c0fb015a67346d82a37cc /common.go
parent87ab9a958d9eb9f4db35d5c9f9ce923df3132dad (diff)
code moved to the cloudflare package
use the cloudflare package add a protobuf attempt better change detection, but formatting is broken don't redraw widgets if they are not visible create new dns entry worked attempting a DNS RR create attempt a create API call use cloudflare recommended ENV vars turn off debugging Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'common.go')
-rw-r--r--common.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/common.go b/common.go
index 6f42ce4..462f37d 100644
--- a/common.go
+++ b/common.go
@@ -170,6 +170,13 @@ func (n *Node) Unpad() *Node {
return n
}
+func (n *Node) Expand() *Node {
+ a := newAction(n, toolkit.Pad)
+ a.Expand = true
+ sendAction(a)
+ return n
+}
+
// is this better?
// yes, this is better. it allows Internationalization very easily
// me.window = myGui.New2().Window("DNS and IPv6 Control Panel").Standard()
@@ -182,8 +189,9 @@ func (n *Node) Window(title string) *Node {
// This should not really do anything. as per the docs, the "Standard()" way
// should be the default way
+/*
func (n *Node) Standard() *Node {
- log(debugError, "Standard() not implemented yet")
+ log(debugInfo, "Standard() not implemented yet")
return n
}
@@ -191,3 +199,4 @@ func (n *Node) SetMargin() *Node {
log(debugError, "DoMargin() not implemented yet")
return n
}
+*/