Lines Matching refs:TextTool
2 * TextTool
63 static void sp_text_context_validate_cursor_iterators(TextTool *tc);
64 static void sp_text_context_update_cursor(TextTool *tc, bool scroll_to_see = true);
65 static void sp_text_context_update_text_selection(TextTool *tc);
66 static gint sp_text_context_timeout(TextTool *tc);
67 static void sp_text_context_forget_text(TextTool *tc);
69 static gint sptc_focus_in(GtkWidget *widget, GdkEventFocus *event, TextTool *tc);
70 static gint sptc_focus_out(GtkWidget *widget, GdkEventFocus *event, TextTool *tc);
71 static void sptc_commit(GtkIMContext *imc, gchar *string, TextTool *tc);
73 const std::string& TextTool::getPrefsPath() {
74 return TextTool::prefsPath;
77 const std::string TextTool::prefsPath = "/tools/text";
80 TextTool::TextTool()
102 TextTool::~TextTool() {
114 void TextTool::setup() {
175 sigc::mem_fun(*this, &TextTool::_selectionChanged)
178 sigc::mem_fun(*this, &TextTool::_selectionModified)
181 sigc::mem_fun(*this, &TextTool::_styleSet)
184 sigc::mem_fun(*this, &TextTool::_styleQueried)
198 void TextTool::finish() {
248 bool TextTool::item_handler(SPItem* item, GdkEvent* event) {
391 static void sp_text_context_setup_text(TextTool *tc)
435 static void insert_uni_char(TextTool *const tc)
483 static void show_curr_uni_char(TextTool *const tc)
507 bool TextTool::root_handler(GdkEvent* event) {
1268 TextTool *tc = SP_TEXT_CONTEXT(ec);
1340 TextTool const *tc = SP_TEXT_CONTEXT(ec);
1351 TextTool const *tc = SP_TEXT_CONTEXT(ec);
1372 TextTool *tc = SP_TEXT_CONTEXT(ec);
1399 void TextTool::_selectionChanged(Inkscape::Selection *selection)
1431 void TextTool::_selectionModified(Inkscape::Selection */*selection*/, guint /*flags*/)
1437 bool TextTool::_styleSet(SPCSSAttr const *css)
1453 int TextTool::_styleQueried(SPStyle *style, int property)
1498 static void sp_text_context_validate_cursor_iterators(TextTool *tc)
1509 static void sp_text_context_update_cursor(TextTool *tc, bool scroll_to_see)
1590 static void sp_text_context_update_text_selection(TextTool *tc)
1617 static gint sp_text_context_timeout(TextTool *tc)
1633 static void sp_text_context_forget_text(TextTool *tc)
1661 gint sptc_focus_in(GtkWidget */*widget*/, GdkEventFocus */*event*/, TextTool *tc)
1667 gint sptc_focus_out(GtkWidget */*widget*/, GdkEventFocus */*event*/, TextTool *tc)
1673 static void sptc_commit(GtkIMContext */*imc*/, gchar *string, TextTool *tc)
1688 void sp_text_context_place_cursor (TextTool *tc, SPObject *text, Inkscape::Text::Layout::iterator where)
1696 void sp_text_context_place_cursor_at (TextTool *tc, SPObject *text, Geom::Point const p)
1702 Inkscape::Text::Layout::iterator *sp_text_context_get_cursor_position(TextTool *tc, SPObject *text)