Index

Package: Plot

Description

package Gtk.Extra.Plot_Canvas.Plot 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_Plot_Record

type Gtk_Plot_Canvas_Plot_Record is new Gtk_Plot_Canvas_Child_Record
     with private;

Ancestors:

Primitive operations:

Get_Datapoint
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)

Types

Gtk_Plot_Canvas_Plot

type Gtk_Plot_Canvas_Plot is access all Gtk_Plot_Canvas_Plot_Record'Class;

Plot_Canvas_Plot_Pos

type Plot_Canvas_Plot_Pos is
     (Plot_Out,
      Plot_In_Plot,
      Plot_In_Legends,
      Plot_In_Title,
      Plot_In_Axis,
      Plot_In_Data,
      Plot_In_Gradient,
      Plot_In_Marker);
The various parts of a plot in which a user can click

Plot_Canvas_Plot_Flags

type Plot_Canvas_Plot_Flags is mod 2 ** 8;

Constants & Global variables

Flags_Select_Point (Plot_Canvas_Plot_Flags)

Flags_Select_Point : constant Plot_Canvas_Plot_Flags := 2 ** 0;

Flags_Dnd_Point (Plot_Canvas_Plot_Flags)

Flags_Dnd_Point    : constant Plot_Canvas_Plot_Flags := 2 ** 1;
Flags specific to a Gtk_Plot_Canvas_Plot

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Child: out Gtk_Plot_Canvas_Plot;
Plot: access Gtk.Extra.Plot.Gtk_Plot_Record'Class);
Create a new plot child, wrapping Plot

Get_Pos

function Get_Pos 
(Child: access Gtk_Plot_Canvas_Plot_Record) return Plot_Canvas_Plot_Pos;
Return the position in the plot where the user has last clicked

Get_Data

function Get_Data 
(Child: access Gtk_Plot_Canvas_Plot_Record) return Gtk.Extra.Plot_Data.Gtk_Plot_Data;
Return the data associated with Child

Get_Datapoint

function Get_Datapoint 
(Child: access Gtk_Plot_Canvas_Plot_Record) return Gint;
Return the point in the plot data that was selected by the user

Set_Flags

procedure Set_Flags 
(Child: access Gtk_Plot_Canvas_Plot_Record;
Flags: Plot_Canvas_Plot_Flags);

Unset_Flags

procedure Unset_Flags 
(Child: access Gtk_Plot_Canvas_Plot_Record;
Flags: Plot_Canvas_Plot_Flags);
Set or Unset specific flags from Child