C# Class Monodoc.Browser

显示文件 Open project: remobjects/mono-tools Class Usage Examples

Public Properties

Property Type Description
CurrentTab Tab
CurrentUrl string
MainWindow Gtk.Window
bookList ArrayList
capabilities Capabilities
context_id uint
engine string
index_entry Entry
tabs_nb Notebook
tree_browser TreeBrowser

Public Methods

Method Description
Browser ( string basedir, IEnumerable sources, string engine ) : Gtk
GetHtml ( string url, HelpSource help_source, RootTree help_tree ) : string
GetHtml ( string url, HelpSource help_source, RootTree help_tree, Node &match ) : string
GetResourceImage ( string name ) : Stream
LinkClicked ( object o, EventArgs args ) : void
LoadUrl ( string url ) : void
OnCloseTab ( object sender, EventArgs a ) : void
OnIndexEntryActivated ( object sender, EventArgs a ) : void
OnIndexEntryChanged ( object sender, EventArgs a ) : void
OnIndexEntryFocused ( object sender, EventArgs a ) : void
OnIndexEntryKeyPress ( object o, KeyPressEventArgs args ) : void
OnUrlMouseOver ( object o, EventArgs args ) : void
Render ( string text, Node matched_node, string url ) : void

Private Methods

Method Description
AddTab ( ) : void
BarStyleSet ( object obj, Gtk.StyleSetArgs args ) : void
ChangeTab ( object o, Gtk.SwitchPageArgs args ) : void
CloseTab ( ) : void
CreateSearchPanel ( ) : void
DoHighlightText ( string text ) : string
DoUpload ( ) : void
InitMacAppHandlers ( ) : void
InstallMacMainMenu ( ) : void
LostFocus ( object sender, FocusOutEventArgs a ) : void
OnAboutActivate ( object sender, EventArgs a ) : void
OnCollapseActivate ( object o, EventArgs args ) : void
OnCommentsActivate ( object o, EventArgs args ) : void
OnContributionStatistics ( object sender, EventArgs a ) : void
OnCopyActivate ( object sender, EventArgs a ) : void
OnCutActivate ( object sender, EventArgs a ) : void
OnEditingActivate ( object o, EventArgs args ) : void
OnInheritedMembersActivate ( object o, EventArgs args ) : void
OnLookupURL ( object sender, EventArgs a ) : void
OnNewComment ( object sender, EventArgs a ) : void
OnNewTab ( object sender, EventArgs a ) : void
OnPasteActivate ( object sender, EventArgs a ) : void
OnQuitActivate ( object sender, EventArgs a ) : void
OnSearchActivated ( object sender, EventArgs a ) : void
OnSelectAllActivate ( object sender, EventArgs a ) : void
OnUpload ( object sender, EventArgs a ) : void
Reload ( ) : void
ShowSearchResult ( object sender, EventArgs a ) : void
TextLarger ( object obj, EventArgs args ) : void
TextNormal ( object obj, EventArgs args ) : void
TextSmaller ( object obj, EventArgs args ) : void
delete_event_cb ( object o, DeleteEventArgs args ) : void
keypress_event_cb ( object o, KeyPressEventArgs args ) : void
keyrelease_event_cb ( object o, KeyReleaseEventArgs args ) : void
on_print_activate ( object sender, EventArgs e ) : void

Method Details

Browser() public method

public Browser ( string basedir, IEnumerable sources, string engine ) : Gtk
basedir string
sources IEnumerable
engine string
return Gtk

GetHtml() public static method

public static GetHtml ( string url, HelpSource help_source, RootTree help_tree ) : string
url string
help_source HelpSource
help_tree RootTree
return string

GetHtml() public static method

public static GetHtml ( string url, HelpSource help_source, RootTree help_tree, Node &match ) : string
url string
help_source HelpSource
help_tree RootTree
match Node
return string

GetResourceImage() public method

public GetResourceImage ( string name ) : Stream
name string
return Stream

LinkClicked() public method

public LinkClicked ( object o, EventArgs args ) : void
o object
args EventArgs
return void

LoadUrl() public method

public LoadUrl ( string url ) : void
url string
return void

OnCloseTab() public method

public OnCloseTab ( object sender, EventArgs a ) : void
sender object
a EventArgs
return void

OnIndexEntryActivated() public method

public OnIndexEntryActivated ( object sender, EventArgs a ) : void
sender object
a EventArgs
return void

OnIndexEntryChanged() public method

public OnIndexEntryChanged ( object sender, EventArgs a ) : void
sender object
a EventArgs
return void

OnIndexEntryFocused() public method

public OnIndexEntryFocused ( object sender, EventArgs a ) : void
sender object
a EventArgs
return void

OnIndexEntryKeyPress() public method

public OnIndexEntryKeyPress ( object o, KeyPressEventArgs args ) : void
o object
args KeyPressEventArgs
return void

OnUrlMouseOver() public method

public OnUrlMouseOver ( object o, EventArgs args ) : void
o object
args EventArgs
return void

Render() public method

public Render ( string text, Node matched_node, string url ) : void
text string
matched_node Node
url string
return void

Property Details

CurrentTab public_oe property

public Tab,Monodoc CurrentTab
return Tab

CurrentUrl public_oe property

public string CurrentUrl
return string

MainWindow public_oe property

public Window,Gtk MainWindow
return Gtk.Window

bookList public_oe property

public ArrayList bookList
return ArrayList

capabilities public_oe property

public Capabilities capabilities
return Capabilities

context_id public_oe property

public uint context_id
return uint

engine public_oe property

public string engine
return string

index_entry public_oe property

public Entry index_entry
return Entry

tabs_nb public_oe property

public Notebook tabs_nb
return Notebook

tree_browser public_oe property

public TreeBrowser tree_browser
return TreeBrowser