Toc Gallery Index Tree Gtk.Extra.Plot_Canvas.Plot

Hierarchy

Description

A special kind of child that can be put in a Gtk_Plot_Canvas.

Types

  • type Gtk_Plot_Canvas_Plot is access all Gtk_Plot_Canvas_Plot_Record'Class;
  • type Gtk_Plot_Canvas_Plot_Record is new Gtk_Plot_Canvas_Child_Record with private;
  • type Plot_Canvas_Plot_Flags is mod 2 ** 8;
  • 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

Subprograms

  • 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
  • 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
  • function Get_Data (Child : access Gtk_Plot_Canvas_Plot_Record) return Gtk.Extra.Plot_Data.Gtk_Plot_Data;
    Return the data associated with Child
  • 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
  • procedure Set_Flags (Child : access Gtk_Plot_Canvas_Plot_Record; Flags : Plot_Canvas_Plot_Flags);
    procedure Unset_Flags (Child : access Gtk_Plot_Canvas_Plot_Record; Flags : Plot_Canvas_Plot_Flags);
    Set or Unset specific flags from Child

Alphabetical Index