C Library Functions  - xterm_get_iconstate (3)

NAME

xterm_get_iconstate(3f) - [M_xterm] obtain xterm(1) icon state using escape sequences (LICENSE:MIT)

CONTENTS

Synopsis
Description
Result
Example
Author
License

SYNOPSIS

function xterm_get_iconstate() result(state) integer :: state

DESCRIPTION

Sends an escape sequence to stdout to query the icon state of an xterm(1) window.

For this to work stdout must be your terminal device; so this may not work effectively in a pipe or when redirection is used, depending on your system.

RESULT

state returns ’opened’ if window is not iconified; ’closed’ if iconified.

EXAMPLE

A sample program:

   program demo_xterm_get_iconstate
   use M_xterm, only : xterm_get_iconstate
   implicit none
      write(*,*) xterm_get_iconstate()
   end program demo_xterm_get_iconstate

AUTHOR

John S. Urban

LICENSE

    MIT


Nemo Release 3.1 xterm_get_iconstate (3) July 22, 2023
Generated by manServer 1.08 from 58e3d5ec-06a0-4e38-98d7-21d3e1a0ac8a using man macros.