... 465 The Server 466 Smart_FMf.qxd xx 6/10/05 1:52 PM Page xx Contents Connecting to a Server ... 472 Creating a Server 472 wxSocketServer Major Member Functions 472 Handling a ... basic socket processing; connecting to a server; socket events; socket status and error notifications; sending and receiving socket data; creating a server; socket event recap; socket flags;...
Ngày tải lên: 17/03/2014, 13:20
Ngày tải lên: 17/10/2013, 19:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P3
... surrounding the grid in a basic window root element 3.5 Words and Pictures The text widgets described here are used to label other widgets, or simply to display messages or instructions to the...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P4
... the Mozilla user interface but defined in a centralized file 3.7.1 Broadcaster and Observers Broadcasters and observers are a mechanism for making any number of elements aware of state and event ... different elements in your application that execute the same function, for example, the command and observer system is the ideal way to facilitate reuse Or you can use command sets to define command ... types Mozilla provides more than the standard "click" and "go" buttons in its toolkit Table 3-3 describes the various button types in Mozilla Table 3-3 Button types Type Usage Description Menu integrated...
Ngày tải lên: 20/10/2013, 09:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P5
... to go one step further and use the format -moz-box-pack These special extensions to CSS are described in the section Section 4.2.3 in Chapter The most commonly used attributes are orient, align, ... ways: • By placing the top and left attributes directly on the tags • By setting them via stylesheets using the CSS properties top and left • By using DOM calls in your script Here is some script ... positioning elements in the box model Example 3-20 Flexible buttons
Ngày tải lên: 24/10/2013, 08:15
Creating Applications with Mozilla-Chapter 3. XUL Elements and Features- P6
... xFly application main workspace
Ngày tải lên: 24/10/2013, 08:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P1
... the XUL file to load the CSS stylesheet information, or skin, into the XUL Note that the XUL stylesheet loading supports the use of ... separate from style matters as possible 4.2.2 Stylesheet Syntax Cascading Style Sheets are the blueprints for Mozilla skins In Cascading Style Sheets, style definitions take the following basic ... lower, more basic files like xul.css describe the look and feel of common UI elements such as buttons and menus, and higher-level CSS files consistently describe the layout and stylistic details...
Ngày tải lên: 28/10/2013, 15:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P2
... notions of precedence as Cascading Style Sheets (the ID-based style trumps the class-based style, inline style attributes trump those loaded from an external stylesheet, etc.), you may need to identify ... within an "image sheet" that should be used as an icon in the user interface The -mozimage- following CSS style definition specifies the top- and leftmost button in the btn1.gif image sheet used in ... default skins, these image sheets are found only in the Modern skin They are gradually making their way into the skins; as of this writing, there are three or four image sheets in the Modern skin...
Ngày tải lên: 28/10/2013, 15:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P3
... button stylesheet inclusion from the XBL file button.xml as a case in point: Here the XBL specific element ... This structure is described in the Section 4.3.2 section later in this chapter 4.3.1.1 Skin inheritance and skin modularization For the sake of discussion, this book describes two kinds of inheritance: ... all the differences in the browser's look and behavior 4.3.4 Skin Files Obviously, we cannot describe even a fraction of the CSS files that go into making up a single, overall theme There are,...
Ngày tải lên: 07/11/2013, 09:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P4
... subdirectory, and load it from your xfly.xul file by adding the following stylesheet loading instruction at the top: You will recall that ... screenshot of that XUL file with an instruction for loading your own stylesheet, which in turn imports the global skin: The CSS ... start To this, verify that you have the following line at the top of the xfly.xul file: If you not have this line, add it now to the...
Ngày tải lên: 07/11/2013, 09:15
Creating Applications with Mozilla-Chapter 4. CSS in Mozilla Applications-P5
... stylesheets in XBL can be found in Chapter 4.5.2 User Stylesheets In addition to the many CSS stylesheets that give the user interface its look, Mozilla also lets you create personal stylesheets ... url("chrome://xfly/skin/btnflyhov.gif "); } 4.4.4 Describing the Skin in RDF As described in Chapter 6, a manifest must accompany and describe the skin so it can be found and registered The manifest ... 4-13 that this binding pulls in an external stylesheet (toolbarbutton.css), which is contained in the section of the binding This stylesheet provides all the styles and theme information...
Ngày tải lên: 07/11/2013, 09:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P1 doc
... multiple interfaces, including Node, NodeList, Element, and Document The following sections describe some interface methods used to manipulate the object model of application chrome, documents,...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P2 ppt
... scripts into the UI, one of the most common methods is to use Mozilla's event model, which is described in the next few sections 5.3.1 Handling Events from a XUL Element Events are input messages ... a natural process referred to as event propagation or event bubbling The next two sections describe event propagation and its complement, event capturing 5.3.2.1 Event propagation and event...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P3 docx
... generate a menu dynamically Example 5-9 Dynamic menu generation
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 5. Scripting Mozilla- P4 docx
... Chapter describes more about the XPConnect technology and how it connects components to the interface It also describes the components themselves and their interfaces, ... source files such as file.js, dir.js, and fileUtils.js Table 5-1 describes the basic classes in the JSLib package's I/O module and describes how they are used Table 5-1 JSLib classes Class / (filename) ... data can be accessed from XPConnect (using JavaScript) This kind of application programming is described in Chapter 8, which includes examples of creating new interfaces, implementing them in JavaScript...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P1 docx
... package manifest that describes a new locale, as shown in Example 6-3 (which is for a German language pack in Mozilla), you see a similar structure Again, the manifest describes the new package ... manifests the contents.rdf file, which typically describes a single package-component relationship; and the manifest.rdf file, which describes the package's relationship to all affected components ... manifest must describe these parts of your application if Mozilla is to find and register them properly Example 6-4, the package manifest from the XMLTerm Mozilla extension, describes the contents,...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P2 ppt
... use the file format and installation information to make the xFly something you can put on a web server and have users install with a single click on a web page 6.2.4 The Chrome Registry The chrome ... skins, and other resources At the beginning of the book, you had to create RDF files that would describe your application to Mozilla Special entries also needed to be made to the installed-chrome.txt ... installed-chrome.txt file to get what you need from the registry Procedures for doing so are described in the section Section 6.2.2 earlier in this chapter, and in the section Section 6.3.2 later...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 6. Packaging and Installing Applications-P3 pdf
... initiate the installation of that XPI As with any new software installation, however, a page that describes the package and what it does can help allay fears and promote use 6.5 Extra Tricks for Customizing...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 7. Extending the UI with XBL- P1 pptx
... between XBL bindings and Java objects 7.1.1 XBL Terminology The following terms are used to describe XBL and its use in the XPFE: XBL An acronym for the eXtensible Binding Language In some contexts, ... doesn't recognize, so this new element won't be rendered until you add information to the stylesheet; a binding is attached with the special -moz-binding attribute The style selector must be...
Ngày tải lên: 14/12/2013, 12:15
Tài liệu Creating Applications with Mozilla-Chapter 7. Extending the UI with XBL- P2 pptx
... own stylesheet like this: Notice the container element, which is a prerequisite for this feature The use of stylesheets in ... constructor and destructor, of which there can be only zero or one The rest of this section describes each binding implementation component in more detail 7.3.1 Binding Methods Bindings can exist...
Ngày tải lên: 14/12/2013, 12:15