Gwy3DWindow

Gwy3DWindow — 3D data display window

Synopsis




struct      Gwy3DWindow;
struct      Gwy3DWindowClass;
GtkWidget*  gwy_3d_window_new               (Gwy3DView *gwy3dview);
GtkWidget*  gwy_3d_window_get_3d_view       (Gwy3DWindow *gwy3dwindow);
void        gwy_3d_window_add_action_widget (Gwy3DWindow *gwy3dwindow,
                                             GtkWidget *widget);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkWindow
                                 +----Gwy3DWindow

Implemented Interfaces

Gwy3DWindow implements AtkImplementorIface.

Description

Gwy3DWindow encapsulates a Gwy3DView together with appropriate controls. You can create a 3D window for a 3D view with gwy_3d_window_new(). It has an `action area' below the controls where additional widgets can be packed with gwy_3d_window_add_action_widget().

Details

struct Gwy3DWindow

struct Gwy3DWindow;


struct Gwy3DWindowClass

struct Gwy3DWindowClass {

    GtkWindowClass parent_class;

    gpointer reserved1;
    gpointer reserved2;
    gpointer reserved3;
    gpointer reserved4;
};


gwy_3d_window_new ()

GtkWidget*  gwy_3d_window_new               (Gwy3DView *gwy3dview);

Creates a new OpenGL 3D data displaying window.

gwy3dview : A Gwy3DView containing the data-displaying widget to show.
Returns : A newly created widget, as GtkWidget.

Since 1.5


gwy_3d_window_get_3d_view ()

GtkWidget*  gwy_3d_window_get_3d_view       (Gwy3DWindow *gwy3dwindow);

Returns the Gwy3DView widget this 3D window currently shows.

gwy3dwindow : A 3D data view window.
Returns : The currently shown GwyDataView.

Since 1.5


gwy_3d_window_add_action_widget ()

void        gwy_3d_window_add_action_widget (Gwy3DWindow *gwy3dwindow,
                                             GtkWidget *widget);

Adds a widget (usually a button) to 3D window action area.

The action area is located under the parameter notebook.

gwy3dwindow : A 3D data view window.
widget : A widget to pack into the action area.

Since 1.5

See Also

Gwy3DView