Documentation
¶
Index ¶
- Constants
- func Main()
- func MainQuit()
- type Bin
- type Box
- type Button
- type Container
- type DrawingArea
- type Entry
- type FileChooser
- type FileChooserAction
- type FileChooserButton
- type HBox
- type Settings
- type VBox
- type Widget
- func (w *Widget) AsWidget() *Widget
- func (w *Widget) Destroy()
- func (w *Widget) GetSettings() *Settings
- func (w *Widget) GetWindow() *gdk.Window
- func (w *Widget) Hide()
- func (w *Widget) HideAll()
- func (w *Widget) Realize()
- func (w *Widget) SetDoubleBuffered(double_buffered bool)
- func (w *Widget) SetSizeRequest(width, height int)
- func (w *Widget) Show()
- func (w *Widget) ShowAll()
- func (w *Widget) ShowNow()
- type Window
- type WindowType
Constants ¶
View Source
const ( FILE_CHOOSER_ACTION_OPEN = FileChooserAction(C.GTK_FILE_CHOOSER_ACTION_OPEN) FILE_CHOOSER_ACTION_SAVE = FileChooserAction(C.GTK_FILE_CHOOSER_ACTION_SAVE) FILE_CHOOSER_ACTION_SELECT_FOLDER = FileChooserAction(C.GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER) FILE_CHOOSER_ACTION_CREATE_FOLDER = FileChooserAction(C.GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER) )
View Source
const ( WINDOW_TOPLEVEL = WindowType(C.GTK_WINDOW_TOPLEVEL) WINDOW_POPUP = WindowType(C.GTK_WINDOW_POPUP) )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Button ¶
type Button struct {
Bin
}
func NewButtonFromStock ¶
func NewButtonWithLabel ¶
func (*Button) GetUseStock ¶
func (*Button) SetUseStock ¶
type Container ¶
type Container struct {
Widget
}
func (*Container) AsContainer ¶
func (*Container) SetBorderWidth ¶
type DrawingArea ¶
type DrawingArea struct {
Widget
}
func NewDrawingArea ¶
func NewDrawingArea() *DrawingArea
func (*DrawingArea) AsDrawingArea ¶
func (d *DrawingArea) AsDrawingArea() *DrawingArea
type FileChooser ¶
type FileChooser C.GtkFileChooser
func FileChooserCast ¶
func FileChooserCast(w *Widget) *FileChooser
func (*FileChooser) GetAction ¶
func (f *FileChooser) GetAction() FileChooserAction
func (*FileChooser) GetFilename ¶
func (f *FileChooser) GetFilename() string
func (*FileChooser) SetAction ¶
func (f *FileChooser) SetAction(action FileChooserAction)
func (*FileChooser) Type ¶
func (f *FileChooser) Type() glib.Type
type FileChooserAction ¶
type FileChooserAction C.GtkFileChooserAction
type FileChooserButton ¶
type FileChooserButton struct {
HBox
}
func NewFileChooserButton ¶
func NewFileChooserButton(title string, action FileChooserAction) *FileChooserButton
func (*FileChooserButton) AsFileChooserButton ¶
func (f *FileChooserButton) AsFileChooserButton() *FileChooserButton
type Settings ¶
func (*Settings) AsSettings ¶
type Widget ¶
func (*Widget) GetSettings ¶
func (*Widget) SetDoubleBuffered ¶
func (*Widget) SetSizeRequest ¶
type WindowType ¶
type WindowType C.GtkWindowType
Source Files
¶
Click to show internal directories.
Click to hide internal directories.