AbiWordSignals
From AbiWiki
(Difference between revisions)
m (Reverted edits by Unimaxug (Talk) to last revision by Maintenance script) |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <!--Modify this as appropriate, especially if it''s not an FAQ--> | |
- | + | <!--Aside: using H2 and H3 is a trick for old TWikis to keep headings out of the [[ToC|ToC]]--> | |
- | + | <!--Delete this line and those above, and anything else that is not needed when you create the page, leave the [[ToC|ToC]] commented out if you don''t use it--> | |
- | + | <H2>[[AbiWidget|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|AbiWidget]] are: | The signals are emitted when the current state of the document or text sate changes. The signals currently implemented (January, 27th, 2007) by [[AbiWidget|AbiWidget]] are: | ||
- | * boolean signal | + | * boolean signal "bold" true if current text is bold |
- | * boolean signal | + | * boolean signal "italic" true if current text is italic |
- | * boolean signal | + | * boolean signal "underline" true if current text is underlined |
- | * boolean signal | + | * boolean signal "overline" true if current text is overlined |
- | * boolean signal | + | * boolean signal "line-through" true if current text is line-through |
- | * boolean signal | + | * boolean signal "topline" true if current text is topline |
- | * boolean signal | + | * boolean signal "bottomline" true if current text is bottomline |
- | * boolean signal | + | * boolean signal "superscript" true if current text is superscript |
- | * boolean signal | + | * boolean signal "subscript" true if current text is subscript |
- | * boolean signal | + | * boolean signal "can-undo" true if current document can do an undo operation |
- | * boolean signal | + | * boolean signal "can-redo" true if current document can do an redo operation |
- | * boolean signal | + | * boolean signal "is-dirty" true if current document has not been saved |
- | * boolean signal | + | * boolean signal "left-align" true if current text is left-aligned |
- | * boolean signal | + | * boolean signal "right-align" true if current text is right-aligned |
- | * boolean signal | + | * boolean signal "center-align" true if current text is center-aligned |
- | * boolean signal | + | * boolean signal "justify-align" true if current text is jusitfy-aligned |
- | * integer signal | + | * integer signal "font-size" provides the size in points of the current font |
- | * char * signal | + | * char * signal "font-size" provides the family name of the current font |
- | * char * signal | + | * char * signal "style-name" provides the name of the current style |
- | * boolean signal | + | * boolean signal "text-selected" true if some text in the document has been selected |
- | * boolean signal | + | * boolean signal "image-selected" true if a positioned image in the document has been selected |
- | * boolean signal | + | * boolean signal "selection-cleared" true if the current selection is cleared |
- | * boolean signal | + | * boolean signal "enter-selection" true if the mouse is placed over a selection |
- | * boolean signal | + | * boolean signal "leave-selection" true if the mouse which was previously over a selection is no longer over the selection |
- | * boolean signal | + | * boolean signal "table-state" true if the caret or selection is in a position to legally insert a table |
==== Contributors
==== | ==== Contributors
==== | ||
* Main.[[MartinSevior|MartinSevior]] - 27 Jan 2007 | * Main.[[MartinSevior|MartinSevior]] - 27 Jan 2007 | ||
[[Category:To Convert]] | [[Category:To Convert]] |
Current revision as of 13:12, 27 November 2010
AbiWidget Signals
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