Пример #1
0
func NewSourceView() *SourceView {
	return &SourceView{gtk.TextView{gtk.Container{
		*gtk.WidgetFromNative(unsafe.Pointer(C.gtk_source_view_new()))}}}
}
Пример #2
0
func SourceView() *GtkSourceView {
	return &GtkSourceView{gtk.GtkTextView{gtk.GtkContainer{
		*gtk.WidgetFromUnsafe(unsafe.Pointer(C.gtk_source_view_new()))}}}
}