Index

Package: Cell_Renderer_Progress

Description

package Gtk.Cell_Renderer_Progress is

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.

Packages

Classes

Gtk_Cell_Renderer_Progress_Record

type Gtk_Cell_Renderer_Progress_Record is new Gtk_Cell_Renderer_Record with null record;

Ancestors:

Primitive operations:

Get_Orientation
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Cell_Renderer.Activate (Inherited)
Gtk.Cell_Renderer.Get_Aligned_Area (Inherited)
Gtk.Cell_Renderer.Get_Alignment (Inherited)
Gtk.Cell_Renderer.Get_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Get_Padding (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Height (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Height_For_Width (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Size (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Width (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Width_For_Height (Inherited)
Gtk.Cell_Renderer.Get_Request_Mode (Inherited)
Gtk.Cell_Renderer.Get_Sensitive (Inherited)
Gtk.Cell_Renderer.Get_Size (Inherited)
Gtk.Cell_Renderer.Get_State (Inherited)
Gtk.Cell_Renderer.Get_Visible (Inherited)
Gtk.Cell_Renderer.Is_Activatable (Inherited)
Gtk.Cell_Renderer.On_Editing_Canceled (Inherited)
Gtk.Cell_Renderer.On_Editing_Canceled (Inherited)
Gtk.Cell_Renderer.On_Editing_Started (Inherited)
Gtk.Cell_Renderer.On_Editing_Started (Inherited)
Gtk.Cell_Renderer.Render (Inherited)
Gtk.Cell_Renderer.Set_Alignment (Inherited)
Gtk.Cell_Renderer.Set_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Set_Padding (Inherited)
Gtk.Cell_Renderer.Set_Sensitive (Inherited)
Gtk.Cell_Renderer.Set_Visible (Inherited)
Gtk.Cell_Renderer.Start_Editing (Inherited)
Gtk.Cell_Renderer.Stop_Editing (Inherited)
Set_Orientation

Types

Gtk_Cell_Renderer_Progress

type Gtk_Cell_Renderer_Progress is access all Gtk_Cell_Renderer_Progress_Record'Class;

Constants & Global variables

Pulse_Property (Glib.Properties.Property_Int)

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.

Text_Property (Glib.Properties.Property_String)

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 (Glib.Properties.Property_Float)

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 (Glib.Properties.Property_Float)

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 (Glib.Properties.Property_Int)

Value_Property : constant Glib.Properties.Property_Int;
The "value" property determines the percentage to which the progress bar will be "filled in".

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Self: out Gtk_Cell_Renderer_Progress);

Initialize

procedure Initialize 
(Self: not null access Gtk_Cell_Renderer_Progress_Record'Class);

Gtk_Cell_Renderer_Progress_New

function Gtk_Cell_Renderer_Progress_New return Gtk_Cell_Renderer_Progress;

Get_Type

function Get_Type return Glib.GType;

Get_Orientation

function Get_Orientation 
(Self: not null access Gtk_Cell_Renderer_Progress_Record) return Gtk.Enums.Gtk_Orientation;

Set_Orientation

procedure Set_Orientation 
(Self: not null access Gtk_Cell_Renderer_Progress_Record;
Orientation: Gtk.Enums.Gtk_Orientation);