Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static float sp_export_value_get ( GtkObject *  base,
const gchar *  key 
) [static]

Get the value of an adjustment in the export dialog.

base The export dialog
key Which adjustment is being looked for
The value in the specified adjustment
This function gets the adjustment from the data field in the export dialog. It then grabs the value from the adjustment.

Definition at line 1783 of file export.cpp.

Referenced by sp_export_area_height_value_changed(), sp_export_area_width_value_changed(), sp_export_area_x_value_changed(), sp_export_area_y_value_changed(), sp_export_bitmap_height_value_changed(), sp_export_bitmap_width_value_changed(), sp_export_export_clicked(), sp_export_set_image_x(), sp_export_set_image_y(), sp_export_value_get_px(), and sp_export_xdpi_value_changed().

    GtkAdjustment *adj;

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

    return adj->value;

Generated by  Doxygen 1.6.0   Back to index