


XmUpdateDisplay(3X)					  XmUpdateDisplay(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmUUppddaatteeDDiissppllaayy - A function that processes all pending exposure events
  immediately

SYNOPSIS


  vvooiidd XXmmUUppddaatteeDDiissppllaayy ((_w_i_d_g_e_t))
       WWiiddggeett	 _w_i_d_g_e_t;;

DESCRIPTION
  XXmmUUppddaatteeDDiissppllaayy provides the application with	a mechanism for	forcing	all
  pending exposure events to be	removed	from the input queue and processed
  immediately.	When a user selects a button within a MenuPane,	the MenuPanes
  are unposted and then	any activation callbacks registered by the applica-
  tion are invoked.  If	one of the callbacks performs a	time-consuming
  action, the portion of the application window	that was covered by the	Menu-
  Panes	will not have been redrawn; normal exposure processing does not	occur
  until	all of the callbacks have been invoked.	 If the	application writer
  suspects that	a callback will	take a long time, then the callback may
  choose to invoke XXmmUUppddaatteeDDiissppllaayy before starting its time-consuming opera-
  tion.	 This function is also useful any time a transient window, such	as a
  dialog box, is unposted; callbacks are invoked before	normal exposure	pro-
  cessing can occur.

  _w_i_d_g_e_t      Specifies	any widget or gadget.
































