Class: Gtk::ColorSelection
- Inherits:
-
Object
- Object
- Gtk::ColorSelection
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#current_alpha ⇒ Integer
Current-alpha.
- #current_alpha=(current_alpha) ⇒ Integer
-
#current_color ⇒ Gdk::Color
The current GdkColor color.
-
#current_color=(current_color) ⇒ Gdk::Color
The current GdkColor color.
-
#current_rgba ⇒ Gdk::RGBA
The current RGBA color.
-
#current_rgba=(current_rgba) ⇒ Gdk::RGBA
The current RGBA color.
-
#get_current_color(color) ⇒ nil
Sets color to be the current color in the GtkColorSelection widget.
-
#get_current_rgba(rgba) ⇒ nil
Sets rgba to be the current color in the GtkColorSelection widget.
-
#get_previous_color(color) ⇒ nil
Fills color in with the original color value.
-
#get_previous_rgba(rgba) ⇒ nil
Fills rgba in with the original color value.
-
#has_opacity_control ⇒ TrueClass
Determines whether the colorsel has an opacity control.
- #has_opacity_control=(has_opacity_control) ⇒ TrueClass
-
#has_opacity_control? ⇒ TrueClass
Has-opacity-control.
-
#has_palette ⇒ TrueClass
Determines whether the color selector has a color palette.
- #has_palette=(has_palette) ⇒ TrueClass
-
#has_palette? ⇒ TrueClass
Has-palette.
-
#is_adjusting ⇒ TrueClass
Gets the current state of the colorsel.
-
#new ⇒ Gtk::Widget
Creates a new GtkColorSelection.
-
#previous_alpha ⇒ Integer
Returns the previous alpha value.
-
#previous_alpha=(alpha) ⇒ nil
Sets the “previous” alpha to be alpha.
-
#previous_color=(color) ⇒ nil
Sets the “previous” color to be color.
-
#previous_rgba=(rgba) ⇒ nil
Sets the “previous” color to be rgba.
Instance Method Details
#current_alpha ⇒ Integer
Returns current-alpha.
#current_alpha=(current_alpha) ⇒ Integer
#current_color ⇒ Gdk::Color
The current GdkColor color.
#current_color=(current_color) ⇒ Gdk::Color
The current GdkColor color.
#current_rgba ⇒ Gdk::RGBA
The current RGBA color.
#current_rgba=(current_rgba) ⇒ Gdk::RGBA
The current RGBA color.
#get_current_color(color) ⇒ nil
Sets color to be the current color in the GtkColorSelection widget.
#get_current_rgba(rgba) ⇒ nil
Sets rgba to be the current color in the GtkColorSelection widget.
#get_previous_color(color) ⇒ nil
Fills color in with the original color value.
#get_previous_rgba(rgba) ⇒ nil
Fills rgba in with the original color value.
#has_opacity_control ⇒ TrueClass
Determines whether the colorsel has an opacity control.
#has_opacity_control=(has_opacity_control) ⇒ TrueClass
#has_opacity_control? ⇒ TrueClass
Returns has-opacity-control.
#has_palette ⇒ TrueClass
Determines whether the color selector has a color palette.
#has_palette=(has_palette) ⇒ TrueClass
#has_palette? ⇒ TrueClass
Returns has-palette.
#is_adjusting ⇒ TrueClass
Gets the current state of the colorsel.
#new ⇒ Gtk::Widget
Creates a new GtkColorSelection.
#previous_alpha ⇒ Integer
Returns the previous alpha value.
#previous_alpha=(alpha) ⇒ nil
Sets the “previous” alpha to be alpha.
This function should be called with some hesitations, as it might seem confusing to have that alpha change.
#previous_color=(color) ⇒ nil
Sets the “previous” color to be color.
This function should be called with some hesitations, as it might seem confusing to have that color change. Calling gtk_color_selection_set_current_color() will also set this color the first time it is called.
#previous_rgba=(rgba) ⇒ nil
Sets the “previous” color to be rgba.
This function should be called with some hesitations, as it might seem confusing to have that color change. Calling gtk_color_selection_set_current_rgba() will also set this color the first time it is called.