Logo Search packages:      
Sourcecode: inkscape version File versions

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 1690 of file export.cpp.

Referenced by 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;
} // end of sp_export_value_get()

Generated by  Doxygen 1.6.0   Back to index