AbiWordSignals
From AbiWiki
<!--Modify this as appropriate, especially if its not an FAQ-->
<!--Aside: using H2 and H3 is a trick for old TWikis to keep headings out of the ToC-->
<!--Delete this line and those above, and anything else that is not needed when you create the page, leave the ToC commented out if you dont use it-->
<H2>AbiWidget Signals</H2>
The signals are emitted when the current state of the document or text sate changes. The signals currently implemented (January, 27th, 2007) by AbiWidget are:
- boolean signal "bold" true if current text is bold
- boolean signal "italic" true if current text is italic
- boolean signal "underline" true if current text is underlined
- boolean signal "overline" true if current text is overlined
- boolean signal "line-through" true if current text is line-through
- boolean signal "topline" true if current text is topline
- boolean signal "bottomline" true if current text is bottomline
- boolean signal "superscript" true if current text is superscript
- boolean signal "subscript" true if current text is subscript
- boolean signal "can-undo" true if current document can do an undo operation
- boolean signal "can-redo" true if current document can do an redo operation
- boolean signal "is-dirty" true if current document has not been saved
- boolean signal "left-align" true if current text is left-aligned
- boolean signal "right-align" true if current text is right-aligned
- boolean signal "center-align" true if current text is center-aligned
- boolean signal "justify-align" true if current text is jusitfy-aligned
- integer signal "font-size" provides the size in points of the current font
- char * signal "font-size" provides the family name of the current font
- char * signal "style-name" provides the name of the current style
- boolean signal "text-selected" true if some text in the document has been selected
- boolean signal "image-selected" true if a positioned image in the document has been selected
- boolean signal "selection-cleared" true if the current selection is cleared
- boolean signal "enter-selection" true if the mouse is placed over a selection
- boolean signal "leave-selection" true if the mouse which was previously over a selection is no longer over the selection
- boolean signal "table-state" true if the caret or selection is in a position to legally insert a table
Contributors
- Main.MartinSevior - 27 Jan 2007