3 #ifndef _GTKMM_COLORSELECTION_H
4 #define _GTKMM_COLORSELECTION_H
7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 {
class ColorSelection_Class; }
43 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50 {
class ColorSelectionDialog_Class; }
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
82 static CppClassType colorselection_class_;
89 explicit ColorSelection(
const Glib::ConstructParams& construct_params);
95 #ifndef DOXYGEN_SHOULD_SKIP_THIS
96 static GType get_type() G_GNUC_CONST;
99 static GType get_base_type() G_GNUC_CONST;
206 typedef sigc::slot<void, const Glib::RefPtr<Gdk::Screen>&,
288 #ifndef DOXYGEN_SHOULD_SKIP_THIS
297 #ifndef DOXYGEN_SHOULD_SKIP_THIS
301 static CppClassType colorselectiondialog_class_;
314 #ifndef DOXYGEN_SHOULD_SKIP_THIS
315 static GType get_type() G_GNUC_CONST;
318 static GType get_base_type() G_GNUC_CONST;
358 #ifndef GTKMM_DISABLE_DEPRECATED
Button * get_help_button()
GtkColorSelectionDialog * gobj()
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< ColorSelection * > property_color_selection() const
Glib::PropertyProxy_ReadOnly< Button * > property_ok_button() const
Button * get_cancel_button()
virtual ~ColorSelectionDialog()
const Button * get_ok_button() const
const ColorSelection * get_color_selection() const
const ColorSelection * get_colorsel() const
const GtkColorSelectionDialog * gobj() const
Provides access to the underlying C GtkObject.
Glib::PropertyProxy_ReadOnly< Button * > property_help_button() const
Gtk::ColorSelectionDialog * wrap(GtkColorSelectionDialog *object, bool take_copy=false)
ColorSelection * get_colorsel()
Glib::PropertyProxy_ReadOnly< Button * > property_cancel_button() const
const Button * get_help_button() const
const Button * get_cancel_button() const
ColorSelectionDialog(const Glib::ustring &title)
ColorSelection * get_color_selection()
static Glib::ustring palette_to_string(const Gdk::ArrayHandle_Color &colors)
Glib::SignalProxy0< void > signal_color_changed()
void set_current_alpha(guint16 alpha)
Gtk::ColorSelection * wrap(GtkColorSelection *object, bool take_copy=false)
Glib::PropertyProxy_ReadOnly< bool > property_has_opacity_control() const
bool get_has_opacity_control() const
void set_current_color(const Gdk::Color &color)
Glib::PropertyProxy< guint > property_current_alpha()
static Gdk::ArrayHandle_Color palette_from_string(const Glib::ustring &str)
Glib::PropertyProxy< Gdk::Color > property_current_color()
void set_has_opacity_control(bool has_opacity=true)
Glib::PropertyProxy< bool > property_has_opacity_control()
void set_has_palette(bool has_palette=true)
guint16 get_current_alpha() const
sigc::slot< void, const Glib::RefPtr< Gdk::Screen > &, const Gdk::ArrayHandle_Color & > SlotChangePaletteHook
GtkColorSelection * gobj()
Provides access to the underlying C GtkObject.
void set_previous_alpha(guint16 alpha)
Gdk::Color get_previous_color() const
static SlotChangePaletteHook set_change_palette_hook(const SlotChangePaletteHook &slot)
bool is_adjusting() const
void set_previous_color(const Gdk::Color &color)
bool get_has_palette() const
Glib::PropertyProxy< bool > property_has_palette()
guint16 get_previous_alpha() const
Glib::PropertyProxy_ReadOnly< guint > property_current_alpha() const
Glib::PropertyProxy_ReadOnly< bool > property_has_palette() const
virtual void on_color_changed()
This is a default handler for the signal signal_color_changed().
Glib::PropertyProxy_ReadOnly< Gdk::Color > property_current_color() const
Gdk::Color get_current_color() const
const GtkColorSelection * gobj() const
Provides access to the underlying C GtkObject.
virtual ~ColorSelection()
PBD::PropertyDescriptor< uint32_t > color
Glib::ArrayHandle< Color, ColorTraits > ArrayHandle_Color