Logo Search packages:      
Sourcecode: inkscape version File versions

static void sp_export_value_set ( GtkObject *  base,
const gchar *  key,
float  val 
) [static]

Sets the value of an adjustment.

base The export dialog
key Which adjustment to set
val What value to set it to
This function finds the adjustment using the data stored in the export dialog. After finding the adjustment it then sets the value of it.

Definition at line 1650 of file export.cpp.

Referenced by sp_export_set_image_y(), sp_export_value_set_px(), and sp_export_xdpi_value_changed().

    GtkAdjustment *adj;

    adj = (GtkAdjustment *)gtk_object_get_data (base, key);

    gtk_adjustment_set_value (adj, val);

Generated by  Doxygen 1.6.0   Back to index