Rechercher une page de manuel
Gtk2::ColorSelection.3pm
Langue: en
Version: 2008-11-28 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- HIERARCHY
- INTERFACES
- METHODS
- widget = Gtk2::ColorSelection->new
- unsigned = $colorsel->get_current_alpha
- $colorsel->set_current_alpha ($alpha)
- color = $colorsel->get_current_color
- $colorsel->set_current_color ($color)
- boolean = $colorsel->get_has_opacity_control
- $colorsel->set_has_opacity_control ($has_opacity)
- boolean = $colorsel->get_has_palette
- $colorsel->set_has_palette ($has_palette)
- boolean = $colorsel->is_adjusting
- list = Gtk2::ColorSelection->palette_from_string ($string)
- (string) = Gtk::ColorSelection->palette_to_string (...)
- unsigned = $colorsel->get_previous_alpha
- $colorsel->set_previous_alpha ($alpha)
- color = $colorsel->get_previous_color
- $colorsel->set_previous_color ($color)
- PROPERTIES
- SIGNALS
- SEE ALSO
- COPYRIGHT
NAME
Gtk2::ColorSelectionHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::VBox +----Gtk2::ColorSelection
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
METHODS
widget = Gtk2::ColorSelection->new
unsigned = $colorsel->get_current_alpha
$colorsel->set_current_alpha ($alpha)
-
- •
- $alpha (unsigned)
color = $colorsel->get_current_color
$colorsel->set_current_color ($color)
-
- •
- $color (Gtk2::Gdk::Color)
boolean = $colorsel->get_has_opacity_control
$colorsel->set_has_opacity_control ($has_opacity)
-
- •
- $has_opacity (boolean)
boolean = $colorsel->get_has_palette
$colorsel->set_has_palette ($has_palette)
-
- •
- $has_palette (boolean)
boolean = $colorsel->is_adjusting
list = Gtk2::ColorSelection->palette_from_string ($string)
-
- •
- $string (string)
Returns a list of Gtk2::Gdk::color's.
(string) = Gtk::ColorSelection->palette_to_string (...)
-
- •
- ... (list) of Gtk2::Gdk::Color's for the palette
Encodes a palette as a string, useful for persistent storage.
unsigned = $colorsel->get_previous_alpha
$colorsel->set_previous_alpha ($alpha)
-
- •
- $alpha (unsigned)
color = $colorsel->get_previous_color
$colorsel->set_previous_color ($color)
-
- •
- $color (Gtk2::Gdk::Color)
PROPERTIES
- 'current-alpha' (Glib::UInt : readable / writable / private)
- The current opacity value (0 fully transparent, 65535 fully opaque)
- 'current-color' (Gtk2::Gdk::Color : readable / writable / private)
- The current color
- 'has-opacity-control' (boolean : readable / writable / private)
- Whether the color selector should allow setting opacity
- 'has-palette' (boolean : readable / writable / private)
- Whether a palette should be used
SIGNALS
- color-changed (Gtk2::ColorSelection)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBoxCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre