[gtkada] Right-up three standards windows buttons

Emmanuel Briot briot at gnat.com
Thu Jan 25 12:43:06 CET 2001


Raphaël dit Rafy writes:
 > Does anyone could tell me how to manage the three
 > Windows' buttons (Shrink, Restaure and Close)?


These three buttons are not part of your window per-se, but belong to the
window manager. As such, you don't have control on them directly in your
application.

However, you can connect at least to the "Close" button through the
"delete_event" signal (see gtk-widget.ads for more information on this
signal).

It is possible that the other two buttons can be manipulated through other
signals, but I don't know since I never needed them.

Emmanuel




More information about the gtkada mailing list