Class SyncDialogUtil


  • public class SyncDialogUtil
    extends java.lang.Object
    This class is an internal use utilities class introduced during the port from GTK3 to GTK4. This class transforms a non-blocking show dialog call to a blocking call. See bug 567371 for more information and where this is applied.
    • Constructor Summary

      Constructors 
      Constructor Description
      SyncDialogUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int run​(Display display, long handle, boolean isNativeDialog)
      A blocking call that waits for the handling of the signal before returning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SyncDialogUtil

        public SyncDialogUtil()
    • Method Detail

      • run

        public static int run​(Display display,
                              long handle,
                              boolean isNativeDialog)
        A blocking call that waits for the handling of the signal before returning
        Returns:
        the response_id from the dialog presented to the user