Index

Package: Text

Description

package Gtk.Extra.Plot_Canvas.Text is
A special kind of child that can be put in a Gtk_Plot_Canvas.

Binding from C File version gtkextra 2.1.1

Classes

Gtk_Plot_Canvas_Text_Record

type Gtk_Plot_Canvas_Text_Record is new Gtk_Plot_Canvas_Child_Record
     with private;

Ancestors:

Primitive operations:

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.Extra.Plot_Canvas.Set_Selection (Inherited)
Gtk.Extra.Plot_Canvas.Set_Selection_Mode (Inherited)
Set_Attributes

Types

Gtk_Plot_Canvas_Text

type Gtk_Plot_Canvas_Text is access all Gtk_Plot_Canvas_Text_Record'Class;

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Child: out Gtk_Plot_Canvas_Text;
Text: String;
Font: String := "";
Height: Gint := 0;
Angle: Gtk.Extra.Plot_Data.Plot_Angle := Gtk.Extra.Plot_Data.Angle_0;
Fg: Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Bg: Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Transparent: Boolean := True;
Justification: Gtk.Enums.Gtk_Justification := Gtk.Enums.Justify_Center);
Create a new text child. If default values are used, the corresponding attribute isn't set

Set_Attributes

procedure Set_Attributes 
(Child: access Gtk_Plot_Canvas_Text_Record;
Font: String := "";
Height: Gint;
Angle: Gtk.Extra.Plot_Data.Plot_Angle;
Fg: Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Bg: Gdk.Color.Gdk_Color := Gdk.Color.Null_Color;
Transparent: Boolean;
Justification: Gtk.Enums.Gtk_Justification;
Text: String);
Change the attribute of Text. The attributes with their default values are not changed.