function pButton = privateslwidgetpushbutton(name, prop, row, col, callback)
%PRIVATESLWIDGETPUSHBUTTON creates matlab structure for pushbuttons in dynamic dialog
%
%    PBUTTON = PRIVATESLWIDGETPUSHBUTTON(NAME, PROP, ROW, COL, CALLBACK) 
%    creates matlab structure for push buttons in the dialog.
%

%    SS 03-03-07
%    Copyright 2007-2015 The MathWorks, Inc.
%    $Revision: 1.1.6.1 $  $Date: 2010/03/04 16:32:41 $

narginchk(5,5);

pButton = privateslwidgetbasestruct('pushbutton', name, prop);
pButton.DialogRefresh = false;
pButton.RowSpan = row;
pButton.ColSpan = col;
pButton.MatlabMethod =  callback;
pButton.MatlabArgs = {'%dialog', prop, '%tag'};
