## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Plot

- Goto spec source

# 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

- Goto declaration in source
- Goto full declaration in source

    type Gtk_Plot_Canvas_Plot_Record is new Gtk_Plot_Canvas_Child_Record
         with private;

#### Ancestors:

Gtk.Extra.Plot_Canvas.Gtk_Plot_Canvas_Child_Record
Glib.Object.GObject_Record

#### Primitive operations:

Get_Data

- To API doc
- To spec

Get_Datapoint

- To API doc
- To spec

Get_Pos

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Extra.Plot_Canvas.Set_Selection

- To API doc
- To spec

(Inherited)
Gtk.Extra.Plot_Canvas.Set_Selection_Mode

- To API doc
- To spec

(Inherited)
Set_Flags

- To API doc
- To spec

Unset_Flags

- To API doc
- To spec

# Types

### Gtk_Plot_Canvas_Plot

- Goto declaration in source

    type Gtk_Plot_Canvas_Plot is access all Gtk_Plot_Canvas_Plot_Record'Class;

### Plot_Canvas_Plot_Pos

- Goto declaration in source

    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

- Goto declaration in source

    type Plot_Canvas_Plot_Flags is mod 2 ** 8;

# Constants & Global variables

### Flags_Select_Point

- Goto declaration in source

(Plot_Canvas_Plot_Flags)

    Flags_Select_Point : constant Plot_Canvas_Plot_Flags := 2 ** 0;

### Flags_Dnd_Point

- Goto declaration in source

(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

- Goto spec in source

    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

- Goto spec in source

    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

- Goto spec in source

    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

- Goto spec in source

    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

- Goto spec in source

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

### Unset_Flags

- Goto spec in source

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

Set or Unset specific flags from Child