scrollabletable

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package scrollabletable makes a widget that some scrollbar interfaces suitable for passing to withscrollbar.New()

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IScrollableTable

type IScrollableTable interface {
	gowid.IWidget
	withscrollbar.IScrollOneLine
	withscrollbar.IScrollOnePage
	CurrentRow() int
	Model() table.IModel
}

type Widget

type Widget struct {
	IScrollableTable
}

To implement withscrollbar.IScrollValues

func New

func New(t IScrollableTable) *Widget

func (Widget) ScrollLength

func (s Widget) ScrollLength() int

func (Widget) ScrollPosition

func (s Widget) ScrollPosition() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL