Logo Search packages:      
Sourcecode: inkscape version File versions

void ege_adjustment_action_set_focuswidget ( EgeAdjustmentAction action,
GtkWidget *  widget 
)

Sets the GtkWidget to return focus to. This is used to be able to transfer focus back out of a toolbar.

Parameters:
action The action to set the widget for.
widget The widget to return focus to after editing.
See also:
ege_adjustment_action_get_focuswidget

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

References _EgeAdjustmentAction::private_data.

{
    g_return_if_fail( IS_EGE_ADJUSTMENT_ACTION(action) );

    /* TODO unhook prior */

    action->private_data->focusWidget = widget;
}


Generated by  Doxygen 1.6.0   Back to index