(widget_class=None, window_class=None, size=None,
            position=(20, 20), autodestruct=None, toolbar=False, **kwargs)
return show_window(window_class)
Create a custom widget and/or window and show it immediately.
    
    Arguments:
      * widget_class=None: the class deriving from GalryWidget.
      * window_class=None: the window class, deriving from `QMainWindow`.
      * size=None: the size of the window as a tuple (width, height).
      * position=(100, 100): the initial position of the window on the screen,
        in pixels (x, y).
      * autodestruct=None: if not None, it is the time, in seconds, before the
        window closes itself.
      * **kwargs: keyword arguments with the companion classes and other 
        parameters that are passed to `create_custom_widget`.
Create a custom widget and/or window and show it immediately.
    
    Arguments:
      * widget_class=None: the class deriving from GalryWidget.
      * window_class=None: the window class, deriving from `QMainWindow`.
      * size=None: the size of the window as a tuple (width, height).
      * position=(100, 100): the initial position of the window on the screen,
        in pixels (x, y).
      * autodestruct=None: if not None, it is the time, in seconds, before the
        window closes itself.
      * **kwargs: keyword arguments with the companion classes and other 
        parameters that are passed to `create_custom_widget`.
Create a custom widget and / or window and show it immediately . Arguments : * widget_class = None : the class deriving from GalryWidget . * window_class = None : the window class deriving from QMainWindow . * size = None : the size of the window as a tuple ( width height ) . * position = ( 100 100 ) : the initial position of the window on the screen in pixels ( x y ) . * autodestruct = None : if not None it is the time in seconds before the window closes itself . * ** kwargs : keyword arguments with the companion classes and other parameters that are passed to create_custom_widget .
def show_basic_window(widget_class=None, window_class=None, size=None,
            position=(20, 20), autodestruct=None, toolbar=False, **kwargs):
    """Create a custom widget and/or window and show it immediately.
    
    Arguments:
      * widget_class=None: the class deriving from GalryWidget.
      * window_class=None: the window class, deriving from `QMainWindow`.
      * size=None: the size of the window as a tuple (width, height).
      * position=(100, 100): the initial position of the window on the screen,
        in pixels (x, y).
      * autodestruct=None: if not None, it is the time, in seconds, before the
        window closes itself.
      * **kwargs: keyword arguments with the companion classes and other 
        parameters that are passed to `create_custom_widget`.
    
    """
    # default widget class
    if widget_class is None:
        widget_class = create_custom_widget(**kwargs)
    # defaut window class
    if window_class is None:
        window_class = create_basic_window(widget_class, size=size,
            position=position, autodestruct=autodestruct, toolbar=toolbar,
            )
    # create and show window
    return show_window(window_class)
def show_basic_window ( widget_class = None , window_class = None , size = None , position = ( 20 , 20 ) , autodestruct = None , toolbar = False , * * kwargs ) : # default widget class if widget_class is None : widget_class = create_custom_widget ( * * kwargs ) # defaut window class if window_class is None : window_class = create_basic_window ( widget_class , size = size , position = position , autodestruct = autodestruct , toolbar = toolbar , ) # create and show window return show_window ( window_class )