MildenhallSpellerMultipleEntry

MildenhallSpellerMultipleEntry — Several entries that can be edited on the same virtual keyboard.

Functions

Properties

gboolean clear-text Read / Write
gint cursor-focus Read / Write
GObject * model Read / Write
GVariant * text Read / Write

Signals

void multiple-entry-action No Recursion

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── ClutterActor
            ╰── MildenhallSpellerMultipleEntry

Implemented Interfaces

MildenhallSpellerMultipleEntry implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.

Includes

#include <include/mildenhall_roller_container.h>

Description

MildenhallSpellerDefaultEntry is an another text entry widget for speller where several entries that can be edited on the same virtual keyboard.

Freeing the widget

Call g_object_unref() to free the widget.

Functions

mildenhall_speller_multiple_entry_new ()

ClutterActor *
mildenhall_speller_multiple_entry_new (void);

Creates a speller entry object

Returns

a newly created speller entry object.

[transfer full]


v_multiple_speller_set_text ()

void
v_multiple_speller_set_text (MildenhallSpellerMultipleEntry *pSelf,
                             GVariant *pArgList);

set the text on TextEntryBox

Parameters

pSelf

object reference

 

pArgList

text to be extracted from type GVariant

 

v_multiple_speller_set_clear_text ()

void
v_multiple_speller_set_clear_text (MildenhallSpellerMultipleEntry *pSelf,
                                   gboolean clearText);

set to clear the text on entry

Parameters

pSelf

object reference

 

clearText

set to true/false to clear the text

 

v_multiple_speller_set_focus_entry ()

void
v_multiple_speller_set_focus_entry (MildenhallSpellerMultipleEntry *pSelf,
                                    gboolean focus_entry);

v_multiple_speller_set_model ()

void
v_multiple_speller_set_model (MildenhallSpellerMultipleEntry *pSelf,
                              ThornburyModel *pModel);

Model format: "left-icon-istext" - gboolean "left-icon-width" - gfloat "left-icon-info" - GVariant* "right-icon-istext" - gboolean "right-icon-width" - gfloat "right-icon-info" - GVariant* "default-text" - gchar*

Parameters

pSelf

meta info header object reference

 

pModel

model for the speller

 

Types and Values

struct MildenhallSpellerMultipleEntry

struct MildenhallSpellerMultipleEntry;

The MildenhallSpellerMultipleEntry struct contains only private data.


struct MildenhallSpellerMultipleEntryClass

struct MildenhallSpellerMultipleEntryClass {
  ClutterActorClass parent_class;
  void (* multiple_state_change) (GObject *pButton, gchar *pEntryId);
};

The MildenhallSpellerMultipleEntryClass struct contains only private data.

Property Details

The “clear-text” property

  “clear-text”               gboolean

If set to TRUE, will clear the text present in the text entry.

Flags: Read / Write

Default value: TRUE


The “cursor-focus” property

  “cursor-focus”             gint

this is to set the cursor focus on a particular entry.

Flags: Read / Write

Allowed values: [0,40]

Default value: 0


The “model” property

  “model”                    GObject *

Sets the model to be displayed on the multiple entry Model contains the following data: "left-icon-istext" - set to TRUE, if left icon is a text. FALSE otherwise "left-icon-width" - width of the left icon "right-icon-istext" - set to TRUE, if right icon is a text. FALSE otherwise "right-icon-width" - set to TRUE, if right icon is a text. FALSE otherwise "default-text" - default text to be shown on the text entry.

Flags: Read / Write


The “text” property

  “text”                     GVariant *

text to be set which can be set from GVariant type

Flags: Read / Write

Allowed values: GVariant<a{ss}>

Default value: NULL

Signal Details

The “multiple-entry-action” signal

void
user_function (MildenhallSpellerMultipleEntry *mildenhallspellermultipleentry,
               gchar                          *arg1,
               gpointer                        user_data)

Flags: No Recursion

See Also

ClutterActor, ThornburyItemFactory, MildenhallSpeller