PHP-GTK
Saturday, October 25, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkCList::selection
GtkColorButton Constructornext

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

GtkColorButton

A button that launches a color selection dialog.

Object Hierarchy

Description

GtkColorButton is a button that performs two functions. One is to display the current color selected (or the default color is no color has been selected yet) and the other is to allow the user to launch a GtkColorSelectionDialog to select a color. It is a suitable widget that may be displayed wherever you require the user to select a color for a specific purpose.

Constructors

-- Creates a new GtkColorButton.

Methods

get_alpha()
  Returns the current alpha value.
get_color()
  Returns the current color selected.
get_title()
  Returns the title of the color selection dialog.
get_use_alpha()
  Determines whether the color selection dialog uses the alpha channel or not.
set_alpha()
  Sets the current alpha value.
set_color()
  Sets the current color selected.
set_title()
  Sets the title of the color selection dialog.
set_use_alpha()
  Sets whether the color selection dialog will use the alpha channel or not.

Signals

"color-set"
  Emitted when the user selects a color.


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


previousGtkCList::selection
GtkColorButton 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