An IBusPanelService is a base class for UI services.
Developers can "extend" this class for panel UI development.
- public void candidate_clicked (uint index, uint button, uint state)
Notify that a candidate is clicked by sending a "CandidateClicked" to
IBus service.
- public void commit_text (Text text)
Notify that a text is sent by sending a "CommitText" message to IBus
service.
- public void cursor_down ()
Notify that the cursor is down by sending a "CursorDown" to IBus
service.
- public void cursor_up ()
Notify that the cursor is up by sending a "CursorUp" to IBus service.
- public void forward_process_key_event (uint32 keyval, uint32 keycode, uint32 state)
Forward key events when an IBus popup takes the focus and the events
needs to be forwared to the target IBus engine.
- public void hide_preedit_text_received ()
Notify that the preedit is hidden by the panel extension
- public void page_down ()
Notify that the page is down by sending a "PageDown" to IBus service.
- public void page_up ()
Notify that the page is up by sending a "PageUp" to IBus service.
- public void panel_extension (owned ExtensionEvent event)
- public void panel_extension_register_keys (string first_property_name, ...)
Register shortcut keys to enable panel extensions with
ExtensionEvent.
- public void property_activate (string prop_name, uint prop_state)
Notify that a property is active by sending a "PropertyActivate"
message to IBus service.
- public void property_hide (string prop_name)
Notify that a property is hidden by sending a "ValueChanged" message
to IBus service.
- public void property_show (string prop_name)
Notify that a property is shown by sending a "ValueChanged" message to
IBus service.
- public void send_message (Message message)
Send a message to the Panel for the focus-less notification popup.
- public void set_preedit_format (PreeditFormat format)
- public void set_selected_color (RGBA fg_color, RGBA bg_color)
- public void show_preedit_text_received ()
Notify that the preedit is shown by the panel extension
- public void update_auxiliary_text_received (Text text, bool visible)
Notify that the auxilirary is updated by the panel extension.
- public void update_lookup_table_received (LookupTable table, bool visible)
Notify that the lookup table is updated by the panel extension.
- public void update_preedit_text_received (Text text, uint cursor_pos, bool visible)
Notify that the preedit is updated by the panel extension
- public virtual signal void candidate_clicked_lookup_table (uint index, uint button, uint state)
Emitted when the client application get the
candidate_clicked_lookup_table.
- public virtual signal void commit_text_received (Text text)
Emitted when the client application get the
commit_text_received.
- public virtual signal void cursor_down_lookup_table ()
Emitted when the client application get the
cursor_down_lookup_table.
- public virtual signal void cursor_up_lookup_table ()
Emitted when the client application get the
cursor_up_lookup_table.
- public virtual signal void destroy_context (string input_context_path)
Emitted when the client application destroys.
- public virtual signal void focus_in (string input_context_path)
Emitted when the client application get the
focus_in.
- public virtual signal void focus_out (string input_context_path)
Emitted when the client application get the
focus_out.
- public virtual signal void hide_auxiliary_text ()
Emitted when the client application get the
hide_auxiliary_text.
- public virtual signal void hide_language_bar ()
Emitted when the client application get the
hide_language_bar.
- public virtual signal void hide_lookup_table ()
Emitted when the client application get the
hide_lookup_table.
- public virtual signal void hide_preedit_text ()
Emitted when the client application get the
hide_preedit_text.
- public virtual signal void page_down_lookup_table ()
Emitted when the client application get the
page_down_lookup_table.
- public virtual signal void page_up_lookup_table ()
Emitted when the client application get the
page_up_lookup_table.
- public virtual signal void panel_extension_received (ExtensionEvent event)
Emitted when the client application get the
panel_extension_received.
- public virtual signal bool process_key_event (uint keyval, uint keycode, uint state)
Emitted when a key event is received.
- public virtual signal void register_properties (PropList prop_list)
Emitted when the client application get the
register_properties.
- public virtual signal void reset ()
Emitted when the client application get the reset
.
- public signal void send_message_received (Message message)
Emitted when the client application get the
IBusPanelService::send-meeeage-received.
- public virtual signal void set_content_type (uint purpose, uint hints)
Emitted when the client application get the
set_content_type.
- public virtual signal void set_cursor_location (int x, int y, int w, int h)
Emitted when the client application get the
set_cursor_location.
- public virtual signal void set_cursor_location_relative (int x, int y, int w, int h)
Emitted when the client application get the
set-cursor-location-relative.
- public virtual signal void show_auxiliary_text ()
Emitted when the client application get the
show_auxiliary_text.
- public virtual signal void show_language_bar ()
Emitted when the client application get the
show_language_bar.
- public virtual signal void show_lookup_table ()
Emitted when the client application get the
show_lookup_table.
- public virtual signal void show_preedit_text ()
Emitted when the client application get the
show_preedit_text.
- public virtual signal void start_setup ()
Emitted when the client application get the
start_setup.
- public virtual signal void state_changed ()
Emitted when the client application get the
state_changed.
- public virtual signal void update_auxiliary_text (Text text, bool visible)
Emitted when the client application get the
update_auxiliary_text.
- public virtual signal void update_lookup_table (LookupTable lookup_table, bool visible)
Emitted when the client application get the
update_lookup_table.
- public virtual signal void update_preedit_text (Text text, uint cursor_pos, bool visible)
Emitted when the client application get the
update_preedit_text.
- public virtual signal void update_property (Property prop)
Emitted when the client application get the
update_property.