Fcitx
Public Member Functions | List of all members
fcitx::DisplayOnlyCandidateWord Class Reference
Inheritance diagram for fcitx::DisplayOnlyCandidateWord:
Inheritance graph
[legend]
Collaboration diagram for fcitx::DisplayOnlyCandidateWord:
Collaboration graph
[legend]

Public Member Functions

 DisplayOnlyCandidateWord (Text text)
 
 DisplayOnlyCandidateWord (Text text, Text comment)
 
void select (InputContext *) const override
 Called when candidate is selected by user. More...
 
- Public Member Functions inherited from fcitx::CandidateWord
 CandidateWord (Text text={})
 
const Texttext () const
 
bool isPlaceHolder () const
 Whether the candidate is only a place holder. More...
 
bool hasCustomLabel () const
 
const TextcustomLabel () const
 
const Textcomment () const
 Return comment corresponding to the candidate. More...
 
Text textWithComment (std::string separator=" ") const
 Return text with comment. More...
 
bool spaceBetweenComment () const
 Whether there should be no space between text and comment. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fcitx::CandidateWord
void setText (Text text)
 
void setPlaceHolder (bool placeHolder)
 
void resetCustomLabel ()
 
void setCustomLabel (Text text)
 
void setComment (Text comment)
 
void setSpaceBetweenComment (bool space)
 

Detailed Description

Definition at line 203 of file candidatelist.h.

Member Function Documentation

◆ select()

void fcitx::DisplayOnlyCandidateWord::select ( InputContext inputContext) const
inlineoverridevirtual

Called when candidate is selected by user.

Parameters
inputContextthe associated input context for the candidate.

Implements fcitx::CandidateWord.

Definition at line 211 of file candidatelist.h.


The documentation for this class was generated from the following file: