![]() |
![]() |
![]() |
Gwyddion Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
GwyGradSphere; GwyGradSphereClass; GtkWidget* gwy_grad_sphere_new (GwySphereCoords *sphere_coords); GwySphereCoords* gwy_grad_sphere_get_sphere_coords (GwyGradSphere *grad_sphere); void gwy_grad_sphere_set_sphere_coords (GwyGradSphere *grad_sphere, GwySphereCoords *sphere_coords); GwyPalette* gwy_grad_sphere_get_palette (GwyGradSphere *grad_sphere); void gwy_grad_sphere_set_palette (GwyGradSphere *grad_sphere, GwyPalette *palette); GtkUpdateType gwy_grad_sphere_get_update_policy (GwyGradSphere *grad_sphere); void gwy_grad_sphere_set_update_policy (GwyGradSphere *grad_sphere, GtkUpdateType update_policy);
"sphere-coords" GwySphereCoords : Read / Write / Construct "update-policy" GtkUpdateType : Read / Write
typedef struct _GwyGradSphere GwyGradSphere;
GwyGradSphere
is deprecated and should not be used in newly-written code.
typedef struct { GtkWidgetClass parent_class; gpointer reserved1; } GwyGradSphereClass;
GwyGradSphereClass
is deprecated and should not be used in newly-written code.
GtkWidget* gwy_grad_sphere_new (GwySphereCoords *sphere_coords);
gwy_grad_sphere_new
is deprecated and should not be used in newly-written code.
Creates a new GwyGradSphere.
sphere_coords
can be NULL
, new spherical coordinates are allocated
then.
The widget takes up all the space allocated for it.
sphere_coords : |
The spherical coordinates this gradient sphere should use. |
Returns : | The new gradient sphere as a GtkWidget. |
GwySphereCoords* gwy_grad_sphere_get_sphere_coords (GwyGradSphere *grad_sphere);
gwy_grad_sphere_get_sphere_coords
is deprecated and should not be used in newly-written code.
Returns the spherical coordinates a gradient spehere grad_sphere
uses.
grad_sphere : |
a GwyGradSphere. |
Returns : | The coordinates. |
void gwy_grad_sphere_set_sphere_coords (GwyGradSphere *grad_sphere, GwySphereCoords *sphere_coords);
gwy_grad_sphere_set_sphere_coords
is deprecated and should not be used in newly-written code.
Sets spherical coordinates for a gradient sphere.
grad_sphere : |
a GwyGradSphere. |
sphere_coords : |
the spherical coordinates this gradient sphere should use. |
GwyPalette* gwy_grad_sphere_get_palette (GwyGradSphere *grad_sphere);
gwy_grad_sphere_get_palette
is deprecated and should not be used in newly-written code.
Returns the palette a gradient sphere uses.
grad_sphere : |
a GwyGradSphere. |
Returns : | The palette. |
void gwy_grad_sphere_set_palette (GwyGradSphere *grad_sphere, GwyPalette *palette);
gwy_grad_sphere_set_palette
is deprecated and should not be used in newly-written code.
Sets the palette a gradient sphere uses.
grad_sphere : |
a GwyGradSphere. |
palette : |
A palette grad_sphere should use.
|
GtkUpdateType gwy_grad_sphere_get_update_policy (GwyGradSphere *grad_sphere);
gwy_grad_sphere_get_update_policy
is deprecated and should not be used in newly-written code.
Returns the update policy of a gradient spehere grad_sphere
.
grad_sphere : |
a GwyGradSphere. |
Returns : | The update policy. |
void gwy_grad_sphere_set_update_policy (GwyGradSphere *grad_sphere, GtkUpdateType update_policy);
gwy_grad_sphere_set_update_policy
is deprecated and should not be used in newly-written code.
Sets update policy for a gradient sphere.
grad_sphere : |
a GwyGradSphere. |
update_policy : |
the update policy a gradient sphere grad_sphere should use.
|
sphere-coords
" property"sphere-coords" GwySphereCoords : Read / Write / Construct
The GwySphereCoords of the sphere.
update-policy
" property"update-policy" GtkUpdateType : Read / Write
When value change causes signal emission.
Default value: GTK_UPDATE_CONTINUOUS