CandidateList
Object Hierarchy:
Description:
public abstract class CandidateList : Object
Base abstract class of candidate list.
Content:
Properties:
- public abstract
int
cursor_pos { get; }
Current cursor position.
- public abstract
int
size { get; }
The number of candidate in the candidate list.
- public abstract
uint
page_start { set; get; }
Starting index of paging.
- public abstract
uint
page_size { set; get; }
Page size.
- public abstract
bool
page_visible { get; }
Flag to indicate whether page (lookup table) is visible.
Creation methods:
Methods:
- public abstract Candidate @get (
int
index = -1)
Get the current candidate at the given index.
- public abstract
bool
cursor_up ()
Move cursor to the previous candidate.
- public abstract
bool
cursor_down ()
Move cursor to the next candidate.
- public abstract
bool
page_up ()
Move cursor to the previous page.
- public abstract
bool
page_down ()
Move cursor to the next page.
- public virtual
bool
next ()
Move cursor forward.
- public virtual
bool
previous ()
Move cursor backward.
- protected
uint
get_page_start_cursor_pos ()
Return cursor position of the beginning of the current page.
- public abstract
bool
select_at (uint
index_in_page)
Select a candidate in the current page.
- public abstract void select ()
Select the current candidate.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count