Gtk3dcanvasStick

Name

Gtk3dcanvasStick -- A stick item.

Synopsis


#include <gtk-3dcanvas.h>


struct      Gtk3dcanvasStick;
Gtk3dcanvasItem* gtk_3dcanvas_stick_new     (Gtk3dcanvasGroup *parent,
                                             char *color,
                                             const char *first_arg_name,
                                             ...);

Object Hierarchy


  GObject
   +----GtkObject
         +----Gtk3dcanvasItem
               +----Gtk3dcanvasStick

Properties


  "begin-x"              gfloat               : Read / Write
  "begin-y"              gfloat               : Read / Write
  "begin-z"              gfloat               : Read / Write
  "end-x"                gfloat               : Read / Write
  "end-y"                gfloat               : Read / Write
  "end-z"                gfloat               : Read / Write
  "phi"                  gfloat               : Read / Write
  "draw-type"            Gtk3dcanvasShapeType : Read / Write
  "radius"               gfloat               : Read / Write
  "smoothness"           gint                 : Read / Write

Description

The Gtk3dcanvasStick is a plain regular stick item. See properties below to see how to interact with it.

Details

struct Gtk3dcanvasStick

struct Gtk3dcanvasStick;

The fields of the Gtk3dcanvasStick are private, and should be accessed only through the properties and functions below.


gtk_3dcanvas_stick_new ()

Gtk3dcanvasItem* gtk_3dcanvas_stick_new     (Gtk3dcanvasGroup *parent,
                                             char *color,
                                             const char *first_arg_name,
                                             ...);

Make a stick item.

parent :

group in which to add the stick

color :

the color of the stick.

first_arg_name :

A list of object argument name/value pairs, NULL-terminated, used to configure the stick. For example: "type",STICK_TYPE_CYLINDER, "begin_x",1, "begin_y",1, "begin_z",1, NULL

... :

Rest of this list.

Returns :

the newly created stick.

Properties

"begin-x" (gfloat : Read / Write)

"begin-y" (gfloat : Read / Write)

"begin-z" (gfloat : Read / Write)

"end-x" (gfloat : Read / Write)

"end-y" (gfloat : Read / Write)

"end-z" (gfloat : Read / Write)

"phi" (gfloat : Read / Write)

"draw-type" (Gtk3dcanvasShapeType : Read / Write)

"radius" (gfloat : Read / Write)

"smoothness" (gint : Read / Write)