Documentation ¶
Index ¶
- Variables
- func AddClass(widget *gtk.Widget, class Class)
- func RemoveClass(widget *gtk.Widget, class Class)
- type Class
- type Color
- type ColorMap
- type Style
- func (s *Style) AddToScreen(screen *gdk.Screen)
- func (s *Style) AddToWidget(widget *gtk.Widget)
- func (s *Style) BackgroundColor(widget *gtk.Widget) Color
- func (s *Style) ColorByName(widget *gtk.Widget, name string) Color
- func (s *Style) ForWidget(widget *gtk.Widget) *WidgetStyle
- func (s *Style) ForegroundColor(widget *gtk.Widget) Color
- func (s *Style) HasColor(widget *gtk.Widget, name string) bool
- func (s *Style) TextColor(widget *gtk.Widget) Color
- type WidgetStyle
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RemoveClass ¶
Types ¶
type Style ¶
type Style struct {
// contains filtered or unexported fields
}
func (*Style) AddToScreen ¶
func (*Style) AddToWidget ¶
type WidgetStyle ¶
type WidgetStyle struct {
// contains filtered or unexported fields
}
func (*WidgetStyle) BackgroundColor ¶
func (s *WidgetStyle) BackgroundColor() Color
func (*WidgetStyle) ColorByName ¶
func (s *WidgetStyle) ColorByName(name string) Color
func (*WidgetStyle) ForegroundColor ¶
func (s *WidgetStyle) ForegroundColor() Color
func (*WidgetStyle) HasColor ¶
func (s *WidgetStyle) HasColor(name string) bool
func (*WidgetStyle) TextColor ¶
func (s *WidgetStyle) TextColor() Color
Click to show internal directories.
Click to hide internal directories.