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;
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);
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;
Signal_Edited : constant Glib.Signal_Name := "edited";
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;
procedure Set_Fixed_Height_From_Font
( | Self | : not null access Gtk_Cell_Renderer_Text_Record; |
Number_Of_Rows | : Gint); |
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); |
A Gtk.Cell_Renderer_Text.Gtk_Cell_Renderer_Text renders a given text in its cell, using the font, color and style information provided by its properties. The text will be ellipsized if it is too long and the Gtk.Cell_Renderer_Text.Gtk_Cell_Renderer_Text:ellipsize property allows it.
If the Gtk.Cell_Renderer.Gtk_Cell_Renderer:mode is Gtk.Cell_Renderer.Cell_Renderer_Mode_Editable, the Gtk.Cell_Renderer_Text.Gtk_Cell_Renderer_Text allows to edit its text using an entry.