Skip to content
com.emacsos.zero.Panel1.PanelInterface.xml 1.2 KiB
Newer Older
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" >
<node>
  <interface name="com.emacsos.zero.Panel1.PanelInterface">
    <!--
	ShowCandidates:
	@preedit_str: the preedit string
	@candidate_count: how many candidates passed in
	@candidates: the candidates in an dbus array
	@hints: optional data to describe the client or the candidates

	Show candidates in a panel. the panel should show digit keys for each
	candidate, starting from 1. As user can select candidates using digit
	keys.
    -->
    <method name="ShowCandidates">
      <arg type="s" name="preedit_str"/>
      <arg type="u" name="candidate_count"/>
      <arg type="as" name="candidates"/>
      <arg type="a{sv}" name="hints"/>
    </method>

    <!--
	Move:
	@x: x coordinates
	@y: y coordinates

	Move panel to (x, y), based on origin at top left corner.
    -->
    <method name="Move">
      <arg type="i" name="x" direction="in"/>
      <arg type="i" name="y" direction="in"/>
    </method>

    <method name="Show"/>
    <method name="Hide"/>
    <method name="Quit"/>

    <annotation name="org.gtk.GDBus.C.Name" value="ZeroPanel"/>
  </interface>
</node>