![]() |
![]() |
![]() |
Libwnck Reference Manual | ![]() |
---|---|---|---|---|
#include <libwnck/libwnck.h> GtkWidget* wnck_create_window_action_menu (WnckWindow *window);
These functions are related to the context menu that is usually used to manipulate a window (closing it, minimizing it, maximizing it, moving it to another workspace, etc.).
GtkWidget* wnck_create_window_action_menu (WnckWindow *window);
Creates a menu of window operations for window
.
If there is only one workspace with a viewport, the menu will contain items
to move window
in the viewport as if the viewport feature was used to
create workspaces. This is useful since viewport is generally used as an
alternative way to create virtual desktops.
The menu does not support moving window
in the viewport if there are
multiple workspaces on the screen: those two notions are so similar that
having both at the same time would result in a menu which would be confusing
to the user.
window : |
the WnckWindow for which a menu will be created. |
Returns : | a new GtkMenu, filled with menu items for window operations on
window .
|