pragma Ada_2005;
pragma Warnings (Off, "*is already use-visible*");
with Gdk.Color; use Gdk.Color;
with Gdk.RGBA; use Gdk.RGBA;
with Glib; use Glib;
with Glib.Object; use Glib.Object;
with Glib.Properties; use Glib.Properties;
with Gtk.Cell_Renderer; use Gtk.Cell_Renderer;
with Pango.Enums; use Pango.Enums;
with Pango.Font; use Pango.Font;
with Pango.Layout; use Pango.Layout;
package Gtk.Cell_Renderer_Text is
type Gtk_Cell_Renderer_Text_Record is new Gtk_Cell_Renderer_Record with null record;
type Gtk_Cell_Renderer_Text is access all Gtk_Cell_Renderer_Text_Record'Class;
procedure Gtk_New (Self : out Gtk_Cell_Renderer_Text);
procedure Initialize
(Self : not null access Gtk_Cell_Renderer_Text_Record'Class);
function Gtk_Cell_Renderer_Text_New return Gtk_Cell_Renderer_Text;
function Get_Type return Glib.GType;
pragma Import (C, Get_Type, "gtk_cell_renderer_text_get_type");
procedure Set_Fixed_Height_From_Font
(Self : not null access Gtk_Cell_Renderer_Text_Record;
Number_Of_Rows : Gint);
Align_Set_Property : constant Glib.Properties.Property_Boolean;
Alignment_Property : constant Pango.Enums.Property_Alignment;
Attributes_Property : constant Glib.Properties.Property_Object;
Background_Property : constant Glib.Properties.Property_String;
Background_Gdk_Property : constant Gdk.Color.Property_Gdk_Color;
Background_Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Background_Set_Property : constant Glib.Properties.Property_Boolean;
Editable_Property : constant Glib.Properties.Property_Boolean;
Editable_Set_Property : constant Glib.Properties.Property_Boolean;
Ellipsize_Property : constant Pango.Layout.Property_Pango_Ellipsize_Mode;
Ellipsize_Set_Property : constant Glib.Properties.Property_Boolean;
Family_Property : constant Glib.Properties.Property_String;
Family_Set_Property : constant Glib.Properties.Property_Boolean;
Font_Property : constant Glib.Properties.Property_String;
Font_Desc_Property : constant Pango.Font.Property_Font_Description;
Foreground_Property : constant Glib.Properties.Property_String;
Foreground_Gdk_Property : constant Gdk.Color.Property_Gdk_Color;
Foreground_Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Foreground_Set_Property : constant Glib.Properties.Property_Boolean;
Language_Property : constant Glib.Properties.Property_String;
Language_Set_Property : constant Glib.Properties.Property_Boolean;
Markup_Property : constant Glib.Properties.Property_String;
Max_Width_Chars_Property : constant Glib.Properties.Property_Int;
Placeholder_Text_Property : constant Glib.Properties.Property_String;
Rise_Property : constant Glib.Properties.Property_Int;
Rise_Set_Property : constant Glib.Properties.Property_Boolean;
Scale_Property : constant Glib.Properties.Property_Double;
Scale_Set_Property : constant Glib.Properties.Property_Boolean;
Single_Paragraph_Mode_Property : constant Glib.Properties.Property_Boolean;
Size_Property : constant Glib.Properties.Property_Int;
Size_Points_Property : constant Glib.Properties.Property_Double;
Size_Set_Property : constant Glib.Properties.Property_Boolean;
Stretch_Property : constant Pango.Enums.Property_Stretch;
Stretch_Set_Property : constant Glib.Properties.Property_Boolean;
Strikethrough_Property : constant Glib.Properties.Property_Boolean;
Strikethrough_Set_Property : constant Glib.Properties.Property_Boolean;
Style_Property : constant Pango.Enums.Property_Style;
Style_Set_Property : constant Glib.Properties.Property_Boolean;
Text_Property : constant Glib.Properties.Property_String;
Underline_Property : constant Pango.Enums.Property_Underline;
Underline_Set_Property : constant Glib.Properties.Property_Boolean;
Variant_Property : constant Pango.Enums.Property_Variant;
Variant_Set_Property : constant Glib.Properties.Property_Boolean;
Weight_Property : constant Pango.Enums.Property_Weight;
Weight_Set_Property : constant Glib.Properties.Property_Boolean;
Width_Chars_Property : constant Glib.Properties.Property_Int;
Wrap_Mode_Property : constant Pango.Enums.Property_Wrap_Mode;
Wrap_Width_Property : constant Glib.Properties.Property_Int;
type Cb_Gtk_Cell_Renderer_Text_UTF8_String_UTF8_String_Void is not null access procedure
(Self : access Gtk_Cell_Renderer_Text_Record'Class;
Path : UTF8_String;
New_Text : UTF8_String);
type Cb_GObject_UTF8_String_UTF8_String_Void is not null access procedure
(Self : access Glib.Object.GObject_Record'Class;
Path : UTF8_String;
New_Text : UTF8_String);
Signal_Edited : constant Glib.Signal_Name := "edited";
procedure On_Edited
(Self : not null access Gtk_Cell_Renderer_Text_Record;
Call : Cb_Gtk_Cell_Renderer_Text_UTF8_String_UTF8_String_Void;
After : Boolean := False);
procedure On_Edited
(Self : not null access Gtk_Cell_Renderer_Text_Record;
Call : Cb_GObject_UTF8_String_UTF8_String_Void;
Slot : not null access Glib.Object.GObject_Record'Class;
After : Boolean := False);
private
Wrap_Width_Property : constant Glib.Properties.Property_Int :=
Glib.Properties.Build ("wrap-width");
Wrap_Mode_Property : constant Pango.Enums.Property_Wrap_Mode :=
Pango.Enums.Build ("wrap-mode");
Width_Chars_Property : constant Glib.Properties.Property_Int :=
Glib.Properties.Build ("width-chars");
Weight_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("weight-set");
Weight_Property : constant Pango.Enums.Property_Weight :=
Pango.Enums.Build ("weight");
Variant_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("variant-set");
Variant_Property : constant Pango.Enums.Property_Variant :=
Pango.Enums.Build ("variant");
Underline_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("underline-set");
Underline_Property : constant Pango.Enums.Property_Underline :=
Pango.Enums.Build ("underline");
Text_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("text");
Style_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("style-set");
Style_Property : constant Pango.Enums.Property_Style :=
Pango.Enums.Build ("style");
Strikethrough_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("strikethrough-set");
Strikethrough_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("strikethrough");
Stretch_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("stretch-set");
Stretch_Property : constant Pango.Enums.Property_Stretch :=
Pango.Enums.Build ("stretch");
Size_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("size-set");
Size_Points_Property : constant Glib.Properties.Property_Double :=
Glib.Properties.Build ("size-points");
Size_Property : constant Glib.Properties.Property_Int :=
Glib.Properties.Build ("size");
Single_Paragraph_Mode_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("single-paragraph-mode");
Scale_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("scale-set");
Scale_Property : constant Glib.Properties.Property_Double :=
Glib.Properties.Build ("scale");
Rise_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("rise-set");
Rise_Property : constant Glib.Properties.Property_Int :=
Glib.Properties.Build ("rise");
Placeholder_Text_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("placeholder-text");
Max_Width_Chars_Property : constant Glib.Properties.Property_Int :=
Glib.Properties.Build ("max-width-chars");
Markup_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("markup");
Language_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("language-set");
Language_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("language");
Foreground_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("foreground-set");
Foreground_Rgba_Property : constant Gdk.RGBA.Property_RGBA :=
Gdk.RGBA.Build ("foreground-rgba");
Foreground_Gdk_Property : constant Gdk.Color.Property_Gdk_Color :=
Gdk.Color.Build ("foreground-gdk");
Foreground_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("foreground");
Font_Desc_Property : constant Pango.Font.Property_Font_Description :=
Pango.Font.Build ("font-desc");
Font_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("font");
Family_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("family-set");
Family_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("family");
Ellipsize_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("ellipsize-set");
Ellipsize_Property : constant Pango.Layout.Property_Pango_Ellipsize_Mode :=
Pango.Layout.Build ("ellipsize");
Editable_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("editable-set");
Editable_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("editable");
Background_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("background-set");
Background_Rgba_Property : constant Gdk.RGBA.Property_RGBA :=
Gdk.RGBA.Build ("background-rgba");
Background_Gdk_Property : constant Gdk.Color.Property_Gdk_Color :=
Gdk.Color.Build ("background-gdk");
Background_Property : constant Glib.Properties.Property_String :=
Glib.Properties.Build ("background");
Attributes_Property : constant Glib.Properties.Property_Object :=
Glib.Properties.Build ("attributes");
Alignment_Property : constant Pango.Enums.Property_Alignment :=
Pango.Enums.Build ("alignment");
Align_Set_Property : constant Glib.Properties.Property_Boolean :=
Glib.Properties.Build ("align-set");
end Gtk.Cell_Renderer_Text;