Gtk.Color_Chooser_Dialog

Entities

Tagged Types

Access Types

Constants

Subprograms

Generic Instantiations

Description

The Gtk.Color_Chooser_Dialog.Gtk_Color_Chooser_Dialog widget is a dialog for choosing a color. It implements the Gtk.Color_Chooser.Gtk_Color_Chooser interface.

"+"

function "+"
  (Widget : access Gtk_Color_Chooser_Dialog_Record'Class)
return Gtk.Buildable.Gtk_Buildable
Parameters
Widget
Return Value

"+"

function "+"
  (Widget : access Gtk_Color_Chooser_Dialog_Record'Class)
return Gtk.Color_Chooser.Gtk_Color_Chooser
Parameters
Widget
Return Value

"-"

function "-"
  (Interf : Gtk.Buildable.Gtk_Buildable)
return Gtk_Color_Chooser_Dialog
Parameters
Interf
Return Value

"-"

function "-"
  (Interf : Gtk.Color_Chooser.Gtk_Color_Chooser)
return Gtk_Color_Chooser_Dialog
Parameters
Interf
Return Value

Add_Palette

procedure Add_Palette
   (Self            : not null access Gtk_Color_Chooser_Dialog_Record;
    Orientation     : Gtk.Enums.Gtk_Orientation;
    Colors_Per_Line : Glib.Gint;
    N_Colors        : Glib.Gint;
    Colors          : array_of_Gdk_RGBA)
Parameters
Self
Orientation
Colors_Per_Line
N_Colors
Colors

Get_Rgba

procedure Get_Rgba
   (Self  : not null access Gtk_Color_Chooser_Dialog_Record;
    Color : out Gdk.RGBA.Gdk_RGBA)
Parameters
Self
Color

Get_Type

function Get_Type return Glib.GType
Return Value

Get_Use_Alpha

function Get_Use_Alpha
   (Self : not null access Gtk_Color_Chooser_Dialog_Record)
    return Boolean
Parameters
Self
Return Value

Gtk_Color_Chooser_Dialog

type Gtk_Color_Chooser_Dialog is access all Gtk_Color_Chooser_Dialog_Record'Class;

Gtk_Color_Chooser_Dialog_New

function Gtk_Color_Chooser_Dialog_New
   (Title  : UTF8_String := "";
    Parent : access Gtk.Window.Gtk_Window_Record'Class)
    return Gtk_Color_Chooser_Dialog

Creates a new Gtk.Color_Chooser_Dialog.Gtk_Color_Chooser_Dialog. Since: gtk+ 3.4

Parameters
Title

Title of the dialog, or null

Parent

Transient parent of the dialog, or null

Return Value

Gtk_Color_Chooser_Dialog_Record

type Gtk_Color_Chooser_Dialog_Record is new Gtk_Dialog_Record with null record;

Gtk_New

procedure Gtk_New
   (Self   : out Gtk_Color_Chooser_Dialog;
    Title  : UTF8_String := "";
    Parent : access Gtk.Window.Gtk_Window_Record'Class)

Creates a new Gtk.Color_Chooser_Dialog.Gtk_Color_Chooser_Dialog. Since: gtk+ 3.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self
Title

Title of the dialog, or null

Parent

Transient parent of the dialog, or null

Implements_Gtk_Buildable

package Implements_Gtk_Buildable is new Glib.Types.Implements
  (Gtk.Buildable.Gtk_Buildable, Gtk_Color_Chooser_Dialog_Record, Gtk_Color_Chooser_Dialog);

Implements_Gtk_Color_Chooser

package Implements_Gtk_Color_Chooser is new Glib.Types.Implements
  (Gtk.Color_Chooser.Gtk_Color_Chooser, Gtk_Color_Chooser_Dialog_Record, Gtk_Color_Chooser_Dialog);

Initialize

procedure Initialize
   (Self   : not null access Gtk_Color_Chooser_Dialog_Record'Class;
    Title  : UTF8_String := "";
    Parent : access Gtk.Window.Gtk_Window_Record'Class)

Creates a new Gtk.Color_Chooser_Dialog.Gtk_Color_Chooser_Dialog. Since: gtk+ 3.4 Initialize does nothing if the object was already created with another call to Initialize* or G_New.

Parameters
Self
Title

Title of the dialog, or null

Parent

Transient parent of the dialog, or null

Set_Rgba

procedure Set_Rgba
   (Self  : not null access Gtk_Color_Chooser_Dialog_Record;
    Color : Gdk.RGBA.Gdk_RGBA)
Parameters
Self
Color

Set_Use_Alpha

procedure Set_Use_Alpha
   (Self      : not null access Gtk_Color_Chooser_Dialog_Record;
    Use_Alpha : Boolean)
Parameters
Self
Use_Alpha

Show_Editor_Property

Show_Editor_Property : constant Glib.Properties.Property_Boolean;