70 lines
1.1 KiB
Plaintext
70 lines
1.1 KiB
Plaintext
%{
|
|
|
|
#include "Ecore.h"
|
|
#include "desktops.h"
|
|
|
|
%}
|
|
|
|
class Window {
|
|
|
|
function getName();
|
|
function getTitle();
|
|
function getClass();
|
|
function getX();
|
|
function getY();
|
|
function getWidth();
|
|
function getHeight();
|
|
|
|
function move( number x, number y );
|
|
function resize( number width, number height );
|
|
|
|
function show();
|
|
function hide();
|
|
function isVisible();
|
|
|
|
function shade();
|
|
function unshade();
|
|
function isShaded();
|
|
|
|
function iconify();
|
|
function uniconify();
|
|
function isIconic();
|
|
|
|
function isMapped();
|
|
function isTransient();
|
|
function isShaped();
|
|
|
|
function delete();
|
|
function kill();
|
|
|
|
}
|
|
|
|
namespace e {
|
|
|
|
function flipToDesktop( number desk )
|
|
%{
|
|
e_desktops_goto( (long)desk );
|
|
%}
|
|
|
|
function getCurrentDesktop()
|
|
%{
|
|
int retval = e_desktops_get_current();
|
|
FE_RETURN_INT( retval );
|
|
%}
|
|
|
|
function getDesktopCount()
|
|
%{
|
|
int retval = e_desktops_get_num();
|
|
FE_RETURN_INT( retval );
|
|
%}
|
|
|
|
function getWidth();
|
|
function getHeight();
|
|
|
|
// shutdown enlightenment
|
|
function shutdown()
|
|
%{
|
|
e_event_loop_quit();
|
|
%}
|
|
}
|