GH_Skin Class

GH_Skin Class

Provides static access to typical Palletes and other GUI colours.
Inheritance Hierarchy
SystemObject
  Grasshopper.GUI.CanvasGH_Skin

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public sealed class GH_Skin
Public NotInheritable Class GH_Skin

The GH_Skin type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDefaultPalette Obsolete.
Get the default palette as implied by the object state. Locked and Hidden flags are ignored.
Public methodStatic memberLoadSkin
Instantiate all palette and gui defaults. This function reads the colour values out of grasshopper_gui.xml settings database if it exists.
Public methodStatic memberSaveSkin
Store all palette and gui defaults. This function writes the colour values out to grasshopper_gui.xml settings database.
Top
Fields
  NameDescription
Public fieldStatic membercanvas_back
Specifies canvas background colour.
Public fieldStatic membercanvas_edge
Specifies canvas edge colour.
Public fieldStatic membercanvas_grid
Specifies canvas grid colour.
Public fieldStatic membercanvas_grid_col
Specifies the interval of the canvas grid columns.
Public fieldStatic membercanvas_grid_row
Specifies the interval of the canvas grid rows.
Public fieldStatic membercanvas_mono
Canvas monochromatic flag. If True, the canvas background is a solid colour.
Public fieldStatic membercanvas_mono_color
If canvas_mono is set to true, this colour specified the solid background fill for the canvas.
Public fieldStatic membercanvas_shade
Specifies the colour of the canvas drop shadow.
Public fieldStatic membercanvas_shade_size
Specifies the size of the canvas drop shadow.
Public fieldStatic membergroup_back
Specifies the default fill colour for Group objects.
Public fieldStatic memberpalette_black_selected
Black palette, selected.
Public fieldStatic memberpalette_black_standard
Black palette, unselected.
Public fieldStatic memberpalette_blue_selected
Blue palette, selected.
Public fieldStatic memberpalette_blue_standard
Blue palette, unselected.
Public fieldStatic memberpalette_brown_selected
Brown palette, selected.
Public fieldStatic memberpalette_brown_standard
Brown palette, unselected.
Public fieldStatic memberpalette_error_selected
Errors, selected palette. Default background for parameters and components that carry errors.
Public fieldStatic memberpalette_error_standard
Errors, unselected palette. Default background for parameters and components that carry errors.
Public fieldStatic memberpalette_grey_selected
Grey palette, selected.
Public fieldStatic memberpalette_grey_standard
Grey palette, unselected.
Public fieldStatic memberpalette_hidden_selected
Hidden, selected palette. Default background for PanelHidden (preview=off) parameters and components.
Public fieldStatic memberpalette_hidden_standard
Hidden, unselected palette. Default background for PanelHidden (preview=off) parameters and components.
Public fieldStatic memberpalette_locked_selected
Locked, selected palette. Default background for locked parameters and components.
Public fieldStatic memberpalette_locked_standard
Locked, unselected palette. Default background for locked parameters and components.
Public fieldStatic memberpalette_normal_selected
Normal, selected palette. Default background for parameters and components.
Public fieldStatic memberpalette_normal_standard
Normal, unselected palette. Default background for parameters and components.
Public fieldStatic memberpalette_pink_selected
Pink palette, selected.
Public fieldStatic memberpalette_pink_standard
Pink palette, unselected.
Public fieldStatic memberpalette_trans_selected
Transparent palette, selected.
Public fieldStatic memberpalette_trans_standard
Transparent palette, unselected.
Public fieldStatic memberpalette_warning_selected
Warnings, selected palette. Default background for parameters and components that carry warnings.
Public fieldStatic memberpalette_warning_standard
Warnings, unselected palette. Default background for parameters and components that carry warnings.
Public fieldStatic memberpalette_white_selected
White palette, selected.
Public fieldStatic memberpalette_white_standard
White palette, unselected.
Public fieldStatic memberpanel_back
Specifies the default fill colour for Panel objects.
Public fieldStatic memberwire_default
Specifies the default wire colour.
Public fieldStatic memberwire_empty
Specifies the colour for empty (null) wires.
Public fieldStatic memberwire_selected_a
Specifies the colour for wires at the selected end.
Public fieldStatic memberwire_selected_b
Specifies the colour for wires at the unselected end.
Public fieldStatic memberzui_edge
Specifies the default edge colour for ZUI elements.
Public fieldStatic memberzui_edge_highlight
Specifies the default edge colour for highlighted ZUI elements.
Public fieldStatic memberzui_fill
Specifies the default fill colour for ZUI elements.
Public fieldStatic memberzui_fill_highlight
Specifies the default fill colour for highlighted ZUI elements.
Top
See Also