| Top |
| SkkCandidate * | skk_candidate_list_get () |
| gboolean | skk_candidate_list_cursor_up () |
| gboolean | skk_candidate_list_cursor_down () |
| gboolean | skk_candidate_list_page_up () |
| gboolean | skk_candidate_list_page_down () |
| gboolean | skk_candidate_list_next () |
| gboolean | skk_candidate_list_previous () |
| gboolean | skk_candidate_list_select_at () |
| void | skk_candidate_list_select () |
| gint | skk_candidate_list_get_cursor_pos () |
| gint | skk_candidate_list_get_size () |
| guint | skk_candidate_list_get_page_start () |
| void | skk_candidate_list_set_page_start () |
| guint | skk_candidate_list_get_page_size () |
| void | skk_candidate_list_set_page_size () |
| gboolean | skk_candidate_list_get_page_visible () |
| gint | cursor-pos | Read |
| guint | page-size | Read / Write |
| guint | page-start | Read / Write |
| gboolean | page-visible | Read |
| gint | size | Read |
| #define | SKK_TYPE_CANDIDATE_LIST |
| struct | SkkCandidateList |
| struct | SkkCandidateListClass |
SkkCandidate * skk_candidate_list_get (SkkCandidateList *self,gint index);
Get the current candidate at the given index.
self |
the SkkCandidateList instance |
|
index |
. candidate position (-1 for the current cursor position) . |
[in] |
gboolean
skk_candidate_list_cursor_up (SkkCandidateList *self);
Move cursor to the previous candidate.
gboolean
skk_candidate_list_cursor_down (SkkCandidateList *self);
Move cursor to the next candidate.
gboolean
skk_candidate_list_page_up (SkkCandidateList *self);
Move cursor to the previous page.
gboolean
skk_candidate_list_page_down (SkkCandidateList *self);
Move cursor to the next page.
gboolean
skk_candidate_list_next (SkkCandidateList *self);
Move cursor forward.
gboolean
skk_candidate_list_previous (SkkCandidateList *self);
Move cursor backward.
gboolean skk_candidate_list_select_at (SkkCandidateList *self,guint index_in_page);
Select a candidate in the current page.
self |
the SkkCandidateList instance |
|
index_in_page |
. cursor position in the page to select . |
[in] |
void
skk_candidate_list_select (SkkCandidateList *self);
Select the current candidate.
gint
skk_candidate_list_get_cursor_pos (SkkCandidateList *self);
Get and return the current value of the "cursor-pos" property.
Current cursor position.
gint
skk_candidate_list_get_size (SkkCandidateList *self);
Get and return the current value of the "size" property.
The number of candidate in the candidate list.
guint
skk_candidate_list_get_page_start (SkkCandidateList *self);
Get and return the current value of the "page-start" property.
Starting index of paging.
void skk_candidate_list_set_page_start (SkkCandidateList *self,guint value);
Set the value of the "page-start" property to value
.
Starting index of paging.
self |
the SkkCandidateList instance to modify |
|
value |
the new value of the "page-start" property |
guint
skk_candidate_list_get_page_size (SkkCandidateList *self);
Get and return the current value of the "page-size" property.
Page size.
void skk_candidate_list_set_page_size (SkkCandidateList *self,guint value);
Set the value of the "page-size" property to value
.
Page size.
self |
the SkkCandidateList instance to modify |
|
value |
the new value of the "page-size" property |
gboolean
skk_candidate_list_get_page_visible (SkkCandidateList *self);
Get and return the current value of the "page-visible" property.
Flag to indicate whether page (lookup table) is visible.
#define SKK_TYPE_CANDIDATE_LIST (skk_candidate_list_get_type ())
The type for SkkCandidateList.
struct SkkCandidateListClass {
GObjectClass parent_class;
SkkCandidate* (*get) (SkkCandidateList* self, gint index);
void (*clear) (SkkCandidateList* self);
void (*add_candidates) (SkkCandidateList* self, SkkCandidate** array, gint array_length1);
void (*add_candidates_end) (SkkCandidateList* self);
gboolean (*cursor_up) (SkkCandidateList* self);
gboolean (*cursor_down) (SkkCandidateList* self);
gboolean (*page_up) (SkkCandidateList* self);
gboolean (*page_down) (SkkCandidateList* self);
gboolean (*next) (SkkCandidateList* self);
gboolean (*previous) (SkkCandidateList* self);
gboolean (*select_at) (SkkCandidateList* self, guint index_in_page);
void (*select) (SkkCandidateList* self);
gint (*get_cursor_pos) (SkkCandidateList* self);
gint (*get_size) (SkkCandidateList* self);
guint (*get_page_start) (SkkCandidateList* self);
void (*set_page_start) (SkkCandidateList* self, guint value);
guint (*get_page_size) (SkkCandidateList* self);
void (*set_page_size) (SkkCandidateList* self, guint value);
gboolean (*get_page_visible) (SkkCandidateList* self);
};
The class structure for SKK_TYPE_CANDIDATE_LIST. All the fields in this structure are private and should never be accessed directly.
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
virtual method called by |
||
getter method for the abstract property "cursor-pos" |
||
getter method for the abstract property "size" |
||
getter method for the abstract property "page-start" |
||
setter method for the abstract property "page-start" |
||
getter method for the abstract property "page-size" |
||
setter method for the abstract property "page-size" |
||
getter method for the abstract property "page-visible" |
“cursor-pos” property “cursor-pos” gint
Current cursor position.
Owner: SkkCandidateList
Flags: Read
Default value: 0
“page-size” property “page-size” guint
Page size.
Owner: SkkCandidateList
Flags: Read / Write
Default value: 0
“page-start” property “page-start” guint
Starting index of paging.
Owner: SkkCandidateList
Flags: Read / Write
Default value: 0
“page-visible” property “page-visible” gboolean
Flag to indicate whether page (lookup table) is visible.
Owner: SkkCandidateList
Flags: Read
Default value: FALSE
“populated” signalvoid user_function (SkkCandidateList *candidate_list, gpointer user_data)
Signal emitted when candidates are filled and ready for traversal.
candidate_list |
the SkkCandidateList instance that received the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“selected” signalvoid user_function (SkkCandidateList *candidate_list, SkkCandidate *candidate, gpointer user_data)
Signal emitted when a candidate is selected.
candidate_list |
the SkkCandidateList instance that received the signal |
|
candidate |
. selected candidate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last