Rechercher une page de manuel
Gtk2::ColorButton.3pm
Langue: en
Version: 2009-03-13 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::ColorButtonHIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Button +----Gtk2::ColorButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Glib::Object::_Unregistered::GtkActivatable
METHODS
widget = Gtk2::ColorButton->new ($color=undef)
-
- •
- $color (Gtk2::Gdk::Color)
widget = Gtk2::ColorButton->new_with_color ($color=undef)
-
- •
- $color (Gtk2::Gdk::Color)
unsigned = $color_button->get_alpha
unsigned = $color_button->get_alpha
$color_button->set_alpha ($alpha)
$color_button->set_alpha ($alpha)
-
- •
- $alpha (unsigned)
color = $color_button->get_color
color = $color_button->get_color
$color_button->set_color ($color)
$color_button->set_color ($color)
-
- •
- $color (Gtk2::Gdk::Color)
string = $color_button->get_title
string = $color_button->get_title
$color_button->set_title ($title)
$color_button->set_title ($title)
-
- •
- $title (string)
boolean = $color_button->get_use_alpha
boolean = $color_button->get_use_alpha
$color_button->set_use_alpha ($use_alpha)
$color_button->set_use_alpha ($use_alpha)
-
- •
- $use_alpha (boolean)
PROPERTIES
- 'alpha' (Glib::UInt : readable / writable / private)
- The selected opacity value (0 fully transparent, 65535 fully opaque)
- 'color' (Gtk2::Gdk::Color : readable / writable / private)
- The selected color
- 'title' (string : readable / writable / private)
- The title of the color selection dialog
- 'use-alpha' (boolean : readable / writable / private)
- Whether or not to give the color an alpha value
SIGNALS
- color-set (Gtk2::ColorButton)
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ButtonCOPYRIGHT
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