Categorygithub.com/Zephyr75/gutter
module
0.1.2
Repository: https://github.com/zephyr75/gutter.git
Documentation: pkg.go.dev

# README

Gutter :sweat_drops:

A Flutter inspired UI framework using Go with OpenGL

Documentation

package main

import (
	"github.com/Zephyr75/gutter/test"
	"github.com/Zephyr75/gutter/app"
)

func main() {

  app := app.App {
    Name: "Gutter",
    Width: 800,
    Height: 600,
  }

  app.Run(test.MainWindow)

}
Widgets

Row

ui.Row{
    Style: ui.Style{
        Color: black,
    },
    Children: []ui.UIElement{
        ... 
    },
}

Column

ui.Row{
    Style: ui.Style{
        Color: black,
    },
    Children: []ui.UIElement{
        ... 
    },
}

Button

ui.Button{
  Properties: ui.Properties{
    Size: ui.Size{
      Scale:  ui.ScaleRelative,
      Width:  50,
      Height: 50,
    }, 
  },
  Style: ui.Style{
    BorderWidth: 10,
    BorderColor: white,
    CornerRadius: 25,
    Color: blue,
  },
  Image: "white_on_black.png",
},

# Packages

No description provided by the author
No description provided by the author
No description provided by the author