2001-08-25 12:51:48 -07:00
|
|
|
%{
|
|
|
|
|
|
|
|
#include "Ecore.h"
|
2001-08-25 13:47:26 -07:00
|
|
|
#include "desktops.h"
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
%}
|
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
class window {
|
2001-08-25 12:51:48 -07:00
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function get_name();
|
|
|
|
function get_title();
|
|
|
|
function get_class();
|
|
|
|
function get_x();
|
|
|
|
function get_y();
|
|
|
|
function get_width();
|
|
|
|
function get_height();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
function move( number x, number y );
|
|
|
|
function resize( number width, number height );
|
|
|
|
|
|
|
|
function show();
|
|
|
|
function hide();
|
2001-09-24 14:21:25 -07:00
|
|
|
function is_visible();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
function shade();
|
|
|
|
function unshade();
|
2001-09-24 14:21:25 -07:00
|
|
|
function is_shaded();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
function iconify();
|
|
|
|
function uniconify();
|
2001-09-24 14:21:25 -07:00
|
|
|
function is_iconic();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function is_mapped();
|
|
|
|
function is_transient();
|
|
|
|
function is_shaped();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
function delete();
|
|
|
|
function kill();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace e {
|
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function flip_to_desktop( number desk )
|
2001-08-25 13:47:26 -07:00
|
|
|
%{
|
2001-10-04 20:19:11 -07:00
|
|
|
e_desktops_goto_desk( (long)desk );
|
2001-08-25 13:47:26 -07:00
|
|
|
%}
|
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function get_current_desktop()
|
2001-08-25 13:47:26 -07:00
|
|
|
%{
|
|
|
|
int retval = e_desktops_get_current();
|
|
|
|
FE_RETURN_INT( retval );
|
|
|
|
%}
|
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function get_desktop_count()
|
2001-08-25 13:47:26 -07:00
|
|
|
%{
|
|
|
|
int retval = e_desktops_get_num();
|
|
|
|
FE_RETURN_INT( retval );
|
|
|
|
%}
|
2001-08-25 12:51:48 -07:00
|
|
|
|
2001-09-24 14:21:25 -07:00
|
|
|
function get_width();
|
|
|
|
function get_height();
|
2001-08-25 12:51:48 -07:00
|
|
|
|
|
|
|
// shutdown enlightenment
|
|
|
|
function shutdown()
|
|
|
|
%{
|
|
|
|
e_event_loop_quit();
|
|
|
|
%}
|
|
|
|
}
|