Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e1bfd6d8f3
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.413 kb
package gtk
/*
#include <gtk/gtk.h>
*/
import "C"
type Container struct {
Widget
}
func (k *Container) g() *C.GtkContainer {
return (*C.GtkContainer)(k.GetPtr())
}
func (k *Container) AsContainer() *Container {
return k
}
func (k *Container) Add(w *Widget) {
C.gtk_container_add(k.g(), w.g())
}
func (k *Container) SetBorderWidth(width uint) {
C.gtk_container_set_border_width(k.g(), C.guint(width))
}
Jump to Line
Something went wrong with that request. Please try again.