[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3563.0. "Defining function keys" by POBOX::LARK () Thu Nov 01 1990 11:24

    Could someone tell me how to define a function key to
    open a DECterm session and to define another function key
    to iconize a window.  When my customer called the hotline
    he was referred to the Xlib Programmers Manual page 273-274.
    Unfortunately, I don't have this manual.  I'd really appreciate
    any help or direction on this one.  Thanks - Diane
    
    
                                                             
T.RTitleUserPersonal
Name
DateLines
3563.1YRDARM::finneganVote Cthulu, when your tired of voting for the LESSER of 2 evilsFri Nov 02 1990 10:2122
If you want to iconify a window from within a program then you can use:

void iconify_proc (w, tag, reason)
    Widget                      w;
    Opaque                      *tag;
    DwtAnyCallbackStruct        *reason;
{
    XWMHints    hints;
    int         id;

    id = DetermineDisplay (w);

    hints. flags = StateHint;
    hints. initial_state = IconicState;
    XSetWMHints (dpy [id], XtWindow (toplevel [id]), & hints);

}

The MOTIF window manager automatically binds a function key to iconify window
but I don't know which one.

Neal
3563.2LESLIE::LESLIEAndy LeslieFri Nov 02 1990 10:284
    Motif does what you tell it to. Customisable an' all that....
    
    
    /andy/