Ubuntu Platform API  1.2.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
window_properties.h File Reference
+ Include dependency graph for window_properties.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* input_event_cb )(void *ctx, const Event *ev)
 
typedef input_event_cb UAUiWindowInputEventCb
 
typedef void UAUiWindowProperties
 

Enumerations

enum  UAUiWindowRole {
  U_MAIN_ROLE = 1,
  U_DASH_ROLE,
  U_INDICATOR_ROLE,
  U_NOTIFICATIONS_ROLE,
  U_GREETER_ROLE,
  U_LAUNCHER_ROLE,
  U_ON_SCREEN_KEYBOARD_ROLE,
  U_SHUTDOWN_DIALOG_ROLE
}
 

Functions

UBUNTU_DLL_PUBLIC
UAUiWindowProperties
ua_ui_window_properties_new_for_normal_window ()
 
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_destroy (UAUiWindowProperties *properties)
 
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_titlen (UAUiWindowProperties *properties, const char *title, size_t size)
 
UBUNTU_DLL_PUBLIC const char * ua_ui_window_properties_get_title (UAUiWindowProperties *properties)
 
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_role (UAUiWindowProperties *properties, UAUiWindowRole role)
 
UBUNTU_DLL_PUBLIC UAUiWindowRole ua_ui_window_properties_get_role (UAUiWindowProperties *properties)
 
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_input_cb_and_ctx (UAUiWindowProperties *properties, UAUiWindowInputEventCb cb, void *ctx)
 
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_dimensions (UAUiWindowProperties *properties, uint32_t width, uint32_t height)
 

Typedef Documentation

typedef void(* input_event_cb)(void *ctx, const Event *ev)

Definition at line 43 of file window_properties.h.

Definition at line 44 of file window_properties.h.

typedef void UAUiWindowProperties

Definition at line 46 of file window_properties.h.

Enumeration Type Documentation

Enumerator
U_MAIN_ROLE 
U_DASH_ROLE 
U_INDICATOR_ROLE 
U_NOTIFICATIONS_ROLE 
U_GREETER_ROLE 
U_LAUNCHER_ROLE 
U_ON_SCREEN_KEYBOARD_ROLE 
U_SHUTDOWN_DIALOG_ROLE 

Definition at line 31 of file window_properties.h.

Function Documentation

UBUNTU_DLL_PUBLIC void ua_ui_window_properties_destroy ( UAUiWindowProperties properties)
UBUNTU_DLL_PUBLIC UAUiWindowRole ua_ui_window_properties_get_role ( UAUiWindowProperties properties)
UBUNTU_DLL_PUBLIC const char* ua_ui_window_properties_get_title ( UAUiWindowProperties properties)
UBUNTU_DLL_PUBLIC UAUiWindowProperties* ua_ui_window_properties_new_for_normal_window ( )
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_dimensions ( UAUiWindowProperties properties,
uint32_t  width,
uint32_t  height 
)
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_input_cb_and_ctx ( UAUiWindowProperties properties,
UAUiWindowInputEventCb  cb,
void *  ctx 
)
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_role ( UAUiWindowProperties properties,
UAUiWindowRole  role 
)
UBUNTU_DLL_PUBLIC void ua_ui_window_properties_set_titlen ( UAUiWindowProperties properties,
const char *  title,
size_t  size 
)