示例#1
0
func newProgressBar() ProgressBar {
	widget := C.gtk_progress_bar_new()
	p := &progressbar{
		controlSingleWidget: newControlSingleWidget(widget),
		pbar:                (*C.GtkProgressBar)(unsafe.Pointer(widget)),
	}
	return p
}
示例#2
0
func gtk_progress_bar_new() *C.GtkWidget {
	return C.gtk_progress_bar_new()
}