Top |
void nimf_candidatable_show (NimfCandidatable *candidatable
,NimfServiceIC *target
,gboolean show_entry
);
void
nimf_candidatable_hide (NimfCandidatable *candidatable
);
Hides the candidatable
gboolean
nimf_candidatable_is_visible (NimfCandidatable *candidatable
);
void nimf_candidatable_clear (NimfCandidatable *candidatable
,NimfServiceIC *target
);
Clears the contents of the candidatable
void nimf_candidatable_set_page_values (NimfCandidatable *candidatable
,NimfServiceIC *target
,gint page_index
,gint n_pages
,gint page_size
);
Sets page values.
void nimf_candidatable_append (NimfCandidatable *candidatable
,const gchar *text1
,const gchar *text2
);
After appending a row, adds text1
to the first column and text2
to the
second column.
gint
nimf_candidatable_get_selected_index (NimfCandidatable *candidatable
);
gchar *
nimf_candidatable_get_selected_text (NimfCandidatable *candidatable
);
void
nimf_candidatable_select_first_item_in_page
(NimfCandidatable *candidatable
);
Selects the first item in the page.
void
nimf_candidatable_select_last_item_in_page
(NimfCandidatable *candidatable
);
Selects the last item in the page.
void nimf_candidatable_select_item_by_index_in_page (NimfCandidatable *candidatable
,gint index
);
Selects an item by the index in the page.
void
nimf_candidatable_select_previous_item
(NimfCandidatable *candidatable
);
Selects the previous item.
void
nimf_candidatable_select_next_item (NimfCandidatable *candidatable
);
Selects the next item.
void nimf_candidatable_set_auxiliary_text (NimfCandidatable *candidatable
,const gchar *text
,gint cursor_pos
);
Sets auxiliary text.
struct NimfCandidatableInterface { GTypeInterface parent; void (* show) (NimfCandidatable *candidatable, NimfServiceIC *target, gboolean show_entry); void (* hide) (NimfCandidatable *candidatable); gboolean (* is_visible) (NimfCandidatable *candidatable); void (* clear) (NimfCandidatable *candidatable, NimfServiceIC *target); void (* set_page_values) (NimfCandidatable *candidatable, NimfServiceIC *target, gint page_index, gint n_pages, gint page_size); void (* append) (NimfCandidatable *candidatable, const gchar *item1, const gchar *item2); gint (* get_selected_index) (NimfCandidatable *candidatable); gchar * (* get_selected_text) (NimfCandidatable *candidatable); void (* select_first_item_in_page) (NimfCandidatable *candidatable); void (* select_last_item_in_page) (NimfCandidatable *candidatable); void (* select_item_by_index_in_page) (NimfCandidatable *candidatable, gint index); void (* select_previous_item) (NimfCandidatable *candidatable); void (* select_next_item) (NimfCandidatable *candidatable); void (* set_auxiliary_text) (NimfCandidatable *candidatable, const gchar *text, gint cursor_pos); };
Provides an interface for candidate window.
GTypeInterface |
The parent interface. |
|
Shows the candidatable. |
||
Hides the candidatable. |
||
Determines whether the candidatable is visible. |
||
Clears the contents of the candidatable. |
||
Sets page values. |
||
Appends a new candidate. |
||
Gets the index of the selected candidatable. |
||
Gets the text of the selected candidatable. |
||
Selects first item in page. |
||
Selects last item in page. |
||
Selects item in page with the index given as the argument. |
||
Selects previus item. |
||
Selects a next item. |
||
Selects auxiliary text. |