CodeSlayerCompletionProposal

CodeSlayerCompletionProposal — A proposal for the completion window.

Synopsis

#include <codeslayer/codeslayer-completion-proposal.h>

struct              CodeSlayerCompletionProposal;
CodeSlayerCompletionProposal * codeslayer_completion_proposal_new
                                                        (const gchar *label,
                                                         const gchar *text,
                                                         GtkTextMark *mark);
const gchar *       codeslayer_completion_proposal_get_label
                                                        (CodeSlayerCompletionProposal *proposal);
const gchar *       codeslayer_completion_proposal_get_text
                                                        (CodeSlayerCompletionProposal *proposal);
GtkTextMark *       codeslayer_completion_proposal_get_mark
                                                        (CodeSlayerCompletionProposal *proposal);

Object Hierarchy

  GObject
   +----CodeSlayerCompletionProposal

Description

Details

struct CodeSlayerCompletionProposal

struct CodeSlayerCompletionProposal;

codeslayer_completion_proposal_new ()

CodeSlayerCompletionProposal * codeslayer_completion_proposal_new
                                                        (const gchar *label,
                                                         const gchar *text,
                                                         GtkTextMark *mark);

Creates a new CodeSlayerCompletionProposal.

label :

the text to show up in the completion window.

text :

the text that will be used as the completion result.

mark :

a GtkTextMark that marks the place that the completion starts.

Returns :

a new CodeSlayerCompletionProposal.

codeslayer_completion_proposal_get_label ()

const gchar *       codeslayer_completion_proposal_get_label
                                                        (CodeSlayerCompletionProposal *proposal);

proposal :

a CodeSlayerCompletionProposal.

Returns :

the text to show up in the completion window.

codeslayer_completion_proposal_get_text ()

const gchar *       codeslayer_completion_proposal_get_text
                                                        (CodeSlayerCompletionProposal *proposal);

proposal :

a CodeSlayerCompletionProposal.

Returns :

the text that will be used as the completion result.

codeslayer_completion_proposal_get_mark ()

GtkTextMark *       codeslayer_completion_proposal_get_mark
                                                        (CodeSlayerCompletionProposal *proposal);

proposal :

a CodeSlayerCompletionProposal.

Returns :

a GtkTextMark that marks the place that the completion starts.