Help with minimize/close buttons

I am new to motif.

I want to modify the minimize button on the right top corner to function (or work) like the close button and with my own callback function.

I build a window display using Builder Xcessory (BX). I want to modify the minimize button to close the window display and put my own callback.

I hope I explain the questions/ problems correctly. Thanks in advance for your help.


Yuriy Syrota

Yuriy Syrota's picture

Help with minimize/close buttons

Window frame and buttons on it are managed by windows manager, not by GUI toolkit. So, it is impossible to use Motif for this task.