PreviousUpNext

15.4.1595  src/lib/x-kit/xclient/src/iccc/window-manager-hint-old.pkg

## window-manager-hint-old.pkg
#
# This gets exported as part of "selection stuff" section in
#
#     src/lib/x-kit/xclient/xclient.pkg 
#
# It is also used in
#
#     src/lib/x-kit/xclient/src/iccc/iccc-property-old.pkg
#     src/lib/x-kit/xclient/src/window/window-old.api

# Compiled by:
#     src/lib/x-kit/xclient/xclient-internals.sublib

stipulate
    package g2d=  geometry2d;                   # geometry2d                    is from   src/lib/std/2d/geometry2d.pkg
    package xt =  xtypes;                       # xtypes                        is from   src/lib/x-kit/xclient/src/wire/xtypes.pkg
    package dt =  draw_types_old;               # draw_types_old                is from   src/lib/x-kit/xclient/src/window/draw-types-old.pkg
herein


    package   window_manager_hint_old
    : (weak)  Window_Manager_Hint_Old           # Window_Manager_Hint_Old               is from   src/lib/x-kit/xclient/src/iccc/window-manager-hint-old.api
    {
        # Hints about the window size 
        #
        Window_Manager_Size_Hint
          = HINT_USPOSITION
          | HINT_PPOSITION
          | HINT_USSIZE
          | HINT_PSIZE
          #
          | HINT_PMIN_SIZE     g2d::Size
          | HINT_PMAX_SIZE     g2d::Size
          | HINT_PRESIZE_INC   g2d::Size
          | HINT_PBASE_SIZE    g2d::Size
          #
          | HINT_PWIN_GRAVITY  xt::Gravity
          #
          | HINT_PASPECT { min:  (Int, Int),
                           max:  (Int, Int)
                         }
          ;


        # Window manager hints 
        #
        Window_Manager_Nonsize_Hint
          = HINT_INPUT  Bool                                    # Does this application rely on the window 
                                                                # manager to get keyboard input? 
                                                                # Initial window state (choose one) 
          | HINT_WITHDRAWN_STATE                                #     For windows that are not mapped.
          | HINT_NORMAL_STATE                                   #     Most applications want to start this way.
          | HINT_ICONIC_STATE                                   #     Application wants to start as an icon.
          | HINT_ICON_RO_PIXMAP          dt::Ro_Pixmap          # Icon specified as a ro_pixmap.
          | HINT_ICON_PIXMAP             dt::Rw_Pixmap          # Icon specified as an pixmap.
          | HINT_ICON_WINDOW             dt::Window             # Icon specified as a window.
          | HINT_ICON_MASK               dt::Rw_Pixmap          # icon mask bitmap.
          | HINT_ICON_POSITION           g2d::Point             # Initial position of icon.
          | HINT_WINDOW_GROUP            dt::Window             # The group leader.
          ;

    };

end;


## COPYRIGHT (c) 1990, 1991 by John H. Reppy.  See SMLNJ-COPYRIGHT file for details.
## Subsequent changes by Jeff Prothero Copyright (c) 2010-2015,
## released per terms of SMLNJ-COPYRIGHT.


Comments and suggestions to: bugs@mythryl.org

PreviousUpNext