Logo Search packages:      
Sourcecode: inkscape version File versions

EgeAdjustmentAction* ege_adjustment_action_new ( GtkAdjustment *  adjustment,
const gchar *  name,
const gchar *  label,
const gchar *  tooltip,
const gchar *  stock_id,
gdouble  climb_rate,
guint  digits 
)

Creates a new EgeAdjustmentAction instance. This is a GtkAction subclass that manages a value stored in a GtkAdjustment.

Parameters:
adjustment The GtkAdjustment to manage.
name Functional name for the action.
label Display label for the action.
tooltip Tooltip for the action.
stock_id Icon id to use.
climb_rate Used for created widgets.
digits Used for created widgets.

Definition at line 262 of file ege-adjustment-action.cpp.

{
    GObject* obj = (GObject*)g_object_new( EGE_ADJUSTMENT_ACTION_TYPE,
                                           "name", name,
                                           "label", label,
                                           "tooltip", tooltip,
                                           "stock_id", stock_id,
                                           "adjustment", adjustment,
                                           "climb-rate", climb_rate,
                                           "digits", digits,
                                           NULL );

    EgeAdjustmentAction* action = EGE_ADJUSTMENT_ACTION( obj );

    return action;
}


Generated by  Doxygen 1.6.0   Back to index