path: root/src/modules/pager/gadget/pager.h
blob: b75c53bb7dc29d89f76b74dc7d0478f8c5816627 (plain) (tree)

#ifndef PAGER_H
#define PAGER_H

#include "e.h"

E_API void *e_modapi_gadget_init(E_Module *m);
E_API int   e_modapi_gadget_shutdown(E_Module *m);
E_API int   e_modapi_gadget_save(E_Module *m);

typedef struct _Config Config;
struct _Config
   unsigned int popup;
   double       popup_speed;
   unsigned int popup_urgent;
   unsigned int popup_urgent_stick;
   unsigned int popup_urgent_focus;
   double       popup_urgent_speed;
   unsigned int show_desk_names;
   int          popup_act_height;
   int          popup_height;
   unsigned int drag_resist;
   unsigned int btn_drag;
   unsigned int btn_noplace;
   unsigned int btn_desk;
   unsigned int flip_desk;

EINTERN Evas_Object    *pager_create(Evas_Object *parent, int *id, E_Gadget_Site_Orient orient);
EINTERN Evas_Object    *config_pager(E_Zone *zone);
EINTERN void           pager_init(void);
EINTERN void           _pager_cb_config_gadget_updated(void);
EINTERN void           _pager_cb_config_updated(void);

extern Config          *pager_config;
extern E_Module        *gmodule;
extern Evas_Object     *cfg_dialog;
extern Eina_List       *ginstances, *ghandlers;
 * @addtogroup Optional_Gadgets
 * @{
 * @defgroup Module_Pager Virtual Desktop Pager
 * Shows the grid of virtual desktops and allows changing between
 * them.
 * @}