GwyAppGraphWindow

GwyAppGraphWindow

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GwyGraphWindow
                            ╰── GwyAppGraphWindow

Implemented Interfaces

GwyAppGraphWindow implements AtkImplementorIface and GtkBuildable.

Includes

#include <libgwyapp/gwyapp.h>

Description

Functions

gwy_app_graph_window_new()

GtkWindow *
gwy_app_graph_window_new (GwyFile *file,
                          GwyDataKind data_kind,
                          gint id);

Creates a new app image data window.

The arguments must correspond to a valid data object in file which can be visualised as a graph. Possible data kinds currently include only GWY_FILE_GRAPH .

Parameters

file

A data file container.

[transfer none]

data_kind

Type of the data object.

 

id

Data item id.

 

Returns

A newly created window.

[transfer full][constructor]


gwy_app_graph_window_get_file()

GwyFile *
gwy_app_graph_window_get_file (GwyAppGraphWindow *window);

Gets the data file containing data displayed in an app image data window.

Parameters

window

App image data window.

 

Returns

The file data container.

[transfer none]


gwy_app_graph_window_get_data_kind()

GwyDataKind
gwy_app_graph_window_get_data_kind (GwyAppGraphWindow *window);

Gets the kind of data displayed in an app image data window.

Parameters

window

App image data window.

 

Returns

The data kind.


gwy_app_graph_window_get_id()

gint
gwy_app_graph_window_get_id (GwyAppGraphWindow *window);

Gets the numerical id of data item displayed in an app image data window.

Parameters

window

App image data window.

 

Returns

The numerical id.

Types and Values

struct GwyAppGraphWindow

struct GwyAppGraphWindow;

struct GwyAppGraphWindowClass

struct GwyAppGraphWindowClass {
    GwyDataWindowClass parent_class;
};