Tizen extension
- external
tizen_surface
version 1get_tizen_resource(id: new_id<tizen_resource>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_resource> | |
surface | object<wl_surface> |
tizen_policy
version 4get_visibility(id: new_id<tizen_visibility>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_visibility> | new visibility object |
surface | object<wl_surface> | surface object |
get_position(id: new_id<tizen_position>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_position> | new position object |
surface | object<wl_surface> | surface object |
activate(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
activate_below_by_res_id(res_id: uint, below_res_id: uint)
Argument | Type | Description |
---|---|---|
res_id | uint | |
below_res_id | uint |
raise(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
lower(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
set_focus_skip(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
unset_focus_skip(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
set_role(surface: object<wl_surface>, role: string)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
role | string |
set_type(surface: object<wl_surface>, win_type: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
win_type | uint |
set_conformant(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
unset_conformant(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
get_conformant(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
set_notification_level(surface: object<wl_surface>, level: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
level | int |
set_window_screen_mode(surface: object<wl_surface>, mode: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
mode | uint |
place_subsurface_below_parent(subsurface: object<wl_subsurface>)
Argument | Type | Description |
---|---|---|
subsurface | object<wl_subsurface> |
set_subsurface_stand_alone(subsurface: object<wl_subsurface>)
Argument | Type | Description |
---|---|---|
subsurface | object<wl_subsurface> |
get_subsurface(id: new_id<wl_subsurface>, surface: object<wl_surface>, parent_id: uint)
Argument | Type | Description |
---|---|---|
id | new_id<wl_subsurface> | |
surface | object<wl_surface> | |
parent_id | uint |
set_opaque_state(surface: object<wl_surface>, state: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
state | int |
iconify(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
uniconify(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
add_aux_hint(surface: object<wl_surface>, id: int, name: string, value: string)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
id | int | |
name | string | |
value | string |
change_aux_hint(surface: object<wl_surface>, id: int, value: string)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
id | int | |
value | string |
del_aux_hint(surface: object<wl_surface>, id: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
id | int |
get_supported_aux_hints(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> |
set_floating_mode(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
unset_floating_mode(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
set_stack_mode(surface: object<wl_surface>, mode: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
mode | uint |
activate_above_by_res_id(res_id: uint, above_res_id: uint)
Argument | Type | Description |
---|---|---|
res_id | uint | |
above_res_id | uint |
get_subsurface_watcher(id: new_id<tizen_subsurface_watcher>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_subsurface_watcher> | |
surface | object<wl_surface> |
set_parent(child: object<wl_surface>, parent: object<wl_surface>)
Argument | Type | Description |
---|---|---|
child | object<wl_surface> | |
parent | object<wl_surface> |
ack_conformant_region(surface: object<wl_surface>, serial: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
serial | uint |
A client can refresh its surface for applying new conformant region which is from tizen_policy@conformant_region event. The client has to ack after complete of its updates by this request.
conformant(surface: object<wl_surface>, is_conformant: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
is_conformant | uint |
conformant_area(surface: object<wl_surface>, conformant_part: uint, state: uint, x: int, y: int, w: int, h: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
conformant_part | uint | |
state | uint | |
x | int | |
y | int | |
w | int | |
h | int |
Notify of conformant area to client. Sending this event does NOT guarantee perfect compositing of conformant owner client surface and conformant part client surface.
notification_done(surface: object<wl_surface>, level: int, error_state: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
level | int | |
error_state | uint |
window_screen_mode_done(surface: object<wl_surface>, mode: uint, error_state: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
mode | uint | |
error_state | uint |
iconify_state_changed(surface: object<wl_surface>, iconified: uint, force: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
iconified | uint | |
force | uint |
supported_aux_hints(surface: object<wl_surface>, hints: array, num_hints: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
hints | array | |
num_hints | uint |
allowed_aux_hint(surface: object<wl_surface>, id: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
id | int |
aux_message(surface: object<wl_surface>, key: string, value: string, options: array)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
key | string | |
value | string | |
options | array |
conformant_region(surface: object<wl_surface>, conformant_part: uint, state: uint, x: int, y: int, w: int, h: int, serial: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
conformant_part | uint | |
state | uint | |
x | int | |
y | int | |
w | int | |
h | int | |
serial | uint |
The server can notify of conformant region(area) using this event. If client is received this event, client should ack for it using tizen_policy@ack_conformant_region request.
error_state { none, permission_denied }
Argument | Value | Description |
---|---|---|
none | 0 | |
permission_denied | 1 |
tizen_visibility
version 1destroy()
visibility { unobscured, partially_obscured, fully_obscured }
Argument | Value | Description |
---|---|---|
unobscured | 0 | |
partially_obscured | 1 | |
fully_obscured | 2 |
tizen_gesture
version 1grab_edge_swipe(fingers: uint, edge: uint<tizen_gesture.edge>)
Argument | Type | Description |
---|---|---|
fingers | uint | |
edge | uint<tizen_gesture.edge> |
ungrab_edge_swipe(fingers: uint, edge: uint<tizen_gesture.edge>)
Argument | Type | Description |
---|---|---|
fingers | uint | |
edge | uint<tizen_gesture.edge> |
grab_edge_swipe_notify(fingers: uint, edge: uint<tizen_gesture.edge>, error: uint)
Argument | Type | Description |
---|---|---|
fingers | uint | |
edge | uint<tizen_gesture.edge> | |
error | uint |
edge_swipe(mode: uint<tizen_gesture.mode>, fingers: uint, sx: int, sy: int, edge: uint<tizen_gesture.edge>)
Argument | Type | Description |
---|---|---|
mode | uint<tizen_gesture.mode> | |
fingers | uint | |
sx | int | x coordinate of touch down point |
sy | int | y coordinate of touch down point |
edge | uint<tizen_gesture.edge> |
error { none, invalid_data, no_permission, no_system_resources, grabbed_already }
Argument | Value | Description |
---|---|---|
none | 0 | |
invalid_data | 1 | |
no_permission | 2 | |
no_system_resources | 3 | |
grabbed_already | 4 |
tizen_keyrouter
version 1In tradition, all the keys in a keyboard and a device on which some keys are attached will be sent to focus surface by default. Currently it's possible to set up each focus for each key in a keyboard and a device. Therefore, by setting a key grab for a surface, the owner of the surface will get the key event when it has the key grab for the key.
set_keygrab(surface: object<wl_surface>, key: uint, mode: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
key | uint | |
mode | uint |
unset_keygrab(surface: object<wl_surface>, key: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
key | uint |
get_keygrab_status(surface: object<wl_surface>, key: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
key | uint |
set_keygrab_list(surface: object<wl_surface>, grab_list: array)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
grab_list | array | array of two integer variables pairs each pairs consist of keycode and keygrab mode |
unset_keygrab_list(surface: object<wl_surface>, ungrab_list: array)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
ungrab_list | array | array of integer variables meaning keycode wanted to ungrab |
get_keygrab_list(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null |
set_register_none_key(surface: object<wl_surface>, data: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
data | uint |
set_input_config(surface: object<wl_surface>, config_mode: uint, value: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
config_mode | uint | |
value | uint |
keygrab_notify(surface: object<wl_surface>, key: uint, mode: uint, error: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
key | uint | |
mode | uint | |
error | uint |
keygrab_notify_list(surface: object<wl_surface>, grab_result: array)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
grab_result | array | array of three integer variables pairs each pairs consist of keycode, keygrab mode and keygrab result |
getgrab_notify_list(surface: object<wl_surface>, grab_result: array)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
grab_result | array | array of two integer variables pairs each pairs consist of keycode, keygrab mode |
set_register_none_key_notify(surface: object<wl_surface>, mode: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface>allow null | |
mode | uint |
error { none, invalid_surface, invalid_key, invalid_mode, grabbed_already, no_permission, no_system_resources, invalid_array }
Argument | Value | Description |
---|---|---|
none | 0 | no error |
invalid_surface | 1 | Given surface is invalid. |
invalid_key | 2 | Given key is invalid. |
invalid_mode | 3 | Given mode is invalid. |
grabbed_already | 4 | The key has been grabbed already. |
no_permission | 5 | The wl client has no permission to grab the key. |
no_system_resources | 6 | System resources are insufficient. |
invalid_array | 7 | Given array has invalid pairs or data type. |
mode { none, shared, topmost, overridable_exclusive, exclusive, registered }
Argument | Value | Description |
---|---|---|
none | 0 | none |
shared | 1 | mode to get a key grab with the other client surfaces when the focused client surface gets the key |
topmost | 2 | mode to get a key grab when the client surface is the top most surface |
overridable_exclusive | 3 | mode to get a key grab exclusively, overridably regardless of the order in the surface stack |
exclusive | 4 | mode to get a key grab exclusively regardless of the order in surface stack |
registered | 5 | mode to get a key grab only when a requesting surface is on top among the registering surfaces for the key |
This value is used to set a mode for a key grab. With this mode and the order of the surface between surfaces' stack, the compositor will determine the destination client surface.
config_mode { none, invisible_set, invisible_get, num_key_focus, picture_off }
Argument | Value | Description |
---|---|---|
none | 0 | none |
invisible_set | 1 | mode to set window to enable send event to invisible window below in stack |
invisible_get | 2 | mode to set window to get event to invisible state if any top window has set register_set |
num_key_focus | 3 | mode to register for num keys for focus window |
picture_off | 4 | mode to set picture off for particular key |
This value is used to set a mode for a window. With this mode and the order of the surface between surfaces' stack, the compositor will determine the destination client surface.
tizen_screenshooter
version 1Clients can get a screenmirror object from this interface.
get_screenmirror(id: new_id<tizen_screenmirror>, output: object<wl_output>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_screenmirror> | new screenmirror object |
output | object<wl_output> | output object for screenmirror |
Before using screenmirror, a client should get a screenmirror object from display server.
set_oneshot_auto_rotation(set: uint)
Argument | Type | Description |
---|---|---|
set | uint |
Client can set auto rotation value for one shot.
format(format: uint)
Argument | Type | Description |
---|---|---|
format | uint |
The tbm format codes match the #defines in tbm_surface.h. The formats actually supported by the compositor will be reported by the format event.
tizen_screenmirror
version 1A client can use this interface to get stream images of screen. Before starting, queue all buffers. Then, start a screenmirror. After starting, a dequeued event will occur when drawing a captured image on a buffer is finished. You might need to queue the dequeued buffer again to get a new image from display server.
destroy()
A user can dequeue a buffer from display server when he wants to take back it from server.
start()
stop()
occurs when drawing a captured image on a buffer is finished
tizen_video
version 1Clients can get the video information that the compositor can handle from this interface.
get_object(id: new_id<tizen_video_object>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_video_object> | |
surface | object<wl_surface> |
get_viewport(id: new_id<tizen_viewport>, surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_viewport> | |
surface | object<wl_surface> |
format(format: uint)
Argument | Type | Description |
---|---|---|
format | uint |
The tbm format codes match the #defines in tbm_surface.h. The formats actually supported by the compositor will be reported by the format event.
error { none, object_exists, viewport_exists }
Argument | Value | Description |
---|---|---|
none | 0 | |
object_exists | 1 | |
viewport_exists | 2 |
tizen_video_object
version 1destroy()
follow_topmost_visibility()
If tizen_video_object.follow_topmost_visibility is applied to a video_object, It will be video mute control based on topmost visibility.
unfollow_topmost_visibility()
If tizen_video_object.unfollow_topmost_visibility is applied to a video_object, It will not be video mute control based on topmost visibility.
size(min_w: int, min_h: int, max_w: int, max_h: int, prefer_align: int)
Argument | Type | Description |
---|---|---|
min_w | int | |
min_h | int | |
max_w | int | |
max_h | int | |
prefer_align | int |
tizen_subsurface_watcher
version 1msg { success, parent_id_invalid, parent_id_destroyed }
Argument | Value | Description |
---|---|---|
success | 0 | |
parent_id_invalid | 1 | |
parent_id_destroyed | 2 |
tizen_viewport
version 1This is the alternative and convenient solution of wl_viewport to present a surface on screen.
The below five functions can be replaced with this interface. The below functions will be ignored after applying this interface to a surface. - wl_surface.set_buffer_transform - wl_surface.set_buffer_scale - wl_subsurface.set_position - wl_viewport.set_source - wl_viewport.set_destination
wl_viewport.set_source is very complicated especially when the buffer of wl_surface is transformed by wl_surface.set_buffer_transform. And when the parent is resized, if we want to change the geometry of a subsurface also, wl_subsurface.set_position and wl_viewport.set_destination should be called everytime the parent is resized in client side. This makes difficult to synchronize a parent surface and a subsurface on screen.
tizen_viewport allows clients to set the relative geometry to a subsurface in a parent surface. Whenever a parent surface is resized, the geometry of a subsurface will be calculated, moved and resized automatically by a compositor. The tizen_viewport is specified in the coordinates of a subsurface's parent.
If tizen_viewport is applied to a shell surface(toplevel), the all value related with x, y pos of tizen_viewport and tizen_destination_mode interface will be ignored.
The below 3 functions don't consider the transform of a parent's surface. - tizen_viewport.set_source - tizen_viewport.set_destination - tizen_viewport.set_destination_ratio
Furthermore, tizen_destination_mode.follow_parent_transform is called, tizen_viewport will consider the transform of a parent surface when applying the destination mode to a subsurface. If tizen_destination_mode.follow_parent_transform is applied to a shell surface, it will be ignored.
The destination will be cropped by a parent surface.
The change will be applied when wl_surface.commit is called.
destroy()
set_transform(transform: uint)
Argument | Type | Description |
---|---|---|
transform | uint |
The accepted values for the transform parameter are the values for wl_output.transform according to the output transform.
The tizen_viewport.set_transform is applied only to itself. Basically it doesn't effect the transform of its subsurfaces. That is, if 90 transform is setted and its subsurface still has 0 transform, its subsurface won't be rotated.
If needed to rotate the subsurface depended on a parent surface, tizen_destination_mode.follow_parent_transform will make it possible.
The source rectangle won't be changed when a parent is resized. If it needs to be changed, tizen_viewport.set_source should be called with new values.
The destination geometry won't be changed when a parent is resized. If it needs to be changed, tizen_viewport.set_destination should be called with new values.
If tizen_viewport is applied to a shell surface(toplevel), the x, y value of tizen_viewport.set_destination will be ignored.
The destination rectangle of a subsurface will be automatically changed when a parent is resized. This allows the real number between 0.0 and 1.0. See wl_fixed_from_double and wl_fixed_to_double.
If tizen_viewport is applied to a shell surface(toplevel), the x, y value of tizen_viewport.set_destination_ratio will be ignored.
get_destination_mode(id: new_id<tizen_destination_mode>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_destination_mode> |
query_parent_size()
A client can asks the display server to send the size of tizen_viewport object's parent surface. Once a client requests it, the "parent_size" event will be sent whenever the parent surface's size is changed.
follow_parent_transform()
The real transform of a subsurface is (parent's transform + subsurface's transform). The subsurface will be rotated automatically when the parent is rotated.
If tizen_viewport.follow_parent_transform is applied to a shell surface(toplevel), it will be ignored.
unfollow_parent_transform()
tizen_destination_mode
version 1The destination rectangle will be automatically changed when a parent is resized. When tizen_destination_mode.set is called, the value of tizen_viewport.set_destination and tizen_viewport.set_destination_ratio will be ignored.
The destination of a surface is decided by the mode, ratio, scale, offset and align values. The ratio, scale, offset and align will be applied sequentially.
The change will be applied when wl_surface.commit is called.
destroy()
follow_parent_transform()
The real transform of a subsurface is (parent's transform + subsurface's transform). That is, the subsurface will be rotated automatically when the parent is rotated.
If tizen_destination_mode.follow_parent_transform is applied to a shell surface(toplevel), it will be ignored.
unfollow_parent_transform()
set(mode: uint<tizen_destination_mode.type>)
Argument | Type | Description |
---|---|---|
mode | uint<tizen_destination_mode.type> |
set_ratio(horizontal: fixed, vertical: fixed)
Argument | Type | Description |
---|---|---|
horizontal | fixed | |
vertical | fixed |
This allows the real number. See wl_fixed_from_double and wl_fixed_to_double.
set_scale(horizontal: fixed, vertical: fixed)
Argument | Type | Description |
---|---|---|
horizontal | fixed | |
vertical | fixed |
This allows the real number. See wl_fixed_from_double and wl_fixed_to_double.
set_align(horizontal: fixed, vertical: fixed)
Argument | Type | Description |
---|---|---|
horizontal | fixed | |
vertical | fixed |
This allows the real number between 0.0 and 1.0. See wl_fixed_from_double and wl_fixed_to_double.
type { none, letter_box, origin, full, cropped_full, origin_or_letter }
Argument | Value | Description |
---|---|---|
none | 0 | |
letter_box | 1 | |
origin | 2 | |
full | 3 | |
cropped_full | 4 | |
origin_or_letter | 5 |
tizen_embedded_compositor
version 1The global obejct. Wayland has 3 type of compositor, embedded compositor is one of them. But tizen application is sendboxing by smack, then a application not allow commutication to other application by socket. So system or session compositor create socket and send to embedded compostior.
tizen_input_device_manager
version 1Tizen input device manager is a global interface. This object has device add/remove events to provide tizen input device object to a client. This allows for a client to get the con
Be sure to bind this interface after binding wl_seat interface. Tizen input device manager interface will only provide device add/remove event for devices which belongs to the wl_seat object(s) bound by the client. Therefore, the compositor needs to create/send the device add/remove event only for the current client's seat(s).
block_events(serial: uint, clas: uint<tizen_input_device_manager.clas>, duration: uint)
Argument | Type | Description |
---|---|---|
serial | uint | |
clas | uint<tizen_input_device_manager.clas> | |
duration | uint | time duration with millisecond granularity |
This request allows a client to request to block one or more events for its purpose. By specifying class as an argument in the request, the events belongs to the class will be blocked during the given duration. Note that an error event will be sent if there is any error.
unblock_events(serial: uint)
Argument | Type | Description |
---|---|---|
serial | uint |
This request allows a client to request to release the existing block for the client. Note that no error event will be sent if there is no existing block for the client.
init_generator(clas: uint<tizen_input_device_manager.clas>)
Argument | Type | Description |
---|---|---|
clas | uint<tizen_input_device_manager.clas> |
deinit_generator(clas: uint<tizen_input_device_manager.clas>)
Argument | Type | Description |
---|---|---|
clas | uint<tizen_input_device_manager.clas> |
generate_pointer(type: uint<tizen_input_device_manager.pointer_event_type>, x: uint, y: uint, button: uint)
Argument | Type | Description |
---|---|---|
type | uint<tizen_input_device_manager.pointer_event_type> | |
x | uint | |
y | uint | |
button | uint |
generate_touch(type: uint<tizen_input_device_manager.pointer_event_type>, x: uint, y: uint, finger: uint)
Argument | Type | Description |
---|---|---|
type | uint<tizen_input_device_manager.pointer_event_type> | |
x | uint | |
y | uint | |
finger | uint |
pointer_warp(surface: object<wl_surface>, x: fixed, y: fixed)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
x | fixed | |
y | fixed |
device_add(serial: uint, identifier: string, device: new_id<tizen_input_device>, seat: object<wl_seat>)
Argument | Type | Description |
---|---|---|
serial | uint | |
identifier | string | |
device | new_id<tizen_input_device> | |
seat | object<wl_seat> |
The device add/remove notification is going to be sent when a physical/logical device is added/removed to/from the given seat. Note that a tizen input device object can be assigned to a wl_seat and can also be assigned to the other wl_seat at any time. Whenever a relationship between a tizen input device object changes, device remove event from the current wl_seat object will be made and device add event to the other wl_seat object will also be mode.
device_remove(serial: uint, identifier: string, device: object<tizen_input_device>, seat: object<wl_seat>)
Argument | Type | Description |
---|---|---|
serial | uint | |
identifier | string | |
device | object<tizen_input_device> | |
seat | object<wl_seat> |
The device add/remove notification is going to be sent when a physical/logical device is added/removed to/from the given seat. Note that a tizen input device object can be assigned to a wl_seat and can also be assigned to the other wl_seat at any time. Whenever a relationship between a tizen input device object changes, device remove event from the current wl_seat object will be made and device add event to the other wl_seat object will also be mode.
error(errorcode: uint<tizen_input_device_manager.error>)
Argument | Type | Description |
---|---|---|
errorcode | uint<tizen_input_device_manager.error> |
block_expired()
This event will be sent if the duration of existing block is expired. Note that no block expired event will be sent if there is no block for the client.
clas { none, mouse, keyboard, touchscreen }
Argument | Value | Description |
---|---|---|
none | 0 | none of class |
mouse | 1 | mouse class |
keyboard | 2 | keyboard class |
touchscreen | 4 | touchscreen class |
error { none, no_permission, invalid_class, blocked_already, no_system_resources, invalid_parameter, invalid_surface, no_pointer_available }
Argument | Value | Description |
---|---|---|
none | 0 | no error |
no_permission | 1 | no permission |
invalid_class | 2 | invalid class |
blocked_already | 3 | blocked already by the other client |
no_system_resources | 4 | no system resources such as memory lack |
invalid_parameter | 5 | argument is invalid |
invalid_surface | 6 | the given surface is not visible or pointer is not on the given surface |
no_pointer_available | 7 | there is no pointer available to warp |
tizen_input_device
version 1The tizen_input_device interface represents one or more input devices associated with a physical/logical input device. This interface provides device specific information/events to allows for client to identify the source device of an event or to get the additional axes/attributes of a device. Note that a tizen_input_device object can be used for a physical input device and can also be used for a group of input devices. e.g. a group of mouse devices
select_axes(axes: array)
Argument | Type | Description |
---|---|---|
axes | array | array of axis num |
device_info(name: string, clas: uint<tizen_input_device.clas>, subclas: uint<tizen_input_device.subclas>, axes: array)
Argument | Type | Description |
---|---|---|
name | string | |
clas | uint<tizen_input_device.clas> | |
subclas | uint<tizen_input_device.subclas> | |
axes | array | array of axis enum |
axis(axis_type: uint<tizen_input_device.axis_type>, value: fixed)
Argument | Type | Description |
---|---|---|
axis_type | uint<tizen_input_device.axis_type> | |
value | fixed | axis value |
clas { none, keyboard, mouse, touchscreen }
Argument | Value | Description |
---|---|---|
none | 0 | none of class |
keyboard | 2 | keyboard class |
mouse | 3 | mouse class |
touchscreen | 4 | touchscreen class |
Argument | Value | Description |
---|---|---|
none | 0 | radius of x axis of an event area e.g. touching area with a finger or a pen |
radius_x | 1 | radius of x axis of an event area e.g. touching area with a finger or a pen |
radius_y | 2 | radius of y axis of an event area e.g. touching area with a finger or a pen |
pressure | 3 | pressure in an event area e.g. touching area with a finger or a pen |
angle | 4 | angle in an event area e.g. touching area with a finger or a pen |
detent | 5 | detent value e.g. moved distance with a rotary device |
tizen_launchscreen
version 1create_img(id: new_id<tizen_launch_image>)
Argument | Type | Description |
---|---|---|
id | new_id<tizen_launch_image> | new tizen_launch_image object |
tizen_launch_image
version 1destroy()
show()
hide()
tizen_effect
version 1destroy()
start(surface: object<wl_surface>, type: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
type | uint |
end(surface: object<wl_surface>, type: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
type | uint |
tizen_display_policy
version 1set_window_brightness(surface: object<wl_surface>, brightness: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
brightness | int |
window_brightness_done(surface: object<wl_surface>, brightness: int, error_state: uint)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | |
brightness | int | |
error_state | uint |
error_state { none, permission_denied }
Argument | Value | Description |
---|---|---|
none | 0 | |
permission_denied | 1 |
tizen_indicator
version 1destroy()
set_state(surface: object<wl_surface>, state: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
state | int |
set_opacity_mode(surface: object<wl_surface>, mode: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
mode | int |
set_visible_type(surface: object<wl_surface>, type: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
type | int |
flick(surface: object<wl_surface>, type: int)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | occur the flick event |
type | int |
opacity_mode { unknown, opaque, translucent, transparent, bg_transparent }
Argument | Value | Description |
---|---|---|
unknown | 0 | unknown |
opaque | 1 | opaque mode |
translucent | 2 | translucent mode |
transparent | 3 | transparent all mode |
bg_transparent | 4 | transparent only background mode |
Argument | Value | Description |
---|---|---|
shown | 1 | shown type indicator |
tizen_clipboard
version 2This interface provides some requests and events about clipboard for other clients.
destroy()
show(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
hide(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |
set_data_only(set: uint)
Argument | Type | Description |
---|---|---|
set | uint |
A wayland client can notify of that the client is data only mode. The data only mode means that this wayland client doesn't have any wl_surfaces at all but it wants to use wl_data_device for some data operations.
data_selected(surface: object<wl_surface>)
Argument | Type | Description |
---|---|---|
surface | object<wl_surface> | surface object |