Flutter Linux Embedder
fl_accessible_text_field.h File Reference
#include <gtk/gtk.h>
#include "flutter/shell/platform/linux/fl_accessible_node.h"

Go to the source code of this file.

Functions

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE (FlAccessibleTextField, fl_accessible_text_field, FL, ACCESSIBLE_TEXT_FIELD, FlAccessibleNode)
 
FlAccessibleNode * fl_accessible_text_field_new (FlEngine *engine, int32_t id)
 

Function Documentation

◆ fl_accessible_text_field_new()

FlAccessibleNode* fl_accessible_text_field_new ( FlEngine *  engine,
int32_t  id 
)

fl_accessible_text_field_new: @engine: the #FlEngine this node came from. @id: the semantics node ID this object represents.

Creates a new accessibility object that exposes an editable Flutter text field to ATK.

Returns: a new #FlAccessibleNode.

Definition at line 618 of file fl_accessible_text_field.cc.

618  {
619  return FL_ACCESSIBLE_NODE(g_object_new(fl_accessible_text_field_get_type(),
620  "engine", engine, "id", id, nullptr));
621 }

Referenced by create_node(), and TEST().

◆ G_DECLARE_FINAL_TYPE()

G_BEGIN_DECLS G_DECLARE_FINAL_TYPE ( FlAccessibleTextField  ,
fl_accessible_text_field  ,
FL  ,
ACCESSIBLE_TEXT_FIELD  ,
FlAccessibleNode   
)