CTWM
Loading...
Searching...
No Matches
Data Fields
TwmWindow::_names Struct Reference

Various sources of window/icon names. More...

#include <twm_window_struct.h>

Data Fields

charctwm_wm_name
 Name from override CTWM_WM_NAME property.
 
charwm_name
 Name from ICCCM WM_NAME property.
 
charctwm_wm_icon_name
 Icon name from override CTWM_WM_ICON_NAME property.
 
charwm_icon_name
 Icon name from WM_ICON_NAME property.
 
bool icon_set
 Whether an icon name property has been set.
 

Detailed Description

Various sources of window/icon names.

These are the values from the various window properties we look at to get the results. The TwmWindow::name and TwmWindow::icon_name point to the currently active element in here.

Definition at line 114 of file twm_window_struct.h.

Field Documentation

◆ ctwm_wm_icon_name

char* TwmWindow::_names::ctwm_wm_icon_name

Icon name from override CTWM_WM_ICON_NAME property.

Definition at line 122 of file twm_window_struct.h.

Referenced by AddWindow(), HandleDestroyNotify(), and HandlePropertyNotify().

◆ ctwm_wm_name

char* TwmWindow::_names::ctwm_wm_name

Name from override CTWM_WM_NAME property.

Definition at line 115 of file twm_window_struct.h.

Referenced by AddWindow(), HandleDestroyNotify(), and HandlePropertyNotify().

◆ icon_set

bool TwmWindow::_names::icon_set

Whether an icon name property has been set.

Since we default the icon name to the window name when nothing is given, this flag allows the window-name-setting code to know when it needs to re-kick the icon-name-setting.

Definition at line 133 of file twm_window_struct.h.

Referenced by apply_window_name(), and set_window_icon_name().

◆ wm_icon_name

char* TwmWindow::_names::wm_icon_name

Icon name from WM_ICON_NAME property.

Definition at line 127 of file twm_window_struct.h.

Referenced by AddWindow(), HandleDestroyNotify(), HandlePropertyNotify(), and set_window_icon_name().

◆ wm_name

char* TwmWindow::_names::wm_name

Name from ICCCM WM_NAME property.

Definition at line 119 of file twm_window_struct.h.

Referenced by AddWindow(), HandleDestroyNotify(), HandlePropertyNotify(), and set_window_name().


The documentation for this struct was generated from the following file: