serverpane

package
v0.0.0-...-6513b37 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paned

type Paned struct {
	gtk.IWidget
	Box *gtk.Box
	// contains filtered or unexported fields
}

Paned replaces gtk.Paned or gtk.Box to allow an optional second pane.

func NewPaned

func NewPaned(w1 gtk.IWidget, o gtk.Orientation) *Paned

NewPaned creates a new empty pane.

func (*Paned) AddSide

func (p *Paned) AddSide(w gtk.IWidget)

AddSide adds a side widget. If a second widget is already added, then it is removed from the pane.

func (*Paned) Destroy

func (p *Paned) Destroy()

func (*Paned) Remove

func (p *Paned) Remove(w gtk.IWidget)

Remove removes either w1 or w2. If neither matches, then nothing is done.

func (*Paned) Show

func (p *Paned) Show()

Jump to

Keyboard shortcuts

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