Skip to content
Snippets Groups Projects
Commit 17f68ba0 authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Raise and Lower functions added.

Rev: lib/modules/Protocols.pmod/X.pmod/Types.pmod:1.20
parent bb1aa30c
No related branches found
No related tags found
No related merge requests found
...@@ -594,6 +594,16 @@ class Window ...@@ -594,6 +594,16 @@ class Window
display->send_request(Configure_req(m)); display->send_request(Configure_req(m));
} }
void Raise()
{
Configure((["StackMode":0]));
}
void Lower()
{
Configure((["StackMode":1]));
}
void set_event_callback(string type, function f) void set_event_callback(string type, function f)
{ {
event_callbacks[type] = (event_callbacks[type] || ({ }) ) event_callbacks[type] = (event_callbacks[type] || ({ }) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment