PHP-GTK
Saturday, September 20, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previouscolor-set
GtkColorSelection Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkColorSelection

Widget that is used to select a color.

Object Hierarchy

Description

GtkColorSelection is a widget that is used to select a color. The widget provides a very user friendly interface that includes a 'color wheel' in addition to a number of sliders and entry boxes for color parameters such as hue, saturation, RGB, and opacity. The widget is used in the ready-made color selection dialog box, GtkColorSelectionDialog.

Constructors

-- Creates a new GtkColorSelection

Methods

get_color()
  DEPRECATED. Returns the color currently selected in the GtkColorSelection widget.
get_current_alpha()
  Returns the current alpha value on the GtkColorSelection widget.
get_current_color()
  Returns the current color selected on the GtkColorSelection widget.
get_has_opacity_control()
  Determines whether the GtkColorSelection has opacity control enabled.
get_has_palette()
  Determines if the widget has a palette.
get_previous_alpha()
  Returns the previous alpha value on the GtkColorSelection widget.
get_previous_color()
  Returns the previous color selected on the widget.
is_adjusting()
  Gets the current state of the specified GtkColorSelection
set_color()
  DEPRECATED. Sets the color currently selected in the GtkColorSelection widget.
set_current_alpha()
  Sets the current alpha value on the GtkColorSelection widget.
set_current_color()
  Sets the current color selected on the GtkColorSelection widget.
set_has_opacity_control()
  Sets whether the opacity control is visible for the widget.
set_has_palette()
  Sets whether the palette for the GtkColorSelection widget is visible or not.
set_previous_alpha()
  Sets the previous value on alpha on the widget.
set_previous_color()
  Sets the previous color selected on the widget.
set_update_policy()
  DEPRECATED. Sets the policy controlling when the "color-changed" signal is emitted.
palette_to_string()
 

Signals

"color-changed"
  Emitted when the color changes in the widget according to its update policy.


User Contributed Notes
gtk.gtkcolorselection.php
add a note about notes
There are no user contributed notes for this page.


previouscolor-set
GtkColorSelection Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST