assistant.go 741 Bytes
Newer Older
1 2 3 4
package gtki

type Assistant interface {
	Window
5 6
	GetCurrentPage() int
	SetCurrentPage(pageNum int)
7
	// GetNPages() int
8
	GetNthPage(pageNum int) (Widget, error)
9
	// PrependPage(page Widget) int
10
	AppendPage(page Widget) int
11 12 13 14 15 16
	// InsertPage(page Widget, position int) int
	// RemovePage(pageNum int)
	// SetPageType(page Widget, ptype gtk.AssistantPageType)
	// GetPageType(page Widget) gtk.AssistantPageType
	// SetPageTitle(page Widget, title string)
	// GetPageTitle(page Widget) string
17 18
	SetPageComplete(page Widget, complete bool)
	GetPageComplete(page Widget) bool
19 20 21
	// AddActionWidget(child Widget)
	// RemoveActionWidget(child Widget)
	// UpdateButtonsState()
22 23 24
	Commit()
	NextPage()
	PreviousPage()
25 26 27
}

func AssertAssistant(_ Assistant) {}