Index

Package: Line

Description

package Gtk.Extra.Plot_Canvas.Line 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_Line_Record

type Gtk_Plot_Canvas_Line_Record is new Gtk_Plot_Canvas_Child_Record
     with null record;

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_Line

type Gtk_Plot_Canvas_Line is access all Gtk_Plot_Canvas_Line_Record'Class;

Plot_Canvas_Arrow

type Plot_Canvas_Arrow is new Gint;

Constants & Global variables

Arrow_None (Plot_Canvas_Arrow)

Arrow_None   : constant Plot_Canvas_Arrow := 0;

Arrow_Origin (Plot_Canvas_Arrow)

Arrow_Origin : constant Plot_Canvas_Arrow := 1;

Arrow_End (Plot_Canvas_Arrow)

Arrow_End    : constant Plot_Canvas_Arrow := 2;

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Child: out Gtk_Plot_Canvas_Line;
Style: Gtk.Extra.Plot_Data.Plot_Line_Style;
Width: Gfloat;
Color: Gdk.Color.Gdk_Color;
Arrow_Mask: Plot_Canvas_Arrow);
Create a new line child

Get_Type

function Get_Type return Glib.GType;
Return the internal type used for this child

Set_Arrow

procedure Set_Arrow 
(Line: access Gtk_Plot_Canvas_Line_Record;
Style: Gtk.Extra.Plot_Data.Plot_Symbol_Style;
Width: Gfloat;
Length: Gfloat;
Mask: Plot_Canvas_Arrow);
Change the arrow style for this line

Set_Attributes

procedure Set_Attributes 
(Line: access Gtk_Plot_Canvas_Line_Record;
Style: Gtk.Extra.Plot_Data.Plot_Line_Style;
Width: Gfloat;
Color: Gdk.Color.Gdk_Color);
Change the attributes of the line