GwyAppImageWindow

GwyAppImageWindow — Windows for data shown as images

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GwyDataWindow
                            ╰── GwyAppImageWindow

Implemented Interfaces

GwyAppImageWindow implements AtkImplementorIface and GtkBuildable.

Includes

#include <libgwyapp/gwyapp.h>

Description

GwyAppImageWindow wraps GwyDataWindow and updates it to changes in the file.

Functions

gwy_app_image_window_new()

GtkWindow *
gwy_app_image_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 an image. Possible data kinds include GWY_FILE_IMAGE , GWY_FILE_VOLUME , GWY_FILE_XYZ and GWY_FILE_CMAP .

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_image_window_get_file()

GwyFile *
gwy_app_image_window_get_file (GwyAppImageWindow *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_image_window_get_data_kind()

GwyDataKind
gwy_app_image_window_get_data_kind (GwyAppImageWindow *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_image_window_get_id()

gint
gwy_app_image_window_get_id (GwyAppImageWindow *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 GwyAppImageWindow

struct GwyAppImageWindow;

struct GwyAppImageWindowClass

struct GwyAppImageWindowClass {
    GwyDataWindowClass parent_class;
};