mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 23:45:27 +00:00
2003-10-01 Mike Kestner <mkestner@ximian.com>
* README.generator : updates for new parser script * api/Makefile.in : add gtkhtml-api.xml * api/*-api.xml : regenerated * parser/makefile : install new parsing script * parser/gapi-parser : new xml-driven parsing script * sources/makefile : call new parsing script * sources/gtk-sharp-sources.xml : new parser input file * sources/gtk-sharp.sources : killed svn path=/trunk/gtk-sharp/; revision=18491
This commit is contained in:
parent
08d90b259b
commit
4da6295257
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2003-10-01 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
|
* README.generator : updates for new parser script
|
||||||
|
* api/Makefile.in : add gtkhtml-api.xml
|
||||||
|
* api/*-api.xml : regenerated
|
||||||
|
* parser/makefile : install new parsing script
|
||||||
|
* parser/gapi-parser : new xml-driven parsing script
|
||||||
|
* sources/makefile : call new parsing script
|
||||||
|
* sources/gtk-sharp-sources.xml : new parser input file
|
||||||
|
* sources/gtk-sharp.sources : killed
|
||||||
|
|
||||||
2003-09-29 Martin Willemoes Hansen <mwh@sysrq.dk>
|
2003-09-29 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||||
|
|
||||||
* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,
|
* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,
|
||||||
|
|
|
@ -1,33 +1,62 @@
|
||||||
How to use the Gtk# code generator:
|
How to use the Gtk# code generator:
|
||||||
|
|
||||||
Install dependencies:
|
Install dependencies:
|
||||||
|
|
||||||
* You need to install the XML::LibXML perl bindings and Gtk#.
|
* You need to install the XML::LibXML perl bindings and Gtk#.
|
||||||
|
|
||||||
|
Parse the library:
|
||||||
|
|
||||||
|
* Create an xml file defining the libraries to be parsed. The
|
||||||
|
format of the XML is:
|
||||||
|
|
||||||
|
<gapi-parser-input>
|
||||||
|
<api filename="../api/atk-api.xml">
|
||||||
|
<library name="libatk-1.0-0.dll">
|
||||||
|
<namespace name="Atk">
|
||||||
|
<dir>atk-1.2.4/atk</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<gapi-parser-input>
|
||||||
|
|
||||||
|
The api element filename attribute specifies the parser output file location.
|
||||||
|
The name attribute on the library output points to the native library name. If
|
||||||
|
you are creating a cross-platform project, you will want to specify the win32 dll
|
||||||
|
name here and use mono's config mechanism to map the name on other platforms.
|
||||||
|
The dir element points to a src directory to be parsed. Currently all .c and .h
|
||||||
|
files in the directory are parsed.
|
||||||
|
|
||||||
|
All the elements inside the root can have multiples. The source/gtk-sharp-sources.xml
|
||||||
|
file has examples of producing multiple api files with a single parser input file, as
|
||||||
|
well as including muliple libraries in a single output file.
|
||||||
|
|
||||||
|
* Create metadata rules files named <namespace>.metadata in the directory where you invoke
|
||||||
|
the parser. Metadata rules allow you to massage the parsed api if necessary. Examples
|
||||||
|
of rule formats can be found in the sources directory.
|
||||||
|
|
||||||
|
* Execute the parser on your xml input file:
|
||||||
|
gapi-parser <xml-input-filename>
|
||||||
|
|
||||||
|
* Distribute the xml file(s) produced by the parser with your project so that your
|
||||||
|
users don't need to have any native library source, or perl libraries installed in
|
||||||
|
order to build your project.
|
||||||
|
|
||||||
Within your project directory, do the following:
|
Within your project directory, do the following:
|
||||||
|
|
||||||
* Setup a toplevel subdirectory for each namespace/assembly you
|
* Setup a toplevel subdirectory for each namespace/assembly you
|
||||||
are wrapping. Instruct the makefile for this directory to compile,
|
are wrapping. Instruct the makefile for this directory to compile,
|
||||||
at minimum, generated/*.
|
at minimum, generated/*.
|
||||||
* Write a .sources file listing the source directories for the
|
|
||||||
libraries you will be wrapping, one line per directory. The
|
|
||||||
format is: "directory namespace library".
|
|
||||||
* Run gapi.pl SOURCEFILE APIDIR where SOURCEFILE is the sources file
|
|
||||||
you just wrote, and APIDIR is the directory to place the API XML
|
|
||||||
descriptions in.
|
|
||||||
* Run gapi_codegen.exe on the API files you created. If you depend
|
|
||||||
on any other wrapped libraries (such as gtk-sharp.dll), you need to
|
|
||||||
include their API listings via the --include directive.
|
|
||||||
The code generator, if successful, will have populated the assembly
|
|
||||||
directories with generated/ directories.
|
|
||||||
|
|
||||||
It is generally helpful to automate this process with makefiles. Gtk# uses
|
* Run gapi_codegen.exe on the API file(s) you created with the parser. If you depend
|
||||||
the following organization:
|
on any other wrapped libraries (such as gtk-sharp.dll), you need to include their API
|
||||||
sources/: Source directories, .sources listing, .metadata files.
|
listings via the --include directive. The code generator, if successful, will have
|
||||||
Is not listed in SUBDIRS, developers run make manually here when
|
populated the assembly directories with generated/ directories. It is generally helpful
|
||||||
they want to update the API files.
|
to automate this process with makefiles. Gtk# uses the following organization:
|
||||||
api/: API files written here. They are committed to CVS and included
|
- sources/: Source directories, .sources listing, .metadata files.
|
||||||
in releases for the convenience of the lib user.
|
developers run make manually here when they want to update the API files.
|
||||||
This _is_ listed in SUBDIRS, the generator directives are in
|
- api/: API files
|
||||||
this makefile. (And hence api needs to be listed before
|
The files are committed to CVS and included in releases for the convenience
|
||||||
the assembly directories)
|
of the lib user. This dir is included in the build before the namespace dirs
|
||||||
|
and the generator is invoked from this dir.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ APIS = \
|
||||||
gdk-api.xml \
|
gdk-api.xml \
|
||||||
gdk-symbols.xml \
|
gdk-symbols.xml \
|
||||||
gtk-api.xml \
|
gtk-api.xml \
|
||||||
|
gtkhtml-api.xml \
|
||||||
gtk-symbols.xml \
|
gtk-symbols.xml \
|
||||||
glade-api.xml \
|
glade-api.xml \
|
||||||
art-api.xml \
|
art-api.xml \
|
||||||
|
|
|
@ -1843,8 +1843,8 @@
|
||||||
<callback cname="child_func">
|
<callback cname="child_func">
|
||||||
<return-type type="gboolean"/>
|
<return-type type="gboolean"/>
|
||||||
<parameters>
|
<parameters>
|
||||||
<parameter type=" 						 gboolean " name="child_func"/>
|
<parameter type="" name=""/>
|
||||||
<parameter type=" 						 gboolean " name="child_func"/>
|
<parameter type="" name=""/>
|
||||||
</parameters>
|
</parameters>
|
||||||
</callback>
|
</callback>
|
||||||
<parameter type="gpointer" name="user_data"/>
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
|
|
@ -6578,7 +6578,7 @@
|
||||||
</object>
|
</object>
|
||||||
<struct name="CanvasHacktextPriv" cname="GnomeCanvasHacktextPriv" opaque="true"/>
|
<struct name="CanvasHacktextPriv" cname="GnomeCanvasHacktextPriv" opaque="true"/>
|
||||||
</namespace>
|
</namespace>
|
||||||
<namespace name="Gnome" library="gnomeprintui-2.2">
|
<namespace name="Gnome" library="gnomeprintui-2-2">
|
||||||
<object name="GPAOptionMenu" cname="GPAOptionMenu" parent="GPAWidget">
|
<object name="GPAOptionMenu" cname="GPAOptionMenu" parent="GPAWidget">
|
||||||
<field cname="menu" type="GtkWidget*"/>
|
<field cname="menu" type="GtkWidget*"/>
|
||||||
<field cname="node" type="GPANode*"/>
|
<field cname="node" type="GPANode*"/>
|
||||||
|
|
960
api/gtk-api.xml
960
api/gtk-api.xml
|
@ -13293,964 +13293,4 @@
|
||||||
<static-string cname="GTK_STOCK_ZOOM_OUT" name="ZoomOut" value="gtk-zoom-out"/>
|
<static-string cname="GTK_STOCK_ZOOM_OUT" name="ZoomOut" value="gtk-zoom-out"/>
|
||||||
</object>
|
</object>
|
||||||
</namespace>
|
</namespace>
|
||||||
<namespace name="Gtk" library="gtkhtml-3.0">
|
|
||||||
<enum name="HTMLBeginFlags" cname="GtkHTMLBeginFlags" type="flags">
|
|
||||||
<member cname="GTK_HTML_BEGIN_KEEP_SCROLL" name="Scroll" value="1 << 0"/>
|
|
||||||
<member cname="GTK_HTML_BEGIN_KEEP_IMAGES" name="Images" value="1 << 1"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLCommandType" cname="GtkHTMLCommandType" type="enum">
|
|
||||||
<member cname="GTK_HTML_COMMAND_UNDO" name="Undo"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_REDO" name="Redo"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_COPY" name="Copy"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_COPY_AND_DISABLE_SELECTION" name="CopyAndDisableSelection"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CUT" name="Cut"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PASTE" name="Paste"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CUT_LINE" name="CutLine"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_PARAGRAPH" name="InsertParagraph"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_TAB" name="InsertTab"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_RULE" name="InsertRule"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_RULE_PARAM" name="InsertRuleParam"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_IMAGE_PARAM" name="InsertImageParam"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_INDENT_MORE" name="InsertTabOrIndentMore"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_NEXT_CELL" name="InsertTabOrNextCell"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MAKE_LINK" name="MakeLink"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_REMOVE_LINK" name="RemoveLink"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE" name="Delete"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_BACK" name="DeleteBack"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_BACK_OR_INDENT_DEC" name="DeleteBackOrIndentDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECTION_MODE" name="SelectionMode"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DISABLE_SELECTION" name="DisableSelection"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_BOLD_ON" name="BoldOn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_BOLD_OFF" name="BoldOff"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_BOLD_TOGGLE" name="BoldToggle"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ITALIC_ON" name="ItalicOn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ITALIC_OFF" name="ItalicOff"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ITALIC_TOGGLE" name="ItalicToggle"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_UNDERLINE_ON" name="UnderlineOn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_UNDERLINE_OFF" name="UnderlineOff"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_UNDERLINE_TOGGLE" name="UnderlineToggle"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_STRIKEOUT_ON" name="StrikeoutOn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_STRIKEOUT_OFF" name="StrikeoutOff"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_STRIKEOUT_TOGGLE" name="StrikeoutToggle"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_2" name="SizeMinus2"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_1" name="SizeMinus1"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_0" name="SizePlus0"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_1" name="SizePlus1"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_2" name="SizePlus2"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_3" name="SizePlus3"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_4" name="SizePlus4"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_INCREASE" name="SizeIncrease"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SIZE_DECREASE" name="SizeDecrease"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ALIGN_LEFT" name="AlignLeft"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ALIGN_CENTER" name="AlignCenter"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ALIGN_RIGHT" name="AlignRight"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INDENT_ZERO" name="IndentZero"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INDENT_INC" name="IndentInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INDENT_INC_OR_NEXT_CELL" name="IndentIncOrNextCell"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INDENT_DEC" name="IndentDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PREV_CELL" name="PrevCell"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INDENT_PARAGRAPH" name="IndentParagraph"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_BREAK_AND_FILL_LINE" name="BreakAndFillLine"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SPACE_AND_FILL_LINE" name="SpaceAndFillLine"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_NORMAL" name="ParagraphStyleNormal"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H1" name="ParagraphStyleH1"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H2" name="ParagraphStyleH2"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H3" name="ParagraphStyleH3"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H4" name="ParagraphStyleH4"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H5" name="ParagraphStyleH5"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H6" name="ParagraphStyleH6"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ADDRESS" name="ParagraphStyleAddress"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_PRE" name="ParagraphStylePre"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDOTTED" name="ParagraphStyleItemdotted"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMROMAN" name="ParagraphStyleItemroman"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDIGIT" name="ParagraphStyleItemdigit"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMALPHA" name="ParagraphStyleItemalpha"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_UP" name="ModifySelectionUp"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_DOWN" name="ModifySelectionDown"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_LEFT" name="ModifySelectionLeft"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_RIGHT" name="ModifySelectionRight"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEUP" name="ModifySelectionPageup"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEDOWN" name="ModifySelectionPagedown"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOL" name="ModifySelectionBol"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOL" name="ModifySelectionEol"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOD" name="ModifySelectionBod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOD" name="ModifySelectionEod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PREV_WORD" name="ModifySelectionPrevWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_NEXT_WORD" name="ModifySelectionNextWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CAPITALIZE_WORD" name="CapitalizeWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_UPCASE_WORD" name="UpcaseWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DOWNCASE_WORD" name="DowncaseWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SPELL_SUGGEST" name="SpellSuggest"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SPELL_PERSONAL_DICTIONARY_ADD" name="SpellPersonalDictionaryAdd"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SPELL_SESSION_DICTIONARY_ADD" name="SpellSessionDictionaryAdd"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SEARCH" name="Search"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_FORWARD" name="SearchIncrementalForward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_BACKWARD" name="SearchIncrementalBackward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SEARCH_REGEX" name="SearchRegex"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_FOCUS_FORWARD" name="FocusForward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_FOCUS_BACKWARD" name="FocusBackward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_POPUP_MENU" name="PopupMenu"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_PROPERTIES_DIALOG" name="PropertiesDialog"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_FORWARD" name="CursorForward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_BACKWARD" name="CursorBackward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_INSERT_TABLE_1_1" name="InsertTable11"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_AFTER" name="TableInsertColAfter"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_BEFORE" name="TableInsertColBefore"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_AFTER" name="TableInsertRowAfter"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_BEFORE" name="TableInsertRowBefore"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_COL" name="TableDeleteCol"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_ROW" name="TableDeleteRow"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_CSPAN" name="TableCellIncCspan"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_CSPAN" name="TableCellDecCspan"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_RSPAN" name="TableCellIncRspan"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_RSPAN" name="TableCellDecRspan"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_LEFT" name="TableCellJoinLeft"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_RIGHT" name="TableCellJoinRight"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_UP" name="TableCellJoinUp"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_DOWN" name="TableCellJoinDown"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_INC" name="TableBorderWidthInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_DEC" name="TableBorderWidthDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_ZERO" name="TableBorderWidthZero"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TEXT_SET_DEFAULT_COLOR" name="TextSetDefaultColor"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECT_WORD" name="SelectWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECT_LINE" name="SelectLine"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH" name="SelectParagraph"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH_EXTENDED" name="SelectParagraphExtended"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SELECT_ALL" name="SelectAll"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_SAVE" name="CursorPositionSave"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_RESTORE" name="CursorPositionRestore"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_BOD" name="CursorBod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CURSOR_EOD" name="CursorEod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_BLOCK_REDRAW" name="BlockRedraw"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_UNBLOCK_REDRAW" name="UnblockRedraw"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ZOOM_IN" name="ZoomIn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ZOOM_OUT" name="ZoomOut"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_ZOOM_RESET" name="ZoomReset"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_INC" name="TableSpacingInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_DEC" name="TableSpacingDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_ZERO" name="TableSpacingZero"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_INC" name="TablePaddingInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_DEC" name="TablePaddingDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_ZERO" name="TablePaddingZero"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_TABLE" name="DeleteTable"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_ROW" name="DeleteTableRow"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_COLUMN" name="DeleteTableColumn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_CELL_CONTENTS" name="DeleteTableCellContents"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_GRAB_FOCUS" name="GrabFocus"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_KILL_WORD" name="KillWord"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_KILL_WORD_BACKWARD" name="KillWordBackward"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_TEXT_COLOR_APPLY" name="TextColorApply"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SAVE_DATA_ON" name="SaveDataOn"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SAVE_DATA_OFF" name="SaveDataOff"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SAVED" name="Saved"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_IS_SAVED" name="IsSaved"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SCROLL_BOD" name="ScrollBod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_SCROLL_EOD" name="ScrollEod"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CELL_CSPAN_INC" name="CellCspanInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CELL_RSPAN_INC" name="CellRspanInc"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CELL_CSPAN_DEC" name="CellCspanDec"/>
|
|
||||||
<member cname="GTK_HTML_COMMAND_CELL_RSPAN_DEC" name="CellRspanDec"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLCursorSkipType" cname="GtkHTMLCursorSkipType" type="enum">
|
|
||||||
<member cname="GTK_HTML_CURSOR_SKIP_ONE" name="One"/>
|
|
||||||
<member cname="GTK_HTML_CURSOR_SKIP_WORD" name="Word"/>
|
|
||||||
<member cname="GTK_HTML_CURSOR_SKIP_PAGE" name="Page"/>
|
|
||||||
<member cname="GTK_HTML_CURSOR_SKIP_ALL" name="All"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLEditorEventType" cname="GtkHTMLEditorEventType" type="enum">
|
|
||||||
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_BEFORE" name="CommandBefore"/>
|
|
||||||
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_AFTER" name="CommandAfter"/>
|
|
||||||
<member cname="GTK_HTML_EDITOR_EVENT_IMAGE_URL" name="ImageUrl"/>
|
|
||||||
<member cname="GTK_HTML_EDITOR_EVENT_DELETE" name="Delete"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLEtchStyle" cname="GtkHTMLEtchStyle" type="enum">
|
|
||||||
<member cname="GTK_HTML_ETCH_IN" name="In"/>
|
|
||||||
<member cname="GTK_HTML_ETCH_OUT" name="Out"/>
|
|
||||||
<member cname="GTK_HTML_ETCH_NONE" name="None"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLFontStyle" cname="GtkHTMLFontStyle" type="flags">
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_DEFAULT" name="Default"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_1" name="Size1" value="1"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_2" name="Size2" value="2"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_3" name="Size3" value="3"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_4" name="Size4" value="4"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_5" name="Size5" value="5"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_6" name="Size6" value="6"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_7" name="Size7" value="7"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SIZE_MASK" name="SizeMask" value="0x7"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_BOLD" name="Bold" value="1 << 3"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_ITALIC" name="Italic" value="1 << 4"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_UNDERLINE" name="Underline" value="1 << 5"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_STRIKEOUT" name="Strikeout" value="1 << 6"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_FIXED" name="Fixed" value="1 << 7"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SUBSCRIPT" name="Subscript" value="1 << 8"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SUPERSCRIPT" name="Superscript" value="1 << 9"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLFontStyleShift" cname="GtkHTMLFontStyleShift" type="enum">
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_BOLD" name="Bold" value="3"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_ITALIC" name="Italic" value="4"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_UNDERLINE" name="Underline" value="5"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_STRIKEOUT" name="Strikeout" value="6"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_FIXED" name="Fixed" value="7"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_SUBSCRIPT" name="Subscript" value="8"/>
|
|
||||||
<member cname="GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT" name="Superscript" value="9"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLParagraphAlignment" cname="GtkHTMLParagraphAlignment" type="enum">
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT" name="Left"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT" name="Right"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER" name="Center"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLParagraphStyle" cname="GtkHTMLParagraphStyle" type="enum">
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_NORMAL" name="Normal"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H1" name="H1"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H2" name="H2"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H3" name="H3"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H4" name="H4"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H5" name="H5"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_H6" name="H6"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_ADDRESS" name="Address"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_PRE" name="Pre"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDOTTED" name="Itemdotted"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMROMAN" name="Itemroman"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDIGIT" name="Itemdigit"/>
|
|
||||||
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMALPHA" name="Itemalpha"/>
|
|
||||||
</enum>
|
|
||||||
<enum name="HTMLStreamStatus" cname="GtkHTMLStreamStatus" type="enum">
|
|
||||||
<member cname="GTK_HTML_STREAM_OK" name="Ok"/>
|
|
||||||
<member cname="GTK_HTML_STREAM_ERROR" name="Error"/>
|
|
||||||
</enum>
|
|
||||||
<callback name="HTMLPrintCallback" cname="GtkHTMLPrintCallback" hidden="1">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GnomePrintContext*" name="print_context"/>
|
|
||||||
<parameter type="gdouble" name="x"/>
|
|
||||||
<parameter type="gdouble" name="y"/>
|
|
||||||
<parameter type="gdouble" name="width"/>
|
|
||||||
<parameter type="gdouble" name="height"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback name="HTMLSaveReceiverFn" cname="GtkHTMLSaveReceiverFn">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gpointer" name="engine"/>
|
|
||||||
<parameter type="const-gchar*" name="data"/>
|
|
||||||
<parameter type="size_t" name="len"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback name="HTMLStreamCloseFunc" cname="GtkHTMLStreamCloseFunc">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStream*" name="stream"/>
|
|
||||||
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback name="HTMLStreamTypesFunc" cname="GtkHTMLStreamTypesFunc">
|
|
||||||
<return-type type="char**"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStream*" name="stream"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback name="HTMLStreamWriteFunc" cname="GtkHTMLStreamWriteFunc">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStream*" name="stream"/>
|
|
||||||
<parameter type="const-gchar*" name="buffer"/>
|
|
||||||
<parameter type="size_t" name="size"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<object name="HTML" cname="GtkHTML" parent="GtkLayout">
|
|
||||||
<field cname="iframe_parent" type="GtkWidget*"/>
|
|
||||||
<field cname="frame" type="HTMLObject*"/>
|
|
||||||
<field cname="editor_api" type="GtkHTMLEditorAPI*"/>
|
|
||||||
<field cname="editor_data" type="gpointer"/>
|
|
||||||
<field cname="engine" type="HTMLEngine*"/>
|
|
||||||
<field cname="pointer_url" type="gchar*"/>
|
|
||||||
<field cname="hand_cursor" type="GdkCursor*"/>
|
|
||||||
<field cname="ibeam_cursor" type="GdkCursor*"/>
|
|
||||||
<field cname="selection_x1" type="gint"/>
|
|
||||||
<field cname="selection_y1" type="gint"/>
|
|
||||||
<field cname="in_selection" bits="1" type="guint"/>
|
|
||||||
<field cname="in_selection_drag" bits="1" type="guint"/>
|
|
||||||
<field cname="debug" bits="1" type="guint"/>
|
|
||||||
<field cname="allow_selection" bits="1" type="guint"/>
|
|
||||||
<field cname="hadj_connection" type="guint"/>
|
|
||||||
<field cname="vadj_connection" type="guint"/>
|
|
||||||
<field cname="binding_handled" type="gboolean"/>
|
|
||||||
<field cname="priv" type="GtkHTMLPrivate*"/>
|
|
||||||
<signal name="TitleChanged" cname="title_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="new_title"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="UrlRequested" cname="url_requested" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
<parameter type="GtkHTMLStream*" name="handle"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="LoadDone" cname="load_done" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="LinkClicked" cname="link_clicked" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="SetBase" cname="set_base" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="base_url"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="SetBaseTarget" cname="set_base_target" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="base_url"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="OnUrl" cname="on_url" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="Redirect" cname="redirect" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
<parameter type="int" name="delay"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="Submit" cname="submit" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="const-gchar*" name="method"/>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
<parameter type="const-gchar*" name="encoding"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="ObjectRequested" cname="object_requested" when="LAST">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="*" name=""/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLParagraphStyle" name="new_style"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="CurrentParagraphIndentationChanged" cname="current_paragraph_indentation_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="guint" name="new_indentation"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="CurrentParagraphAlignmentChanged" cname="current_paragraph_alignment_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLParagraphAlignment" name="new_alignment"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="InsertionFontStyleChanged" cname="insertion_font_style_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLFontStyle" name="style"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="InsertionColorChanged" cname="insertion_color_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GdkColor*" name="color"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="SizeChanged" cname="size_changed" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="IframeCreated" cname="iframe_created" when="FIRST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTML*" name="iframe"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="Scroll" cname="scroll" when="LAST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkOrientation" name="orientation"/>
|
|
||||||
<parameter type="GtkScrollType" name="scroll_type"/>
|
|
||||||
<parameter type="gfloat" name="position"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="CursorMove" cname="cursor_move" when="LAST">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkDirectionType" name="dir_type"/>
|
|
||||||
<parameter type="GtkHTMLCursorSkipType" name="skip"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<signal name="OnCommand" cname="command" when="LAST">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLCommandType" name="com_type"/>
|
|
||||||
</parameters>
|
|
||||||
</signal>
|
|
||||||
<property name="Editable" cname="editable" type="gboolean" readable="true" writeable="true"/>
|
|
||||||
<property name="Title" cname="title" type="gchar*" readable="true" writeable="true"/>
|
|
||||||
<property name="DocumentBase" cname="document_base" type="gchar*" readable="true" writeable="true"/>
|
|
||||||
<property name="TargetBase" cname="target_base" type="gchar*" readable="true" writeable="true"/>
|
|
||||||
<method name="AllowSelection" cname="gtk_html_allow_selection">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="allow"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="AppendHtml" cname="gtk_html_append_html">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="html_src"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Begin" cname="gtk_html_begin">
|
|
||||||
<return-type type="GtkHTMLStream*"/>
|
|
||||||
</method>
|
|
||||||
<method name="Begin" cname="gtk_html_begin_content">
|
|
||||||
<return-type type="GtkHTMLStream*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gchar*" name="content_type"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Begin" cname="gtk_html_begin_full">
|
|
||||||
<return-type type="GtkHTMLStream*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="char*" name="target_frame"/>
|
|
||||||
<parameter type="char*" name="content_type"/>
|
|
||||||
<parameter type="GtkHTMLBeginFlags" name="flags"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Command" cname="gtk_html_command">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="command_name"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Construct" cname="gtk_html_construct" shared="true">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkWidget*" name="html"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Copy" cname="gtk_html_copy">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="Cut" cname="gtk_html_cut">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="DropUndo" cname="gtk_html_drop_undo">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="EditMakeCursorVisible" cname="gtk_html_edit_make_cursor_visible">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="EnableDebug" cname="gtk_html_enable_debug">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="debug"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="End" cname="gtk_html_end">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStream*" name="handle"/>
|
|
||||||
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Export" cname="gtk_html_export">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="type"/>
|
|
||||||
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
|
|
||||||
<parameter type="gpointer" name="data"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="GetAllowFrameset" cname="gtk_html_get_allow_frameset">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetAnimate" cname="gtk_html_get_animate">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetBase" cname="gtk_html_get_base">
|
|
||||||
<return-type type="const-char*"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetEditable" cname="gtk_html_get_editable">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetInlineSpelling" cname="gtk_html_get_inline_spelling">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetMagicLinks" cname="gtk_html_get_magic_links">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetMagicSmileys" cname="gtk_html_get_magic_smileys">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetObjectById" cname="gtk_html_get_object_by_id">
|
|
||||||
<return-type type="gpointer"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="id"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="GetParagraphAlignment" cname="gtk_html_get_paragraph_alignment">
|
|
||||||
<return-type type="GtkHTMLParagraphAlignment"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetParagraphIndentation" cname="gtk_html_get_paragraph_indentation">
|
|
||||||
<return-type type="guint"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetParagraphStyle" cname="gtk_html_get_paragraph_style">
|
|
||||||
<return-type type="GtkHTMLParagraphStyle"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetTitle" cname="gtk_html_get_title">
|
|
||||||
<return-type type="const-gchar*"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetType" cname="gtk_html_get_type" shared="true">
|
|
||||||
<return-type type="GtkType"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetUrlBaseRelative" cname="gtk_html_get_url_base_relative">
|
|
||||||
<return-type type="char*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="GetUrlObjectRelative" cname="gtk_html_get_url_object_relative">
|
|
||||||
<return-type type="char*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="HTMLObject*" name="o"/>
|
|
||||||
<parameter type="const-char*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="HasUndo" cname="gtk_html_has_undo">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
</method>
|
|
||||||
<method name="ImagePreload" cname="gtk_html_image_preload">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="ImageRef" cname="gtk_html_image_ref">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="ImageUnref" cname="gtk_html_image_unref">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="ImagesRef" cname="gtk_html_images_ref">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="ImagesUnref" cname="gtk_html_images_unref">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="IndentPopLevel" cname="gtk_html_indent_pop_level">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="IndentPushLevel" cname="gtk_html_indent_push_level">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="HTMLListType" name="level_type"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="InsertGtkHtml" cname="gtk_html_insert_gtk_html">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="to_be_destroyed"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="InsertHtml" cname="gtk_html_insert_html">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="html_src"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="JumpToAnchor" cname="gtk_html_jump_to_anchor">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="anchor"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="LoadEmpty" cname="gtk_html_load_empty">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="LoadFromString" cname="gtk_html_load_from_string">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="str"/>
|
|
||||||
<parameter type="gint" name="len"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<constructor cname="gtk_html_new"/>
|
|
||||||
<constructor cname="gtk_html_new_from_string">
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-gchar*" name="Astr"/>
|
|
||||||
<parameter type="gint" name="len"/>
|
|
||||||
</parameters>
|
|
||||||
</constructor>
|
|
||||||
<method name="Paste" cname="gtk_html_paste">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="as_cite"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Print" cname="gtk_html_print" hidden="1">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GnomePrintContext*" name="print_context"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="PrintGetPagesNum" cname="gtk_html_print_get_pages_num" hidden="1">
|
|
||||||
<return-type type="gint"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GnomePrintContext*" name="print_context"/>
|
|
||||||
<parameter type="gdouble" name="header_height"/>
|
|
||||||
<parameter type="gdouble" name="footer_height"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="PrintSetMaster" cname="gtk_html_print_set_master" hidden="1">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GnomePrintJob*" name="print_master"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="PrintWithHeaderFooter" cname="gtk_html_print_with_header_footer" hidden="1">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GnomePrintContext*" name="print_context"/>
|
|
||||||
<parameter type="gdouble" name="header_height"/>
|
|
||||||
<parameter type="gdouble" name="footer_height"/>
|
|
||||||
<parameter type="GtkHTMLPrintCallback" name="header_print"/>
|
|
||||||
<parameter type="GtkHTMLPrintCallback" name="footer_print"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Redo" cname="gtk_html_redo">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="RequestPaste" cname="gtk_html_request_paste">
|
|
||||||
<return-type type="int"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GdkAtom" name="selection"/>
|
|
||||||
<parameter type="gint" name="type"/>
|
|
||||||
<parameter type="gint32" name="time"/>
|
|
||||||
<parameter type="gboolean" name="as_cite"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Save" cname="gtk_html_save">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
|
|
||||||
<parameter type="gpointer" name="data"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SelectAll" cname="gtk_html_select_all">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="SelectLine" cname="gtk_html_select_line">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="SelectParagraph" cname="gtk_html_select_paragraph">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="SelectParagraphExtended" cname="gtk_html_select_paragraph_extended">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="SelectWord" cname="gtk_html_select_word">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="SetAllowFrameset" cname="gtk_html_set_allow_frameset">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="allow"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetAnimate" cname="gtk_html_set_animate">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="animate"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetBase" cname="gtk_html_set_base">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="url"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetBlocking" cname="gtk_html_set_blocking">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="block"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetColor" cname="gtk_html_set_color">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="HTMLColor*" name="color"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetDefaultContentType" cname="gtk_html_set_default_content_type">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gchar*" name="content_type"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetEditable" cname="gtk_html_set_editable">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="editable"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetEditorApi" cname="gtk_html_set_editor_api">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLEditorAPI*" name="api"/>
|
|
||||||
<parameter type="gpointer" name="data"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetFontStyle" cname="gtk_html_set_font_style">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLFontStyle" name="and_mask"/>
|
|
||||||
<parameter type="GtkHTMLFontStyle" name="or_mask"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetIframeParent" cname="gtk_html_set_iframe_parent">
|
|
||||||
<return-type type="gint"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkWidget*" name="parent"/>
|
|
||||||
<parameter type="HTMLObject*" name="frame"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetIndent" cname="gtk_html_set_indent">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GByteArray*" name="levels"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetInlineSpelling" cname="gtk_html_set_inline_spelling">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="inline_spell"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetMagicLinks" cname="gtk_html_set_magic_links">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="magic_links"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetMagicSmileys" cname="gtk_html_set_magic_smileys">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gboolean" name="magic_smileys"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetMagnification" cname="gtk_html_set_magnification">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="gdouble" name="magnification"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetParagraphAlignment" cname="gtk_html_set_paragraph_alignment">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLParagraphAlignment" name="alignment"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetParagraphStyle" cname="gtk_html_set_paragraph_style">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLParagraphStyle" name="style"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="SetTitle" cname="gtk_html_set_title">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="title"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="ToggleFontStyle" cname="gtk_html_toggle_font_style">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLFontStyle" name="style"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Undo" cname="gtk_html_undo">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="UpdateStyles" cname="gtk_html_update_styles">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="Write" cname="gtk_html_write">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStream*" name="handle"/>
|
|
||||||
<parameter type="const-gchar*" name="buffer"/>
|
|
||||||
<parameter type="size_t" name="size"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="ZoomIn" cname="gtk_html_zoom_in">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="ZoomOut" cname="gtk_html_zoom_out">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="ZoomReset" cname="gtk_html_zoom_reset">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
</object>
|
|
||||||
<struct name="HTMLClassProperties" cname="GtkHTMLClassProperties" opaque="true"/>
|
|
||||||
<struct name="HTMLEditorAPI" cname="GtkHTMLEditorAPI">
|
|
||||||
<callback cname="check_word">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="suggestion_request">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="add_to_session">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="add_to_personal">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="command">
|
|
||||||
<return-type type="gboolean"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="event">
|
|
||||||
<return-type type="GValue*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="create_input_line">
|
|
||||||
<return-type type="GtkWidget*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
<callback cname="set_language">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html,"/>
|
|
||||||
</parameters>
|
|
||||||
</callback>
|
|
||||||
</struct>
|
|
||||||
<struct name="HTMLEmbedded" cname="GtkHTMLEmbedded" opaque="true"/>
|
|
||||||
<struct name="HTMLEmbeddedClass" cname="GtkHTMLEmbeddedClass" opaque="true"/>
|
|
||||||
<struct name="HTMLStream" cname="GtkHTMLStream">
|
|
||||||
<field cname="write_func" type="GtkHTMLStreamWriteFunc"/>
|
|
||||||
<field cname="close_func" type="GtkHTMLStreamCloseFunc"/>
|
|
||||||
<field cname="types_func" type="GtkHTMLStreamTypesFunc"/>
|
|
||||||
<field cname="user_data" type="gpointer"/>
|
|
||||||
<method name="Close" cname="gtk_html_stream_close">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Destroy" cname="gtk_html_stream_destroy">
|
|
||||||
<return-type type="void"/>
|
|
||||||
</method>
|
|
||||||
<method name="GetTypes" cname="gtk_html_stream_get_types">
|
|
||||||
<return-type type="char**"/>
|
|
||||||
</method>
|
|
||||||
<method name="LogNew" cname="gtk_html_stream_log_new" shared="true">
|
|
||||||
<return-type type="GtkHTMLStream*"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLStream*" name="stream"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<constructor cname="gtk_html_stream_new">
|
|
||||||
<parameters>
|
|
||||||
<parameter type="GtkHTML*" name="html"/>
|
|
||||||
<parameter type="GtkHTMLStreamTypesFunc" name="type_func"/>
|
|
||||||
<parameter type="GtkHTMLStreamWriteFunc" name="write_func"/>
|
|
||||||
<parameter type="GtkHTMLStreamCloseFunc" name="close_func"/>
|
|
||||||
<parameter type="gpointer" name="user_data"/>
|
|
||||||
</parameters>
|
|
||||||
</constructor>
|
|
||||||
<method name="Printf" cname="gtk_html_stream_printf">
|
|
||||||
<return-type type="int"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="format"/>
|
|
||||||
<parameter ellipsis="true"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Vprintf" cname="gtk_html_stream_vprintf">
|
|
||||||
<return-type type="int"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-char*" name="format"/>
|
|
||||||
<parameter type="va_list" name="ap"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
<method name="Write" cname="gtk_html_stream_write">
|
|
||||||
<return-type type="void"/>
|
|
||||||
<parameters>
|
|
||||||
<parameter type="const-guchar*" name="buffer" array="1"/>
|
|
||||||
<parameter type="size_t" name="size"/>
|
|
||||||
</parameters>
|
|
||||||
</method>
|
|
||||||
</struct>
|
|
||||||
</namespace>
|
|
||||||
</api>
|
</api>
|
||||||
|
|
969
api/gtkhtml-api.xml
Normal file
969
api/gtkhtml-api.xml
Normal file
|
@ -0,0 +1,969 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<api>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
This file was automatically generated.
|
||||||
|
Please DO NOT MODIFY THIS FILE, modify .metadata files instead.
|
||||||
|
|
||||||
|
-->
|
||||||
|
<namespace name="Gtk" library="gtkhtml-3.0">
|
||||||
|
<enum name="HTMLBeginFlags" cname="GtkHTMLBeginFlags" type="flags">
|
||||||
|
<member cname="GTK_HTML_BEGIN_KEEP_SCROLL" name="Scroll" value="1 << 0"/>
|
||||||
|
<member cname="GTK_HTML_BEGIN_KEEP_IMAGES" name="Images" value="1 << 1"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLCommandType" cname="GtkHTMLCommandType" type="enum">
|
||||||
|
<member cname="GTK_HTML_COMMAND_UNDO" name="Undo"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_REDO" name="Redo"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_COPY" name="Copy"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_COPY_AND_DISABLE_SELECTION" name="CopyAndDisableSelection"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CUT" name="Cut"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PASTE" name="Paste"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CUT_LINE" name="CutLine"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_PARAGRAPH" name="InsertParagraph"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_TAB" name="InsertTab"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_RULE" name="InsertRule"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_RULE_PARAM" name="InsertRuleParam"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_IMAGE_PARAM" name="InsertImageParam"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_INDENT_MORE" name="InsertTabOrIndentMore"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_TAB_OR_NEXT_CELL" name="InsertTabOrNextCell"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MAKE_LINK" name="MakeLink"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_REMOVE_LINK" name="RemoveLink"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE" name="Delete"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_BACK" name="DeleteBack"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_BACK_OR_INDENT_DEC" name="DeleteBackOrIndentDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECTION_MODE" name="SelectionMode"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DISABLE_SELECTION" name="DisableSelection"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_BOLD_ON" name="BoldOn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_BOLD_OFF" name="BoldOff"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_BOLD_TOGGLE" name="BoldToggle"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ITALIC_ON" name="ItalicOn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ITALIC_OFF" name="ItalicOff"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ITALIC_TOGGLE" name="ItalicToggle"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_UNDERLINE_ON" name="UnderlineOn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_UNDERLINE_OFF" name="UnderlineOff"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_UNDERLINE_TOGGLE" name="UnderlineToggle"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_STRIKEOUT_ON" name="StrikeoutOn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_STRIKEOUT_OFF" name="StrikeoutOff"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_STRIKEOUT_TOGGLE" name="StrikeoutToggle"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_2" name="SizeMinus2"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_MINUS_1" name="SizeMinus1"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_0" name="SizePlus0"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_1" name="SizePlus1"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_2" name="SizePlus2"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_3" name="SizePlus3"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_PLUS_4" name="SizePlus4"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_INCREASE" name="SizeIncrease"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SIZE_DECREASE" name="SizeDecrease"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ALIGN_LEFT" name="AlignLeft"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ALIGN_CENTER" name="AlignCenter"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ALIGN_RIGHT" name="AlignRight"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INDENT_ZERO" name="IndentZero"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INDENT_INC" name="IndentInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INDENT_INC_OR_NEXT_CELL" name="IndentIncOrNextCell"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INDENT_DEC" name="IndentDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PREV_CELL" name="PrevCell"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INDENT_PARAGRAPH" name="IndentParagraph"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_BREAK_AND_FILL_LINE" name="BreakAndFillLine"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SPACE_AND_FILL_LINE" name="SpaceAndFillLine"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_NORMAL" name="ParagraphStyleNormal"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H1" name="ParagraphStyleH1"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H2" name="ParagraphStyleH2"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H3" name="ParagraphStyleH3"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H4" name="ParagraphStyleH4"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H5" name="ParagraphStyleH5"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_H6" name="ParagraphStyleH6"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ADDRESS" name="ParagraphStyleAddress"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_PRE" name="ParagraphStylePre"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDOTTED" name="ParagraphStyleItemdotted"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMROMAN" name="ParagraphStyleItemroman"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMDIGIT" name="ParagraphStyleItemdigit"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PARAGRAPH_STYLE_ITEMALPHA" name="ParagraphStyleItemalpha"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_UP" name="ModifySelectionUp"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_DOWN" name="ModifySelectionDown"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_LEFT" name="ModifySelectionLeft"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_RIGHT" name="ModifySelectionRight"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEUP" name="ModifySelectionPageup"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PAGEDOWN" name="ModifySelectionPagedown"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOL" name="ModifySelectionBol"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOL" name="ModifySelectionEol"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_BOD" name="ModifySelectionBod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_EOD" name="ModifySelectionEod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_PREV_WORD" name="ModifySelectionPrevWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_MODIFY_SELECTION_NEXT_WORD" name="ModifySelectionNextWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CAPITALIZE_WORD" name="CapitalizeWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_UPCASE_WORD" name="UpcaseWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DOWNCASE_WORD" name="DowncaseWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SPELL_SUGGEST" name="SpellSuggest"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SPELL_PERSONAL_DICTIONARY_ADD" name="SpellPersonalDictionaryAdd"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SPELL_SESSION_DICTIONARY_ADD" name="SpellSessionDictionaryAdd"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SEARCH" name="Search"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_FORWARD" name="SearchIncrementalForward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SEARCH_INCREMENTAL_BACKWARD" name="SearchIncrementalBackward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SEARCH_REGEX" name="SearchRegex"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_FOCUS_FORWARD" name="FocusForward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_FOCUS_BACKWARD" name="FocusBackward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_POPUP_MENU" name="PopupMenu"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_PROPERTIES_DIALOG" name="PropertiesDialog"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_FORWARD" name="CursorForward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_BACKWARD" name="CursorBackward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_INSERT_TABLE_1_1" name="InsertTable11"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_AFTER" name="TableInsertColAfter"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_COL_BEFORE" name="TableInsertColBefore"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_AFTER" name="TableInsertRowAfter"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_INSERT_ROW_BEFORE" name="TableInsertRowBefore"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_COL" name="TableDeleteCol"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_DELETE_ROW" name="TableDeleteRow"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_CSPAN" name="TableCellIncCspan"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_CSPAN" name="TableCellDecCspan"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_INC_RSPAN" name="TableCellIncRspan"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_DEC_RSPAN" name="TableCellDecRspan"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_LEFT" name="TableCellJoinLeft"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_RIGHT" name="TableCellJoinRight"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_UP" name="TableCellJoinUp"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_CELL_JOIN_DOWN" name="TableCellJoinDown"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_INC" name="TableBorderWidthInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_DEC" name="TableBorderWidthDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_BORDER_WIDTH_ZERO" name="TableBorderWidthZero"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TEXT_SET_DEFAULT_COLOR" name="TextSetDefaultColor"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECT_WORD" name="SelectWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECT_LINE" name="SelectLine"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH" name="SelectParagraph"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECT_PARAGRAPH_EXTENDED" name="SelectParagraphExtended"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SELECT_ALL" name="SelectAll"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_SAVE" name="CursorPositionSave"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_POSITION_RESTORE" name="CursorPositionRestore"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_BOD" name="CursorBod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CURSOR_EOD" name="CursorEod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_BLOCK_REDRAW" name="BlockRedraw"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_UNBLOCK_REDRAW" name="UnblockRedraw"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ZOOM_IN" name="ZoomIn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ZOOM_OUT" name="ZoomOut"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_ZOOM_RESET" name="ZoomReset"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_INC" name="TableSpacingInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_DEC" name="TableSpacingDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_SPACING_ZERO" name="TableSpacingZero"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_INC" name="TablePaddingInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_DEC" name="TablePaddingDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TABLE_PADDING_ZERO" name="TablePaddingZero"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_TABLE" name="DeleteTable"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_ROW" name="DeleteTableRow"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_COLUMN" name="DeleteTableColumn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_DELETE_TABLE_CELL_CONTENTS" name="DeleteTableCellContents"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_GRAB_FOCUS" name="GrabFocus"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_KILL_WORD" name="KillWord"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_KILL_WORD_BACKWARD" name="KillWordBackward"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_TEXT_COLOR_APPLY" name="TextColorApply"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SAVE_DATA_ON" name="SaveDataOn"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SAVE_DATA_OFF" name="SaveDataOff"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SAVED" name="Saved"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_IS_SAVED" name="IsSaved"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SCROLL_BOD" name="ScrollBod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_SCROLL_EOD" name="ScrollEod"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CELL_CSPAN_INC" name="CellCspanInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CELL_RSPAN_INC" name="CellRspanInc"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CELL_CSPAN_DEC" name="CellCspanDec"/>
|
||||||
|
<member cname="GTK_HTML_COMMAND_CELL_RSPAN_DEC" name="CellRspanDec"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLCursorSkipType" cname="GtkHTMLCursorSkipType" type="enum">
|
||||||
|
<member cname="GTK_HTML_CURSOR_SKIP_ONE" name="One"/>
|
||||||
|
<member cname="GTK_HTML_CURSOR_SKIP_WORD" name="Word"/>
|
||||||
|
<member cname="GTK_HTML_CURSOR_SKIP_PAGE" name="Page"/>
|
||||||
|
<member cname="GTK_HTML_CURSOR_SKIP_ALL" name="All"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLEditorEventType" cname="GtkHTMLEditorEventType" type="enum">
|
||||||
|
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_BEFORE" name="CommandBefore"/>
|
||||||
|
<member cname="GTK_HTML_EDITOR_EVENT_COMMAND_AFTER" name="CommandAfter"/>
|
||||||
|
<member cname="GTK_HTML_EDITOR_EVENT_IMAGE_URL" name="ImageUrl"/>
|
||||||
|
<member cname="GTK_HTML_EDITOR_EVENT_DELETE" name="Delete"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLEtchStyle" cname="GtkHTMLEtchStyle" type="enum">
|
||||||
|
<member cname="GTK_HTML_ETCH_IN" name="In"/>
|
||||||
|
<member cname="GTK_HTML_ETCH_OUT" name="Out"/>
|
||||||
|
<member cname="GTK_HTML_ETCH_NONE" name="None"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLFontStyle" cname="GtkHTMLFontStyle" type="flags">
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_DEFAULT" name="Default"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_1" name="Size1" value="1"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_2" name="Size2" value="2"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_3" name="Size3" value="3"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_4" name="Size4" value="4"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_5" name="Size5" value="5"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_6" name="Size6" value="6"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_7" name="Size7" value="7"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SIZE_MASK" name="SizeMask" value="0x7"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_BOLD" name="Bold" value="1 << 3"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_ITALIC" name="Italic" value="1 << 4"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_UNDERLINE" name="Underline" value="1 << 5"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_STRIKEOUT" name="Strikeout" value="1 << 6"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_FIXED" name="Fixed" value="1 << 7"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SUBSCRIPT" name="Subscript" value="1 << 8"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SUPERSCRIPT" name="Superscript" value="1 << 9"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLFontStyleShift" cname="GtkHTMLFontStyleShift" type="enum">
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_BOLD" name="Bold" value="3"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_ITALIC" name="Italic" value="4"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_UNDERLINE" name="Underline" value="5"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_STRIKEOUT" name="Strikeout" value="6"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_FIXED" name="Fixed" value="7"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_SUBSCRIPT" name="Subscript" value="8"/>
|
||||||
|
<member cname="GTK_HTML_FONT_STYLE_SHIFT_SUPERSCRIPT" name="Superscript" value="9"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLParagraphAlignment" cname="GtkHTMLParagraphAlignment" type="enum">
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT" name="Left"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT" name="Right"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER" name="Center"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLParagraphStyle" cname="GtkHTMLParagraphStyle" type="enum">
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_NORMAL" name="Normal"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H1" name="H1"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H2" name="H2"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H3" name="H3"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H4" name="H4"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H5" name="H5"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_H6" name="H6"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_ADDRESS" name="Address"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_PRE" name="Pre"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDOTTED" name="Itemdotted"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMROMAN" name="Itemroman"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMDIGIT" name="Itemdigit"/>
|
||||||
|
<member cname="GTK_HTML_PARAGRAPH_STYLE_ITEMALPHA" name="Itemalpha"/>
|
||||||
|
</enum>
|
||||||
|
<enum name="HTMLStreamStatus" cname="GtkHTMLStreamStatus" type="enum">
|
||||||
|
<member cname="GTK_HTML_STREAM_OK" name="Ok"/>
|
||||||
|
<member cname="GTK_HTML_STREAM_ERROR" name="Error"/>
|
||||||
|
</enum>
|
||||||
|
<callback name="HTMLPrintCallback" cname="GtkHTMLPrintCallback" hidden="1">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GnomePrintContext*" name="print_context"/>
|
||||||
|
<parameter type="gdouble" name="x"/>
|
||||||
|
<parameter type="gdouble" name="y"/>
|
||||||
|
<parameter type="gdouble" name="width"/>
|
||||||
|
<parameter type="gdouble" name="height"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback name="HTMLSaveReceiverFn" cname="GtkHTMLSaveReceiverFn">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gpointer" name="engine"/>
|
||||||
|
<parameter type="const-gchar*" name="data"/>
|
||||||
|
<parameter type="size_t" name="len"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback name="HTMLStreamCloseFunc" cname="GtkHTMLStreamCloseFunc">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStream*" name="stream"/>
|
||||||
|
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback name="HTMLStreamTypesFunc" cname="GtkHTMLStreamTypesFunc">
|
||||||
|
<return-type type="char**"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStream*" name="stream"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback name="HTMLStreamWriteFunc" cname="GtkHTMLStreamWriteFunc">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStream*" name="stream"/>
|
||||||
|
<parameter type="const-gchar*" name="buffer"/>
|
||||||
|
<parameter type="size_t" name="size"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<object name="HTML" cname="GtkHTML" parent="GtkLayout">
|
||||||
|
<field cname="iframe_parent" type="GtkWidget*"/>
|
||||||
|
<field cname="frame" type="HTMLObject*"/>
|
||||||
|
<field cname="editor_api" type="GtkHTMLEditorAPI*"/>
|
||||||
|
<field cname="editor_data" type="gpointer"/>
|
||||||
|
<field cname="engine" type="HTMLEngine*"/>
|
||||||
|
<field cname="pointer_url" type="gchar*"/>
|
||||||
|
<field cname="hand_cursor" type="GdkCursor*"/>
|
||||||
|
<field cname="ibeam_cursor" type="GdkCursor*"/>
|
||||||
|
<field cname="selection_x1" type="gint"/>
|
||||||
|
<field cname="selection_y1" type="gint"/>
|
||||||
|
<field cname="in_selection" bits="1" type="guint"/>
|
||||||
|
<field cname="in_selection_drag" bits="1" type="guint"/>
|
||||||
|
<field cname="debug" bits="1" type="guint"/>
|
||||||
|
<field cname="allow_selection" bits="1" type="guint"/>
|
||||||
|
<field cname="hadj_connection" type="guint"/>
|
||||||
|
<field cname="vadj_connection" type="guint"/>
|
||||||
|
<field cname="binding_handled" type="gboolean"/>
|
||||||
|
<field cname="priv" type="GtkHTMLPrivate*"/>
|
||||||
|
<signal name="TitleChanged" cname="title_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="new_title"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="UrlRequested" cname="url_requested" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
<parameter type="GtkHTMLStream*" name="handle"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="LoadDone" cname="load_done" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="LinkClicked" cname="link_clicked" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="SetBase" cname="set_base" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="base_url"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="SetBaseTarget" cname="set_base_target" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="base_url"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="OnUrl" cname="on_url" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="Redirect" cname="redirect" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
<parameter type="int" name="delay"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="Submit" cname="submit" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="const-gchar*" name="method"/>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
<parameter type="const-gchar*" name="encoding"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="ObjectRequested" cname="object_requested" when="LAST">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="*" name=""/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="CurrentParagraphStyleChanged" cname="current_paragraph_style_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLParagraphStyle" name="new_style"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="CurrentParagraphIndentationChanged" cname="current_paragraph_indentation_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="guint" name="new_indentation"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="CurrentParagraphAlignmentChanged" cname="current_paragraph_alignment_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLParagraphAlignment" name="new_alignment"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="InsertionFontStyleChanged" cname="insertion_font_style_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLFontStyle" name="style"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="InsertionColorChanged" cname="insertion_color_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GdkColor*" name="color"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="SizeChanged" cname="size_changed" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="IframeCreated" cname="iframe_created" when="FIRST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTML*" name="iframe"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="Scroll" cname="scroll" when="LAST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkOrientation" name="orientation"/>
|
||||||
|
<parameter type="GtkScrollType" name="scroll_type"/>
|
||||||
|
<parameter type="gfloat" name="position"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="CursorMove" cname="cursor_move" when="LAST">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkDirectionType" name="dir_type"/>
|
||||||
|
<parameter type="GtkHTMLCursorSkipType" name="skip"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<signal name="OnCommand" cname="command" when="LAST">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLCommandType" name="com_type"/>
|
||||||
|
</parameters>
|
||||||
|
</signal>
|
||||||
|
<property name="Editable" cname="editable" type="gboolean" readable="true" writeable="true"/>
|
||||||
|
<property name="Title" cname="title" type="gchar*" readable="true" writeable="true"/>
|
||||||
|
<property name="DocumentBase" cname="document_base" type="gchar*" readable="true" writeable="true"/>
|
||||||
|
<property name="TargetBase" cname="target_base" type="gchar*" readable="true" writeable="true"/>
|
||||||
|
<method name="AllowSelection" cname="gtk_html_allow_selection">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="allow"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="AppendHtml" cname="gtk_html_append_html">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="html_src"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Begin" cname="gtk_html_begin">
|
||||||
|
<return-type type="GtkHTMLStream*"/>
|
||||||
|
</method>
|
||||||
|
<method name="Begin" cname="gtk_html_begin_content">
|
||||||
|
<return-type type="GtkHTMLStream*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gchar*" name="content_type"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Begin" cname="gtk_html_begin_full">
|
||||||
|
<return-type type="GtkHTMLStream*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="char*" name="target_frame"/>
|
||||||
|
<parameter type="char*" name="content_type"/>
|
||||||
|
<parameter type="GtkHTMLBeginFlags" name="flags"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Command" cname="gtk_html_command">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="command_name"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Construct" cname="gtk_html_construct" shared="true">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkWidget*" name="html"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Copy" cname="gtk_html_copy">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="Cut" cname="gtk_html_cut">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="DropUndo" cname="gtk_html_drop_undo">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="EditMakeCursorVisible" cname="gtk_html_edit_make_cursor_visible">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="EnableDebug" cname="gtk_html_enable_debug">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="debug"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="End" cname="gtk_html_end">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStream*" name="handle"/>
|
||||||
|
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Export" cname="gtk_html_export">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="type"/>
|
||||||
|
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
|
||||||
|
<parameter type="gpointer" name="data"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="GetAllowFrameset" cname="gtk_html_get_allow_frameset">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetAnimate" cname="gtk_html_get_animate">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetBase" cname="gtk_html_get_base">
|
||||||
|
<return-type type="const-char*"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetEditable" cname="gtk_html_get_editable">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetInlineSpelling" cname="gtk_html_get_inline_spelling">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetMagicLinks" cname="gtk_html_get_magic_links">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetMagicSmileys" cname="gtk_html_get_magic_smileys">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetObjectById" cname="gtk_html_get_object_by_id">
|
||||||
|
<return-type type="gpointer"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="id"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="GetParagraphAlignment" cname="gtk_html_get_paragraph_alignment">
|
||||||
|
<return-type type="GtkHTMLParagraphAlignment"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetParagraphIndentation" cname="gtk_html_get_paragraph_indentation">
|
||||||
|
<return-type type="guint"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetParagraphStyle" cname="gtk_html_get_paragraph_style">
|
||||||
|
<return-type type="GtkHTMLParagraphStyle"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetTitle" cname="gtk_html_get_title">
|
||||||
|
<return-type type="const-gchar*"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetType" cname="gtk_html_get_type" shared="true">
|
||||||
|
<return-type type="GtkType"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetUrlBaseRelative" cname="gtk_html_get_url_base_relative">
|
||||||
|
<return-type type="char*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="GetUrlObjectRelative" cname="gtk_html_get_url_object_relative">
|
||||||
|
<return-type type="char*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="HTMLObject*" name="o"/>
|
||||||
|
<parameter type="const-char*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="HasUndo" cname="gtk_html_has_undo">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
</method>
|
||||||
|
<method name="ImagePreload" cname="gtk_html_image_preload">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ImageRef" cname="gtk_html_image_ref">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ImageUnref" cname="gtk_html_image_unref">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ImagesRef" cname="gtk_html_images_ref">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="ImagesUnref" cname="gtk_html_images_unref">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="IndentPopLevel" cname="gtk_html_indent_pop_level">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="IndentPushLevel" cname="gtk_html_indent_push_level">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="HTMLListType" name="level_type"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="InsertGtkHtml" cname="gtk_html_insert_gtk_html">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="to_be_destroyed"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="InsertHtml" cname="gtk_html_insert_html">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="html_src"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="JumpToAnchor" cname="gtk_html_jump_to_anchor">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="anchor"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="LoadEmpty" cname="gtk_html_load_empty">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="LoadFromString" cname="gtk_html_load_from_string">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="str"/>
|
||||||
|
<parameter type="gint" name="len"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<constructor cname="gtk_html_new"/>
|
||||||
|
<constructor cname="gtk_html_new_from_string">
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-gchar*" name="Astr"/>
|
||||||
|
<parameter type="gint" name="len"/>
|
||||||
|
</parameters>
|
||||||
|
</constructor>
|
||||||
|
<method name="Paste" cname="gtk_html_paste">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="as_cite"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Print" cname="gtk_html_print" hidden="1">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GnomePrintContext*" name="print_context"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="PrintGetPagesNum" cname="gtk_html_print_get_pages_num" hidden="1">
|
||||||
|
<return-type type="gint"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GnomePrintContext*" name="print_context"/>
|
||||||
|
<parameter type="gdouble" name="header_height"/>
|
||||||
|
<parameter type="gdouble" name="footer_height"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="PrintSetMaster" cname="gtk_html_print_set_master" hidden="1">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GnomePrintJob*" name="print_master"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="PrintWithHeaderFooter" cname="gtk_html_print_with_header_footer" hidden="1">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GnomePrintContext*" name="print_context"/>
|
||||||
|
<parameter type="gdouble" name="header_height"/>
|
||||||
|
<parameter type="gdouble" name="footer_height"/>
|
||||||
|
<parameter type="GtkHTMLPrintCallback" name="header_print"/>
|
||||||
|
<parameter type="GtkHTMLPrintCallback" name="footer_print"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Redo" cname="gtk_html_redo">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="RequestPaste" cname="gtk_html_request_paste">
|
||||||
|
<return-type type="int"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GdkAtom" name="selection"/>
|
||||||
|
<parameter type="gint" name="type"/>
|
||||||
|
<parameter type="gint32" name="time"/>
|
||||||
|
<parameter type="gboolean" name="as_cite"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Save" cname="gtk_html_save">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLSaveReceiverFn" name="receiver"/>
|
||||||
|
<parameter type="gpointer" name="data"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SelectAll" cname="gtk_html_select_all">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="SelectLine" cname="gtk_html_select_line">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="SelectParagraph" cname="gtk_html_select_paragraph">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="SelectParagraphExtended" cname="gtk_html_select_paragraph_extended">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="SelectWord" cname="gtk_html_select_word">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="SetAllowFrameset" cname="gtk_html_set_allow_frameset">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="allow"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetAnimate" cname="gtk_html_set_animate">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="animate"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetBase" cname="gtk_html_set_base">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="url"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetBlocking" cname="gtk_html_set_blocking">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="block"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetColor" cname="gtk_html_set_color">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="HTMLColor*" name="color"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetDefaultContentType" cname="gtk_html_set_default_content_type">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gchar*" name="content_type"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetEditable" cname="gtk_html_set_editable">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="editable"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetEditorApi" cname="gtk_html_set_editor_api">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLEditorAPI*" name="api"/>
|
||||||
|
<parameter type="gpointer" name="data"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetFontStyle" cname="gtk_html_set_font_style">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLFontStyle" name="and_mask"/>
|
||||||
|
<parameter type="GtkHTMLFontStyle" name="or_mask"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetIframeParent" cname="gtk_html_set_iframe_parent">
|
||||||
|
<return-type type="gint"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkWidget*" name="parent"/>
|
||||||
|
<parameter type="HTMLObject*" name="frame"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetIndent" cname="gtk_html_set_indent">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GByteArray*" name="levels"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetInlineSpelling" cname="gtk_html_set_inline_spelling">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="inline_spell"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetMagicLinks" cname="gtk_html_set_magic_links">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="magic_links"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetMagicSmileys" cname="gtk_html_set_magic_smileys">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gboolean" name="magic_smileys"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetMagnification" cname="gtk_html_set_magnification">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="gdouble" name="magnification"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetParagraphAlignment" cname="gtk_html_set_paragraph_alignment">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLParagraphAlignment" name="alignment"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetParagraphStyle" cname="gtk_html_set_paragraph_style">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLParagraphStyle" name="style"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="SetTitle" cname="gtk_html_set_title">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="title"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ToggleFontStyle" cname="gtk_html_toggle_font_style">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLFontStyle" name="style"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Undo" cname="gtk_html_undo">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="UpdateStyles" cname="gtk_html_update_styles">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="Write" cname="gtk_html_write">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStream*" name="handle"/>
|
||||||
|
<parameter type="const-gchar*" name="buffer"/>
|
||||||
|
<parameter type="size_t" name="size"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="ZoomIn" cname="gtk_html_zoom_in">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="ZoomOut" cname="gtk_html_zoom_out">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="ZoomReset" cname="gtk_html_zoom_reset">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
</object>
|
||||||
|
<struct name="HTMLClassProperties" cname="GtkHTMLClassProperties" opaque="true"/>
|
||||||
|
<struct name="HTMLEditorAPI" cname="GtkHTMLEditorAPI">
|
||||||
|
<callback cname="check_word">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="suggestion_request">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="add_to_session">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="add_to_personal">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="command">
|
||||||
|
<return-type type="gboolean"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="event">
|
||||||
|
<return-type type="GValue*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="create_input_line">
|
||||||
|
<return-type type="GtkWidget*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
<callback cname="set_language">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html,"/>
|
||||||
|
</parameters>
|
||||||
|
</callback>
|
||||||
|
</struct>
|
||||||
|
<struct name="HTMLEmbedded" cname="GtkHTMLEmbedded" opaque="true"/>
|
||||||
|
<struct name="HTMLEmbeddedClass" cname="GtkHTMLEmbeddedClass" opaque="true"/>
|
||||||
|
<struct name="HTMLStream" cname="GtkHTMLStream">
|
||||||
|
<field cname="write_func" type="GtkHTMLStreamWriteFunc"/>
|
||||||
|
<field cname="close_func" type="GtkHTMLStreamCloseFunc"/>
|
||||||
|
<field cname="types_func" type="GtkHTMLStreamTypesFunc"/>
|
||||||
|
<field cname="user_data" type="gpointer"/>
|
||||||
|
<method name="Close" cname="gtk_html_stream_close">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTMLStreamStatus" name="status"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Destroy" cname="gtk_html_stream_destroy">
|
||||||
|
<return-type type="void"/>
|
||||||
|
</method>
|
||||||
|
<method name="GetTypes" cname="gtk_html_stream_get_types">
|
||||||
|
<return-type type="char**"/>
|
||||||
|
</method>
|
||||||
|
<method name="LogNew" cname="gtk_html_stream_log_new" shared="true">
|
||||||
|
<return-type type="GtkHTMLStream*"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLStream*" name="stream"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<constructor cname="gtk_html_stream_new">
|
||||||
|
<parameters>
|
||||||
|
<parameter type="GtkHTML*" name="html"/>
|
||||||
|
<parameter type="GtkHTMLStreamTypesFunc" name="type_func"/>
|
||||||
|
<parameter type="GtkHTMLStreamWriteFunc" name="write_func"/>
|
||||||
|
<parameter type="GtkHTMLStreamCloseFunc" name="close_func"/>
|
||||||
|
<parameter type="gpointer" name="user_data"/>
|
||||||
|
</parameters>
|
||||||
|
</constructor>
|
||||||
|
<method name="Printf" cname="gtk_html_stream_printf">
|
||||||
|
<return-type type="int"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="format"/>
|
||||||
|
<parameter ellipsis="true"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Vprintf" cname="gtk_html_stream_vprintf">
|
||||||
|
<return-type type="int"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-char*" name="format"/>
|
||||||
|
<parameter type="va_list" name="ap"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
<method name="Write" cname="gtk_html_stream_write">
|
||||||
|
<return-type type="void"/>
|
||||||
|
<parameters>
|
||||||
|
<parameter type="const-guchar*" name="buffer" array="1"/>
|
||||||
|
<parameter type="size_t" name="size"/>
|
||||||
|
</parameters>
|
||||||
|
</method>
|
||||||
|
</struct>
|
||||||
|
</namespace>
|
||||||
|
</api>
|
|
@ -6,6 +6,7 @@ BASE_DEPENDENCIES_CFLAGS = @BASE_DEPENDENCIES_CFLAGS@
|
||||||
SCRIPTS = \
|
SCRIPTS = \
|
||||||
gapi.pl \
|
gapi.pl \
|
||||||
gapi_pp.pl \
|
gapi_pp.pl \
|
||||||
|
gapi-parser \
|
||||||
gapi2xml.pl
|
gapi2xml.pl
|
||||||
|
|
||||||
MODULES=GAPI/Metadata.pm
|
MODULES=GAPI/Metadata.pm
|
||||||
|
|
65
parser/gapi-parser
Executable file
65
parser/gapi-parser
Executable file
|
@ -0,0 +1,65 @@
|
||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
use XML::LibXML;
|
||||||
|
|
||||||
|
die "Usage: gapi-parser <xml_sources_file>\n" if (!$ARGV[0]);
|
||||||
|
|
||||||
|
my $parser = new XML::LibXML;
|
||||||
|
my $doc = $parser->parse_file($ARGV[0]);
|
||||||
|
die "Unable to parse input file $ARGV[0].\n" if (!$doc);
|
||||||
|
my $root = $doc->documentElement;
|
||||||
|
die "Improperly formatted input file $ARGV[0].\n" if (!$root || $root->nodeName ne "gapi-parser-input");
|
||||||
|
|
||||||
|
for ($apinode = $root->firstChild; $apinode; $apinode = $apinode->nextSibling ()) {
|
||||||
|
next if ($apinode->nodeName ne "api");
|
||||||
|
@attrs = $apinode->attributes;
|
||||||
|
my ($outfile);
|
||||||
|
foreach $attr (@attrs) {
|
||||||
|
if ($attr->name eq "filename") {
|
||||||
|
$outfile = $attr->value;
|
||||||
|
} else {
|
||||||
|
die "Unexpected attribute $attr->name\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
unlink "$outfile.pre";
|
||||||
|
|
||||||
|
for ($libnode = $apinode->firstChild; $libnode; $libnode = $libnode->nextSibling ()) {
|
||||||
|
next if ($libnode->nodeName ne "library");
|
||||||
|
@attrs = $libnode->attributes;
|
||||||
|
my ($lib);
|
||||||
|
foreach $attr (@attrs) {
|
||||||
|
if ($attr->name eq "name") {
|
||||||
|
$lib = $attr->value;
|
||||||
|
} else {
|
||||||
|
die "Unexpected attribute $attr->name\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($nsnode = $libnode->firstChild; $nsnode; $nsnode = $nsnode->nextSibling ()) {
|
||||||
|
next if ($nsnode->nodeName ne "namespace");
|
||||||
|
@attrs = $nsnode->attributes;
|
||||||
|
my ($ns);
|
||||||
|
foreach $attr (@attrs) {
|
||||||
|
if ($attr->name eq "name") {
|
||||||
|
$ns = $attr->value;
|
||||||
|
} else {
|
||||||
|
die "Unexpected attribute $attr->name\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for ($srcnode = $nsnode->firstChild; $srcnode; $srcnode = $srcnode->nextSibling ()) {
|
||||||
|
next if ($srcnode->nodeName ne "dir");
|
||||||
|
my ($dir);
|
||||||
|
$dir = $srcnode->firstChild->nodeValue;
|
||||||
|
print "$dir\n";
|
||||||
|
`ls $dir`;
|
||||||
|
system ("gapi_pp.pl $dir | gapi2xml.pl $ns $outfile.pre $lib");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
system ("gapi_format_xml $outfile.pre $outfile");
|
||||||
|
unlink "$outfile.pre";
|
||||||
|
}
|
||||||
|
|
112
sources/gtk-sharp-sources.xml
Normal file
112
sources/gtk-sharp-sources.xml
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
<gapi-parser-input>
|
||||||
|
<api filename="../api/atk-api.xml">
|
||||||
|
<library name="libatk-1.0-0.dll">
|
||||||
|
<namespace name="Atk">
|
||||||
|
<dir>atk-1.2.4/atk</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/pango-api.xml">
|
||||||
|
<library name="libpango-1.0-0.dll">
|
||||||
|
<namespace name="Pango">
|
||||||
|
<dir>pango-1.2.3/pango</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gdk-api.xml">
|
||||||
|
<library name="libgdk-win32-2.0-0.dll">
|
||||||
|
<namespace name="Gdk">
|
||||||
|
<dir>gtk+-2.2.2/gdk</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
<library name="libgdk_pixbuf-2.0-0.dll">
|
||||||
|
<namespace name="Gdk">
|
||||||
|
<dir>gtk+-2.2.2/gdk-pixbuf</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gtk-api.xml">
|
||||||
|
<library name="libgtk-win32-2.0-0.dll">
|
||||||
|
<namespace name="Gtk">
|
||||||
|
<dir>gtk+-2.2.2/gtk</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gnome-api.xml">
|
||||||
|
<library name="gnome-2">
|
||||||
|
<namespace name="Gnome">
|
||||||
|
<dir>libgnome-2.2.3/libgnome</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
<library name="gnomecanvas-2">
|
||||||
|
<namespace name="Gnome">
|
||||||
|
<dir>libgnomecanvas-2.2.1/libgnomecanvas</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
<library name="gnomeui-2">
|
||||||
|
<namespace name="Gnome">
|
||||||
|
<dir>libgnomeui-2.2.2/libgnomeui</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
<library name="gnomeprint-2-2">
|
||||||
|
<namespace name="Gnome">
|
||||||
|
<dir>libgnomeprint-2.2.1.3/libgnomeprint</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
<library name="gnomeprintui-2-2">
|
||||||
|
<namespace name="Gnome">
|
||||||
|
<dir>libgnomeprintui-2.2.1.3/libgnomeprintui</dir>
|
||||||
|
<dir>libgnomeprintui-2.2.1.3/libgnomeprintui/gpaui</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gtkhtml-api.xml">
|
||||||
|
<library name="gtkhtml-3.0">
|
||||||
|
<namespace name="Gtk">
|
||||||
|
<dir>gtkhtml-3.0.8/src</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/glade-api.xml">
|
||||||
|
<library name="libglade-2.0-0.dll">
|
||||||
|
<namespace name="Glade">
|
||||||
|
<dir>libglade-2.0.0/glade</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/art-api.xml">
|
||||||
|
<library name="art_lgpl">
|
||||||
|
<namespace name="Art">
|
||||||
|
<dir>libart_lgpl-2.3.10</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gda-api.xml">
|
||||||
|
<library name="gda-2">
|
||||||
|
<namespace name="Gda">
|
||||||
|
<dir>libgda-1.0.0/libgda</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gnomedb-api.xml">
|
||||||
|
<library name="gnomedb-2">
|
||||||
|
<namespace name="GnomeDb">
|
||||||
|
<dir>libgnomedb-1.0.0/libgnomedb</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/gst-api.xml">
|
||||||
|
<library name="gstreamer">
|
||||||
|
<namespace name="Gst">
|
||||||
|
<dir>gstreamer-0.4.2/gst</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
<api filename="../api/rsvg-api.xml">
|
||||||
|
<library name="rsvg-2">
|
||||||
|
<namespace name="Rsvg">
|
||||||
|
<dir>librsvg-2.2.5</dir>
|
||||||
|
</namespace>
|
||||||
|
</library>
|
||||||
|
</api>
|
||||||
|
</gapi-parser-input>
|
|
@ -1,18 +0,0 @@
|
||||||
atk-1.2.4/atk Atk libatk-1.0-0.dll
|
|
||||||
pango-1.2.3/pango Pango libpango-1.0-0.dll
|
|
||||||
gtk+-2.2.2/gdk Gdk libgdk-win32-2.0-0.dll
|
|
||||||
gtk+-2.2.2/gdk-pixbuf Gdk libgdk_pixbuf-2.0-0.dll
|
|
||||||
gtk+-2.2.2/gtk Gtk libgtk-win32-2.0-0.dll
|
|
||||||
libgnome-2.2.3/libgnome Gnome gnome-2
|
|
||||||
libgnomecanvas-2.2.1/libgnomecanvas Gnome gnomecanvas-2
|
|
||||||
libgnomeui-2.2.2/libgnomeui Gnome gnomeui-2
|
|
||||||
libgnomeprint-2.2.1.3/libgnomeprint Gnome gnomeprint-2-2
|
|
||||||
libgnomeprintui-2.2.1.3/libgnomeprintui Gnome gnomeprintui-2-2
|
|
||||||
libgnomeprintui-2.2.1.3/libgnomeprintui/gpaui Gnome gnomeprintui-2-2
|
|
||||||
gtkhtml-3.0.8/src Gtk gtkhtml-3.0
|
|
||||||
libglade-2.0.0/glade Glade libglade-2.0-0.dll
|
|
||||||
libart_lgpl-2.3.10 Art art_lgpl
|
|
||||||
libgda-1.0.0/libgda Gda gda-2
|
|
||||||
libgnomedb-1.0.0/libgnomedb GnomeDb gnomedb-2
|
|
||||||
gstreamer-0.4.2/gst Gst gstreamer
|
|
||||||
librsvg-2.2.5 Rsvg rsvg-2
|
|
|
@ -23,7 +23,7 @@ GTKHTML_SOURCES = \
|
||||||
gtkhtml-3.0.8/src/gtkhtml-stream.h
|
gtkhtml-3.0.8/src/gtkhtml-stream.h
|
||||||
|
|
||||||
all:
|
all:
|
||||||
PERLLIB=../parser PATH=../parser:$$PATH ../parser/gapi.pl gtk-sharp.sources ../api
|
PERLLIB=../parser PATH=../parser:$$PATH ../parser/gapi-parser gtk-sharp-sources.xml
|
||||||
|
|
||||||
get-gtkhtml-code:
|
get-gtkhtml-code:
|
||||||
wget http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.0/gtkhtml-3.0.8.tar.gz --output-document=- | tar -xz $(GTKHTML_SOURCES)
|
wget http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.0/gtkhtml-3.0.8.tar.gz --output-document=- | tar -xz $(GTKHTML_SOURCES)
|
||||||
|
|
Loading…
Reference in a new issue