Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress renders a numeric value as a progress par in a cell. Additionally, it can display a text on top of the progress bar.
The Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress cell renderer was added in GTK+ 2.6.
function "+"
(Widget : access Gtk_Cell_Renderer_Progress_Record'Class)
return Gtk.Orientable.Gtk_Orientable
function "-"
(Interf : Gtk.Orientable.Gtk_Orientable)
return Gtk_Cell_Renderer_Progress
function Get_Orientation
(Self : not null access Gtk_Cell_Renderer_Progress_Record)
return Gtk.Enums.Gtk_Orientation
function Get_Type return Glib.GType
type Gtk_Cell_Renderer_Progress is access all Gtk_Cell_Renderer_Progress_Record'Class;
function Gtk_Cell_Renderer_Progress_New return Gtk_Cell_Renderer_Progress
Creates a new Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress. Since: gtk+ 2.6
type Gtk_Cell_Renderer_Progress_Record is new Gtk_Cell_Renderer_Record with null record;
procedure Gtk_New (Self : out Gtk_Cell_Renderer_Progress)
Creates a new Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress. Since: gtk+ 2.6 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
package Implements_Gtk_Orientable is new Glib.Types.Implements
(Gtk.Orientable.Gtk_Orientable, Gtk_Cell_Renderer_Progress_Record, Gtk_Cell_Renderer_Progress);
procedure Initialize
(Self : not null access Gtk_Cell_Renderer_Progress_Record'Class)
Creates a new Gtk.Cell_Renderer_Progress.Gtk_Cell_Renderer_Progress. Since: gtk+ 2.6 Initialize does nothing if the object was already created with another call to Initialize* or G_New.
Inverted_Property : constant Glib.Properties.Property_Boolean;
Pulse_Property : constant Glib.Properties.Property_Int;
Setting this to a non-negative value causes the cell renderer to enter "activity mode", where a block bounces back and forth to indicate that some progress is made, without specifying exactly how much.
Each increment of the property causes the block to move by a little bit.
To indicate that the activity has not started yet, set the property to zero. To indicate completion, set the property to G_MAXINT.
procedure Set_Orientation
(Self : not null access Gtk_Cell_Renderer_Progress_Record;
Orientation : Gtk.Enums.Gtk_Orientation)
Text_Property : constant Glib.Properties.Property_String;
The "text" property determines the label which will be drawn over the progress bar. Setting this property to null causes the default label to be displayed. Setting this property to an empty string causes no label to be displayed.
Text_Xalign_Property : constant Glib.Properties.Property_Float;
The "text-xalign" property controls the horizontal alignment of the text in the progress bar. Valid values range from 0 (left) to 1 (right). Reserved for RTL layouts.
Text_Yalign_Property : constant Glib.Properties.Property_Float;
The "text-yalign" property controls the vertical alignment of the text in the progress bar. Valid values range from 0 (top) to 1 (bottom).
Value_Property : constant Glib.Properties.Property_Int;
The "value" property determines the percentage to which the progress bar will be "filled in".