100+ results for 'kivy window size'
Not the results you expected?
nethack.css (https://github.com/kaladron/nethack-nacl.git) CSS · 342 lines
client_intro.html (https://github.com/narpaldhillon/flowgram.com.git) HTML · 204 lines
install.props (https://jedit.svn.sourceforge.net/svnroot/jedit) Unknown · 50 lines
16 app.license=gpl.html
18 # Each component must have a name, a size, and a 'fileset'. The fileset is the
19 # name of a resource, relative to the root of the JAR, where the list of files
20 # is stored, newline delimited
23 comp.0.name=jEdit text editor
24 comp.0.disk-size=3616
25 comp.0.real-size=2862
28 comp.1.name=Default set of macros (highly recommended)
29 comp.1.disk-size=176
30 comp.1.real-size=122
31 comp.1.fileset=jedit-macros
33 comp.2.name=Improved Windows integration (jEditLauncher)
34 comp.2.disk-size=360
BeanShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 815 lines
✨ Summary
This Java code is part of a BeanShell implementation, a JavaScript-like scripting language for Java. It provides a framework for executing scripts and managing class loading, exception handling, and other runtime operations. The code defines various classes and methods that work together to provide a robust and flexible scripting environment.
This Java code is part of a BeanShell implementation, a JavaScript-like scripting language for Java. It provides a framework for executing scripts and managing class loading, exception handling, and other runtime operations. The code defines various classes and methods that work together to provide a robust and flexible scripting environment.
1 /*
2 * BeanShell.java - BeanShell scripting support
3 * :tabSize=8:indentSize=8:noTabs=false:
4 * :folding=explicit:collapseFolds=1:
5 *
49 * <li><code>buffer</code> - the edit pane's {@link Buffer}.</li>
50 * <li><code>wm</code> - the view's {@link
51 * org.gjt.sp.jedit.gui.DockableWindowManager}.</li>
52 * <li><code>scriptPath</code> - the path name of the currently executing
53 * BeanShell script.</li>
677 namespace.setVariable("buffer",editPane.getBuffer(), false);
678 namespace.setVariable("textArea",editPane.getTextArea(), false);
679 namespace.setVariable("wm",view.getDockableWindowManager(), false);
680 }
681 } //}}}
settings.py (https://github.com/akshayaurora/kivy.git) Python · 93 lines
1 from kivy.app import App
2 from kivy.uix.button import Button
3 from kivy.uix.boxlayout import BoxLayout
4 from kivy.uix.label import Label
5 from kivy.uix.popup import Popup
6 from kivy.uix.settings import (SettingsWithSidebar,
7 SettingsWithSpinner,
8 SettingsWithTabbedPanel)
9 from kivy.properties import OptionProperty, ObjectProperty
37 displaytype = Label(text='How to display the settings?')
38 display_buttons = BoxLayout(orientation='horizontal')
39 onwin_button = Button(text='on window')
40 onwin_button.bind(on_press=lambda j: self.set_display_type('normal'))
41 popup_button = Button(text='in a popup')
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.html (https://bitbucket.org/bartekkroczek/aion-project-management-support-system.git) HTML · 144 lines
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
25 </HEAD>
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 PREV
59 NEXT</FONT></TD>
helper_long_tap.html (https://github.com/rillian/firefox.git) HTML · 81 lines
12 function longPressLink() {
13 synthesizeNativeTouch(document.getElementById('b'), 5, 5, SpecialPowers.DOMWindowUtils.TOUCH_CONTACT, function() {
14 dump("Finished synthesizing touch-start, waiting for events...\n");
15 });
26 case 1:
27 is(e.type, 'mouselongtap', 'Got a mouselongtap');
28 synthesizeNativeTouch(document.getElementById('b'), 5, 5, SpecialPowers.DOMWindowUtils.TOUCH_REMOVE);
29 break;
30 case 2: is(e.type, 'touchend', 'Got a touchend'); break;
55 if (eventsFired == 3) {
56 synthesizeNativeTouch(document.getElementById('b'), 5, 5, SpecialPowers.DOMWindowUtils.TOUCH_REMOVE, function() {
57 dump("Finished synthesizing touch-end, doing an APZ flush to see if any more unexpected events come through...\n");
58 flushApzRepaints(function() {
groupbox_taskmenu.cpp (https://bitbucket.org/kasimling/qt.git) C++ · 105 lines
mainwindow.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 963 lines
184 }
186 MainWindow::MainWindow()
187 : ui(new Ui::MainWindow),
368 i = 0;
369 for (int psize = QApplication::font().pointSize(); i < ui->pointSizeCombo->count(); ++i) {
370 const int sz = ui->pointSizeCombo->itemText(i).toInt();
497 }
499 MainWindow::~MainWindow()
500 {
501 delete ui;
672 {
673 ui->buttonMainColor->setColor(editPalette.color(QPalette::Active, QPalette::Button));
674 ui->buttonWindowColor->setColor(editPalette.color(QPalette::Active, QPalette::Window));
675 }
qt_gl.ts (https://bitbucket.org/ultra_iter/qt-vtl.git) TypeScript · 10355 lines
563 </message>
564 <message>
565 <source>Size</source>
566 <translation>Tamaño</translation>
567 </message>
695 </message>
696 <message>
697 <source>Sort by &Size</source>
698 <translation>Ordenar segundo o &tamaño</translation>
699 </message>
834 </context>
835 <context>
836 <name>Q3MainWindow</name>
837 <message>
838 <source>Line up</source>
binaryajax.js (https://bitbucket.org/fabricehuet/thumbstore.git) JavaScript · 235 lines
87 }
88 this.toBase64 = function() {
89 return window.btoa(data);
90 }
91 this.fromBase64 = function(strBase64) {
159 if (oHTTP.status == "200" || oHTTP.status == "206") {
160 this.binaryResponse = new BinaryFile(this.responseText, iDataOffset, iDataLen);
161 this.fileSize = iFileSize || this.getResponseHeader("Content-Length");
162 fncCallback(this);
163 } else {
171 if (oHTTP.status == "200" || oHTTP.status == "206") {
172 this.binaryResponse = new BinaryFile(oHTTP.responseBody, iDataOffset, iDataLen);
173 this.fileSize = iFileSize || this.getResponseHeader("Content-Length");
174 fncCallback(this);
175 } else {
page-404.html (https://gitlab.com/lflucasferreira/theme) HTML · 107 lines
9 <meta name="author" content="Łukasz Holeczek">
10 <meta name="keyword" content="CleverAdmin, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
11 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png">
12 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/ico/apple-touch-icon-114-precomposed.png">
13 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/ico/apple-touch-icon-72-precomposed.png">
14 <link rel="apple-touch-icon-precomposed" sizes="57x57" href="assets/ico/apple-touch-icon-57-precomposed.png">
49 <div class="input-prepend input-group">
50 <span class="input-group-addon clear"><i class="fa fa-search"></i></span>
51 <input id="prependedInput" class="form-control" size="16" type="text" placeholder="What are you looking for?">
52 <span class="input-group-btn">
53 <button class="btn btn-info" type="button">Search</button>
83 <script type="text/javascript">
84 window.jQuery || document.write("<script src='assets/js/jquery-2.1.0.min.js'>"+"<"+"/script>");
85 </script>
app_lifecycle.html (https://bitbucket.org/peixuan/chromium_r197479_base.git) HTML · 206 lines
19 from a user's desktop and
20 the <code>onLaunch()</code> event is fired.
21 This event tells the event page what windows
22 to launch and their dimensions.
23 The lifecycle diagram here isn't the nicest to look at,
32 <p>
33 When the event page has no executing JavaScript,
34 no pending callbacks, and no open windows,
35 the runtime unloads the event page and closes the app.
36 Before unloading the event page,
81 </pre>
83 <h3 id="create_windows">Create windows</h3>
85 <p>
91 <p>
92 Windows have an optional frame with title bar and size controls. They are
93 not associated with any Chrome browser windows.
test_uix_modal.py (https://github.com/akshayaurora/kivy.git) Python · 101 lines
1 """ modal view unit tests. """
2 from kivy.tests import async_run, UnitKivyApp
3 from math import isclose
6 def modal_app():
7 """ test app factory function. """
8 from kivy.app import App
9 from kivy.uix.button import Button
10 from kivy.uix.modalview import ModalView
12 # noinspection PyProtectedMember
17 def on_touch_down(self, touch):
18 """ touch down event handler. """
19 assert self.modal._window is None
20 assert not self.modal._is_open
21 return super(ModalButton, self).on_touch_down(touch)
calculatorform.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 91 lines
startup.html (https://github.com/giovannilt/Eolo.git) HTML · 41 lines
1 <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Apache Tomcat Architecture - Startup</title><meta value="Yoav Shapira" name="author"><meta value="yoavs@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt="
2 The Apache Tomcat Servlet/JSP Container
3 " align="right" src="../../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Apache Tomcat Architecture</h1><h2>Startup</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="../../images/void.gif"></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Server Startup"><strong>Server Startup</strong></a></font></td></tr><tr><td><blockquote>
5 <p>
9 <li>From the command line.</li>
10 <li>From a Java program as an embedded server.</li>
11 <li>Automatically as a Windows service.</li>
12 </ul>
13 </p>
37 </blockquote></td></tr></table>
39 </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
40 Copyright © 1999-2008, Apache Software Foundation
41 </em></font></div></td></tr></table></body></html>
index.html (https://github.com/leongersing/titanium_desktop.git) HTML · 124 lines
28 padding: 3px 10px 3px 10px;
29 background-color: #e3e3e3;
30 font-size: 7.5pt;
31 color: #f33;
32 text-decoration: none;
53 if(test.indexOf("http") == 0) {
54 window.location = test;
55 }
56 else {
60 function bye() { Titanium.App.exit(); }
62 window.onunload = function()
63 {
64 Titanium.API.debug("bye bye from window.onunload from index.html");
Install.vue (https://github.com/zhaojun1998/zfile-vue.git) Vue · 157 lines
31 <el-form-item class="zfile-install-enter">
32 <el-button type="primary" icon="el-icon-check" size="small" @click="submitForm('form')">确认</el-button>
33 </el-form-item>
34 </el-form>
68 },
69 mounted() {
70 this.form.domain = this.$http.defaults.baseURL === "" ? window.location.origin : this.$http.defaults.baseURL;
72 this.fullLoading = true;
138 text-align: center;
139 vertical-align: text-bottom;
140 font-size: 30px;
141 font-weight: 600;
142 color: red;
buffer.c (https://bitbucket.org/ultra_iter/vim-qt.git) C · 5722 lines
324 * cause there to be only one window with this buffer. e.g. when ":quit" is
325 * supposed to close the window but autocommands close all other windows.
326 */
327 void
413 # endif
414 }
415 nwindows = buf->b_nwindows;
416 #endif
418 /* decrease the link count from windows (unless not in any window) */
419 if (buf->b_nwindows > 0)
437 * windows, so that autocommands in buf_freeall() don't get confused. */
438 is_curbuf = (buf == curbuf);
439 buf->b_nwindows = nwindows;
440 #endif
Methods.html (https://github.com/netmask/growl.git) HTML · 105 lines
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6 <meta name="generator" content="HeaderDoc">
7 <style type="text/css"><!--a:link {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #0000ff;}a:visited:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:active {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}a:hover {text-decoration: underline; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: small; color: #ff6600;}h4 {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: tiny; font-weight: bold;}body {text-decoration: none; font-family: lucida grande, geneva, helvetica, arial, sans-serif; font-size: 10pt;}--></style>
8 </head>
9 <body bgcolor="#ffffff">
13 <dd>Return the information to display when installing.
14 </dd>
15 <dt><tt><a href="CompositePage.html#//apple_ref/occ/instm/NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)/growlInstallationWindowTitle" target="doc">-growlInstallationWindowTitle</a></tt></dt>
16 <dd>Return the title of the installation window.
45 </dl>
46 <hr>
47 <!-- headerDoc=instm; uid=//apple_ref/occ/instm/NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)/growlInstallationWindowTitle; name=NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)::growlInstallationWindowTitle --><a name="//apple_ref/occ/instm/NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)/growlInstallationWindowTitle"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
48 <h3><a name="growlInstallationWindowTitle">growlInstallationWindowTitle</a></h3>
83 </dl>
84 <hr>
85 <!-- headerDoc=instm; uid=//apple_ref/occ/instm/NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)/growlUpdateWindowTitle; name=NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)::growlUpdateWindowTitle --><a name="//apple_ref/occ/instm/NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol)/growlUpdateWindowTitle"></a><table border="0" cellpadding="2" cellspacing="2" width="300"><tr><td valign="top" height="12" colspan="5">
86 <h3><a name="growlUpdateWindowTitle">growlUpdateWindowTitle</a></h3>
COpenGL.h (https://github.com/RJPalmer/OpenGLWinForm.git) C Header · 202 lines
15 public ref class COpenGL:
16 public System::Windows::Forms::NativeWindow
17 {
18 public:
19 COpenGL(System::Windows::Forms::Panel ^ parentPanel,
20 GLsizei startX, GLsizei startY, GLsizei iWidth, GLsizei iHeight)
21 {
22 CreateParams^ cp = gcnew CreateParams;
86 this->theta = theta;
87 }
88 System::Void Redraw(System::Windows::Forms::Panel ^ parentPanel, GLsizei startX, GLsizei startY,
89 GLsizei width, GLsizei height)
128 {
129 PIXELFORMATDESCRIPTOR pfd = {
130 sizeof(PIXELFORMATDESCRIPTOR), // size of this pfd
132 1, // version number
responsive.js (https://gitlab.com/Mansikka/effigy-pro) JavaScript · 229 lines
73 var totalConditions = options.conditions.length;
75 $(window).resize(function() {
76 $.responsive.sortConditions(options);
98 }
100 // perform resize if element <= threshold
101 if (elementWidth <= thresholdWidth) {
106 // apply current condition
107 $.responsive.resize.call(node, conditionOptions);
108 return false;
109 } else {
_10_1_instancing_quads.rs (https://github.com/bwasty/learn-opengl-rs.git) Rust · 147 lines
27 // ------------------------------
28 let mut glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
29 glfw.window_hint(glfw::WindowHint::ContextVersion(3, 3));
30 glfw.window_hint(glfw::WindowHint::OpenGlProfile(glfw::OpenGlProfileHint::Core));
31 #[cfg(target_os = "macos")]
32 glfw.window_hint(glfw::WindowHint::OpenGlForwardCompat(true));
34 // glfw window creation
35 // --------------------
36 let (mut window, _events) = glfw.create_window(SCR_WIDTH, SCR_HEIGHT, "LearnOpenGL", glfw::WindowMode::Windowed)
37 .expect("Failed to create GLFW window");
103 gl::STATIC_DRAW);
104 gl::EnableVertexAttribArray(0);
105 let stride = 5 * mem::size_of::<GLfloat>() as GLsizei;
106 gl::VertexAttribPointer(0, 2, gl::FLOAT, gl::FALSE, stride, ptr::null());
107 gl::EnableVertexAttribArray(1);
docs.css (https://github.com/jawj/zapatos.git) CSS · 338 lines
kivypopup.py (https://github.com/Alamot/code-snippets.git) Python · 151 lines
5 from kivy.metrics import dp
6 from kivy.core.window import Window
7 from kivy.graphics import Color, Line, Rectangle
79 Color(0, 0.7, 0, 1)
80 self.rect = Rectangle(pos=self.separator.pos,
81 size=self.separator.size)
83 self.separator.bind(pos=self.update_sep,
90 def update_width(self, *args):
91 # hack to resize dark background on window resize
92 self.center = Window.center
118 def update_sep(self, *args):
119 self.rect.pos = self.separator.pos
120 self.rect.size = self.separator.size
122 def close(self, instance):
RailsLog.html (https://github.com/aptana/radrails.git) HTML · 259 lines
13 <SCRIPT type="text/javascript">
14 function windowTitle()
15 {
16 parent.document.title="Uses of Class org.radrails.rails.core.RailsLog";
20 </HEAD>
22 <BODY BGCOLOR="white" onload="windowTitle();">
50 <TR>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 PREV
53 NEXT</FONT></TD>
cpp.c
(https://swig.svn.sourceforge.net/svnroot/swig)
C · 1856 lines
✨ Summary
This C code is a parser for a C preprocessor, specifically designed to handle conditional compilation directives (#ifdef
, #ifndef
, etc.) and macro definitions. It reads input from a file, parses the syntax, and generates an output string that can be used in a C program. The parser checks for errors and warnings, such as missing #endif
or unterminated blocks.
This C code is a parser for a C preprocessor, specifically designed to handle conditional compilation directives (#ifdef
, #ifndef
, etc.) and macro definitions. It reads input from a file, parses the syntax, and generates an output string that can be used in a C program. The parser checks for errors and warnings, such as missing #endif
or unterminated blocks.
Editor.xd.js (http://aipo.googlecode.com/svn/) JavaScript · 389 lines
202 b=r;
203 }
204 dojo.withGlobal(this.window,'moveToBookmark',dijit,[b]);
205 },
206 undo: function(){
240 },
241 _getBookmark: function(){
242 var b=dojo.withGlobal(this.window,dijit.getBookmark);
243 if(dojo.isIE){
244 if(dojo.isArray(b)){//CONTROL
378 p = new dijit._editor.plugins.TextColor({ command: name });
379 break;
380 case "fontName": case "fontSize": case "formatBlock":
381 p = new dijit._editor.plugins.FontChoice({ command: name });
382 }
wm_common.py (https://github.com/akshayaurora/kivy.git) Python · 162 lines
59 TABLET_DISABLE_FLICKS)
61 if 'KIVY_DOC' not in os.environ:
62 from ctypes.wintypes import (ULONG, HANDLE, DWORD, LONG, UINT,
63 WPARAM, LPARAM, BOOL, HWND, POINT,
95 def size(self):
96 return (self.size_x, self.size_y)
98 def screen_x(self):
124 SetWindowLong_WndProc_wrapper = \
125 SetWindowLong_WndProc_wrapper_generator(
126 windll.user32.SetWindowLongPtrW)
127 except AttributeError:
128 windll.user32.SetWindowLongW.restype = LONG
129 windll.user32.SetWindowLongW.argtypes = [HWND, c_int, LONG]
package-summary.html (https://bitbucket.org/haris_peco/debrief.git) HTML · 182 lines
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="org.restlet.engine.http.adapter (Restlet Engine 2.0.2 - JSE)";
23 </HEAD>
25 <BODY BGCOLOR="white" onload="windowTitle();">
53 <TR>
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../../org/restlet/engine/http/package-summary.html"><B>PREV PACKAGE</B></A>
56 <A HREF="../../../../../org/restlet/engine/http/connector/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
package-tree.html (https://gitlab.com/hounge.mobile/apkinspector) HTML · 155 lines
13 <SCRIPT type="text/javascript">
14 function windowTitle()
15 {
16 parent.document.title="soot.jimple.toolkits.annotation Class Hierarchy (Soot API)";
22 </HEAD>
24 <BODY BGCOLOR="white" onload="windowTitle();">
52 <TR>
53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54 <A HREF="../../../../soot/jimple/spark/solver/package-tree.html"><B>PREV</B></A>
55 <A HREF="../../../../soot/jimple/toolkits/annotation/arraycheck/package-tree.html"><B>NEXT</B></A></FONT></TD>
package-summary.html (http://cleartk.googlecode.com/svn/trunk/) HTML · 160 lines
15 <SCRIPT type="text/javascript">
16 function windowTitle()
17 {
18 if (location.href.indexOf('is-external=true') == -1) {
26 </HEAD>
28 <BODY BGCOLOR="white" onload="windowTitle();">
29 <HR>
57 <TR>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 <A HREF="../../../../../org/cleartk/classifier/libsvm/package-summary.html"><B>PREV PACKAGE</B></A>
60 <A HREF="../../../../../org/cleartk/classifier/mallet/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
package-tree.html (https://gitlab.com/dannywillems/Arduino) HTML · 157 lines
12 <SCRIPT type="text/javascript">
13 function windowTitle()
14 {
15 parent.document.title="processing.candy Class Hierarchy";
21 </HEAD>
23 <BODY BGCOLOR="white" onload="windowTitle();">
50 <TR>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 <A HREF="../../processing/app/windows/package-tree.html"><B>PREV</B></A>
53 <A HREF="../../processing/core/package-tree.html"><B>NEXT</B></A></FONT></TD>
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../index.html?processing/candy/package-tree.html" target="_top"><B>FRAMES</B></A>
56 <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A>
package-summary.html (https://gitlab.com/dannywillems/Arduino) HTML · 199 lines
13 <SCRIPT type="text/javascript">
14 function windowTitle()
15 {
16 parent.document.title="processing.candy";
22 </HEAD>
24 <BODY BGCOLOR="white" onload="windowTitle();">
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 <A HREF="../../processing/app/windows/package-summary.html"><B>PREV PACKAGE</B></A>
54 <A HREF="../../processing/core/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../index.html?processing/candy/package-summary.html" target="_top"><B>FRAMES</B></A>
57 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>
index.html (https://github.com/toddlipcon/hue.git) HTML · 131 lines
1 <h1><a name="JobBrowser-IntroducingHueJobBrowser"></a>Introducing Hue Job Browser</h1>
3 <p>The Hue Job Browser application enables you to examine the Hadoop Map/Reduce jobs running on your Hadoop cluster. Job Browser presents the job and tasks in layers. The top layer is a list of jobs, and you can double-click a job to view a list of that job's tasks. You can then view a task's attempts and the properties of each attempt, such as state, start and end time, and output size. To troubleshoot failed jobs, you can also view the logs of each attempt. For more information about Hadoop Map/Reduce, see the <a href="http://archive.cloudera.com/cdh/3/hadoop-0.20.2+320/mapred_tutorial.html">Hadoop Map/Reduce Tutorial</a>.</p>
5 <h2><a name="JobBrowser-Contents"></a>Contents</h2>
33 <h2><a name="JobBrowser-StartingJobBrowser"></a><a name="JobBrowser-StartingJobBrowser"></a>Starting Job Browser</h2>
35 <p>To start Job Browser, click this icon <span class="image-wrap" style=""><img src="/jobbrowser/static/help/images/6259463.jpg" height="27" width="34" style="border: 0px solid black"/></span> in the application bar at the bottom of the Hue web page. The <b>Job Browser List</b> window opens in the Hue web page.
36 <br class="atl-forced-newline" />
37 <br class="atl-forced-newline" />
65 <ol>
66 <li>In the <b>Job Browser</b> window, double-click the job you want to view, or click this icon <span class="image-wrap" style=""><img src="/jobbrowser/static/help/images/6259461.jpg" height="20" width="20" style="border: 0px solid black"/></span> next to the job.
67 <br class="atl-forced-newline" />
68 <br class="atl-forced-newline" />
nbdgm.c (https://bitbucket.org/opexxx/lanmap2.git) C · 215 lines
49 DINIT(addr_format, NULL),
50 DINIT(addr_local, NULL),
51 DINIT(parents, sizeof Test / sizeof Test[0]),
52 DINIT(parent, Test)
53 };
68 * @ref #2
69 */
70 size_t nb_decode_name(char *wr, size_t wrlen, const char *rd, size_t rdlen)
71 {
72 const char *owr = wr;
137 * @return number of octets used by this protocol, or zero upon error
138 */
139 static size_t parse(char *buf, size_t len, parse_frame *f, const parse_status *st)
140 {
141 nb_dgm *d = (nb_dgm *)buf;
202 offsetof(nb_dgm, len));
203 assert(12 == offsetof(nb_dgm, off));
204 printf("sizeof Dgm -> %u\n", sizeof Dgm);
205 assert(14 == sizeof Dgm);
package-tree.html (https://gitlab.com/essere.lab.public/qualitas.class-corpus) HTML · 155 lines
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
25 </HEAD>
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../../../org/hibernate/service/jndi/internal/package-tree.html"><B>PREV</B></A>
59 <A HREF="../../../../../org/hibernate/service/jta/platform/internal/package-tree.html"><B>NEXT</B></A></FONT></TD>
PieChart.xaml.cs (https://github.com/ProtonVPN/win-app.git) C# · 194 lines
32 DependencyProperty.Register("Percentage", typeof(double), typeof(PieChart), new FrameworkPropertyMetadata(0.5, OnPiePropertyChanged, CoercePercentageCallback));
34 public static readonly DependencyProperty SizeProperty =
35 DependencyProperty.Register("Size", typeof(double), typeof(PieChart), new PropertyMetadata(100.0, OnPiePropertyChanged));
49 public double Size
50 {
51 get => (double)GetValue(SizeProperty);
52 set => SetValue(SizeProperty, value);
153 {
154 SweepDirection = SweepDirection.Clockwise,
155 Size = new Size(Width / 2, Height / 2),
156 Point = arcPoint,
157 IsLargeArc = isLargeArc
175 var drawing = new GeometryDrawing { Brush = brush };
176 var ellipse = new EllipseGeometry(midPoint, size, size);
178 drawing.Geometry = ellipse;
MergeLayers.html (https://gitlab.com/railway/railway-land) HTML · 81 lines
7 <script type="text/javascript">
8 function init() {
9 if (window.location.hash) {
10 var parentDiv, nodes, i, helpId;
11 helpId = window.location.hash.substring(1);
23 <body onload="init()">
24 <div id="topics">
25 <div id="toolDescription" class="largesize">
26 <h2>Juntar Camadas</h2><p/>
27 <h2><img src="../images/GUID-DACDAC49-3ECE-45A2-AC42-69016B3B8ADA-web.png" alt="Juntar Camadas"></h2>
package-use.html (https://github.com/Hypnusds/dnwa.git) HTML · 171 lines
15 <SCRIPT type="text/javascript">
16 function windowTitle()
17 {
18 if (location.href.indexOf('is-external=true') == -1) {
26 </HEAD>
28 <BODY BGCOLOR="white" onload="windowTitle();">
29 <HR>
57 <TR>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 上一个
60 下一个</FONT></TD>
searchForm.html (https://github.com/ChuguluGames/mediawiki-svn.git) HTML · 104 lines
51 Wiki:
52 <select name="dbname" onchange="wgDBname=window.document.search.dbname.options[selectedIndex].text;">
53 <option value="wikilucene">wikilucene</option>
54 <option value="enwiki">enwiki</option>
71 </select>
73 Search for <input type='text' name="query" value="" size="30" id="lsearchbox" />
74 <input type="submit" value="Search" />
75 <hr>
JARClassLoader.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 709 lines
✨ Summary
This Java code is part of a class loader implementation, responsible for loading and managing classes from a Java archive file (JAR). It defines package information, seals packages, and resolves class references to load classes into memory. The code handles various exceptions and errors that may occur during the loading process.
This Java code is part of a class loader implementation, responsible for loading and managing classes from a Java archive file (JAR). It defines package information, seals packages, and resolves class references to load classes into memory. The code handles various exceptions and errors that may occur during the loading process.
1 /*
2 * JARClassLoader.java - Loads classes from JAR files
3 * :tabSize=8:indentSize=8:noTabs=false:
4 * :folding=explicit:collapseFolds=1:
5 *
32 import java.util.jar.*;
33 import java.util.zip.*;
34 import org.gjt.sp.jedit.gui.DockableWindowManager;
35 import org.gjt.sp.util.Log;
36 //}}}
286 else if(name.equalsIgnoreCase("dockables.xml"))
287 {
288 DockableWindowManager.loadDockableWindows(
289 path + "!dockables.xml",
290 new BufferedReader(new InputStreamReader(
readme.html (https://github.com/joechen2010/IM.git) HTML · 116 lines
allclasses-noframe.html (https://bitbucket.org/tranhaidang511/zukei.git) HTML · 140 lines
18 <BODY BGCOLOR="white">
19 <FONT size="+1" CLASS="FrameHeadingFont">
20 <B>すべてのクラス</B></FONT>
21 <BR>
131 <A HREF="pro3/target/TextTarget.html" title="pro3.target 内のクラス">TextTarget</A>
132 <BR>
133 <A HREF="pro3/target/WindowTarget.html" title="pro3.target 内のクラス">WindowTarget</A>
134 <BR>
135 </FONT></TD>
snackbar.py (https://gitlab.com/nickyspag/KivyMD) Python · 115 lines
4 from kivy.clock import Clock
5 from kivy.core.window import Window
6 from kivy.lang import Builder
12 Builder.load_string('''
13 #:import Window kivy.core.window.Window
14 #:import get_color_from_hex kivy.utils.get_color_from_hex
21 rgb: get_color_from_hex('323232')
22 Rectangle:
23 size: self.size
24 size_hint_y: None
40 id: _label
41 text: root.text
42 size: self.texture_size
43 BoxLayout:
44 id: _spacer
androidjoystick.py (https://github.com/geojeff/kivy.git) Python · 100 lines
7 import android
8 except ImportError:
9 if 'KIVY_DOC' not in os.environ:
10 raise Exception('android lib not found.')
12 from kivy.logger import Logger
13 from kivy.input.provider import MotionEventProvider
61 if not self.window:
62 from kivy.core.window import Window
63 self.window = Window
64 w, h = self.window.system_size
65 touches = self.touches
66 for joy in self.joysticks:
Category_detail.html (https://github.com/mci/mpatlas.git) HTML · 108 lines
56 System.import('{% static "js" %}/categorydetail').then(function(CategoryDetail) {
57 $(function() {
58 window['categorydetail'] = new CategoryDetail.CategoryDetail($('#leafletmap'));
59 });
60 });
68 <div style="z-index:2; padding-left:60px; padding-top:1px; position:relative; background-color:#fff; background-color:rgba(255,255,255,0.7);">
69 <h6 style="color:#666; text-transform:uppercase; margin-right:20px; padding-bottom:0; margin-bottom:0;">Category</h6>
70 <p class="heading" style="margin:0px; padding:0; font-size:32px; line-height:38px;color:#de744a;">
71 {{ category.name }}
72 </p>
__init__.py (https://github.com/akshayaurora/kivy.git) Python · 121 lines
27 # Add a rectangle
28 Rectangle(pos=(10, 10), size=(500, 500))
30 The instructions :class:`Color` and :class:`Rectangle` are automatically added
37 drawing. In order to make your drawing instructions relative to the widget,
38 the instructions need either to be
39 declared in the :mod:`KvLang <kivy.lang>` or bound to pos and size changes.
40 Please see :ref:`adding_widget_background` for more detail.
48 happens:
50 - when the window is resized on OS X or the Windows platform and you're
51 using pygame as a window provider. This is due to SDL 1.2. In the SDL 1.2
52 design, it needs to recreate a GL context everytime the window is
53 resized. This was fixed in SDL 1.3 but pygame is not yet available on it
54 by default.
wikipedia.html (https://github.com/fatasuir9/Workpad.git) HTML · 71 lines
7 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
8 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
9 <link rel="icon" type="image/png" href="../images/kaiten-boxed-favicon.png" sizes="16x16">
10 <link rel="stylesheet" type="text/css" href="../css/kaiten.css" />
11 <script type="text/javascript" src="../js/jquery-1.6.1.min.js"> </script>
40 optionsSelector : '#custom-options-text',
41 connectors : {
42 "wikipedia.home" : window.kConnectors.wikipedia.home,
43 "wikipedia.page" : window.kConnectors.wikipedia.page,
44 "wikipedia.search" : window.kConnectors.wikipedia.search,
45 "wikipedia.languages" : window.kConnectors.wikipedia.languages,
46 "wikipedia.image" : window.kConnectors.wikipedia.image,
47 "wikipedia.static" : window.kConnectors.wikipedia.static
package-tree.html (https://github.com/BlinkID/blinkid-android.git) HTML · 156 lines
55 <script type="text/javascript"><!--
56 allClassesLink = document.getElementById("allclasses_navbar_top");
57 if(window==top) {
58 allClassesLink.style.display = "block";
59 }
140 <script type="text/javascript"><!--
141 allClassesLink = document.getElementById("allclasses_navbar_bottom");
142 if(window==top) {
143 allClassesLink.style.display = "block";
144 }
friends3.py (https://github.com/EnTeQuAk/pydanny-event-notes.git) Python · 113 lines
18 <BODY><H3>ERROR</H3>
19 <B>%s</B><P>
20 <FORM><INPUT TYPE=button VALUE=Back ONCLICK="window.history.back()"></FORM>
21 </BODY></HTML>'''
33 <B>Your Name:</B>
34 <INPUT TYPE=hidden NAME=action VALUE=edit>
35 <INPUT TYPE=text NAME=person VALUE="%s" SIZE=15>
36 <P><B>How many friends do you have?</B>
37 %s
client.py (https://github.com/yamartin/kaleidoscope.git) Python · 147 lines
6 from kivy.uix.label import Label
7 from kivy.core.window import Window
8 from kivy.lang import Builder
32 Rectangle:
33 texture: self.texture
34 size: self.texture_size
35 pos: int(self.center_x - self.texture_size[0] / 2.), int(self.center_y - self.texture_size[1] / 2.)
137 ChooseLabel(text='Attends les autres joueurs',
138 pos=(0, cy + 200),
139 size=(Window.width, 100)
140 ))
141 self.container.add_widget(
142 ChooseLabel(text=args,
143 pos=(0, cy - 50),
144 size=(Window.width, 100)
145 ))
androidjoystick.py (https://bitbucket.org/pnpranavrao/kivy.git) Python · 98 lines
6 __import__('android')
7 except ImportError:
8 if 'KIVY_DOC' not in os.environ:
9 raise Exception('android lib not found.')
11 from kivy.logger import Logger
12 from kivy.input.provider import MotionEventProvider
60 if not self.window:
61 from kivy.core.window import Window
62 self.window = Window
63 w, h = self.window.system_size
64 touches = self.touches
65 for joy in self.joysticks:
simple_example.html (https://github.com/ardakara/FriendMap.git) HTML · 77 lines
package-summary.html (https://github.com/demobox/jclouds-maven-site-1.0-beta-9d.git) HTML · 158 lines
15 <SCRIPT type="text/javascript">
16 function windowTitle()
17 {
18 if (location.href.indexOf('is-external=true') == -1) {
26 </HEAD>
28 <BODY BGCOLOR="white" onload="windowTitle();">
29 <HR>
57 <TR>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 <A HREF="../../../../org/jclouds/encryption/internal/package-summary.html"><B>PREV PACKAGE</B></A>
60 <A HREF="../../../../org/jclouds/epc/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
package-tree.html (https://gitlab.com/essere.lab.public/qualitas.class-corpus) HTML · 151 lines
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
25 </HEAD>
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="../../../../../../org/hibernate/metamodel/source/annotations/global/package-tree.html"><B>PREV</B></A>
59 <A HREF="../../../../../../org/hibernate/metamodel/source/annotations/xml/filter/package-tree.html"><B>NEXT</B></A></FONT></TD>
index.tpl (https://github.com/grandison/budo16.git) Smarty Template · 130 lines
59 },
60 'onSuccess' : function(responseJSON, responseText) {
61 window.location.reload();
62 }
63 });
107 <td style="width: 1%; white-space: nowrap;">
108 <?php echo $this->translate('%s bytes',
109 $this->locale()->toNumber($this->serviceFileInfo[$item->service_id]['size'])) ?>
110 </td>
111 <td class='admin_table_centered'>
VideoTest.cpp (https://github.com/dakk/Misc.git) C++ · 159 lines
27 // Detect faces and store them in a sequence
28 CvSeq* faces = cvHaarDetectObjects(frame, fCascade, fStorage, 1.2, 2, CV_HAAR_DO_CANNY_PRUNING, cvSize(20, 20));
30 // Loop the number of faces found.
52 r->height = frame->height;
54 // Create a new image to resize the original trollface
55 IplImage *temp = cvCreateImage(cvSize(r->width, r->height), frame->depth, frame->nChannels);
57 // Swap the real image in the temp buffer with the new dimension
58 cvResize(fImage, temp);
60 // Specify the region of interest where put the image
115 // Create windows to display results
116 cvNamedWindow("Capture", 1);
Archive.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 139 lines
✨ Summary
This HTML code outputs a help page for an “Archive Plugin” in a text editor, providing information on its features, usage, and credits. It includes links to external resources, such as software ports used by the plugin, and instructions on how to send bug reports or feedback. The page is structured with sections on presentation, usage, credits, and feedback, making it easy for users to navigate and find the information they need.
This HTML code outputs a help page for an “Archive Plugin” in a text editor, providing information on its features, usage, and credits. It includes links to external resources, such as software ports used by the plugin, and instructions on how to send bug reports or feedback. The page is structured with sections on presentation, usage, credits, and feedback, making it easy for users to navigate and find the information they need.
dialog_selectAccount.asp (https://github.com/khaneh/Orders.git) ASP · 79 lines
9 <HTML>
10 <HEAD>
11 <meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
12 <meta http-equiv="Content-Language" content="fa">
13 <style>
14 body { font-family: tahoma; font-size: 8pt; background-color:#DDDDDD;}
15 Input { font-family: tahoma; font-size: 9pt;}
16 td { font-family: tahoma; font-size: 8pt;}
17 </style>
18 <TITLE> </TITLE>
24 var theKey = event.keyCode;
25 if (theKey == 27) {
26 window.close();
27 }
28 else if (theKey == 13) {
index.html.erb (https://github.com/kachaje/dashboard.git) Ruby HTML · 110 lines
11 createCalender(document.getElementById('selectYear').value,
12 this.selectedIndex, false));"
13 id="selectMonth" style="font-size:1.2em">
14 <option value="0">Jan</option>
15 <option value="1">Feb</option>
29 <select onChange="showCalenderBody(createCalender(this.value,
30 document.getElementById('selectMonth').selectedIndex, false));"
31 id="selectYear" style="font-size:1.2em">
32 </select>
33 </td>
34 <td align="center">
35 <a href="#" onClick="closeCalender();">
36 <font color="#fff" size="+1">X</font>
37 </a>
38 </td>
qwaylandwlshell.h (https://gitlab.com/f3822/qtwayland) C Header · 162 lines
37 #include <QtWaylandCompositor/qwaylandquickchildren.h>
39 #include <QtCore/QSize>
41 QT_BEGIN_NAMESPACE
120 QWaylandWlShell *shell() const;
122 Qt::WindowType windowType() const override;
124 static const struct wl_interface *interface();
128 static QWaylandWlShellSurface *fromResource(wl_resource *res);
130 Q_INVOKABLE QSize sizeForResize(const QSizeF &size, const QPointF &delta, ResizeEdge edges);
131 Q_INVOKABLE void sendConfigure(const QSize &size, ResizeEdge edges);
146 void pong();
147 void startMove(QWaylandSeat *seat);
148 void startResize(QWaylandSeat *seat, ResizeEdge edges);
150 void setDefaultToplevel();
common.rb (https://github.com/marnen/hive.git) Ruby · 129 lines
pluginbf_balance.cpp (https://github.com/i02sopop/Bulmages.git) C++ · 102 lines
69 toolCont->setFocusPolicy(Qt::TabFocus);
70 toolCont->setOrientation(Qt::Horizontal);
71 toolCont->setIconSize(QSize(32, 32));
72 toolCont->setWindowTitle(N_("Contabilidad", 0));
89 if (accion->objectName() == "mui_actionBalance") {
91 if (!g_pluginbf_balance->company()->showWindow("BalanceView")) {
92 BalanceView *balance = new BalanceView ( g_pluginbf_balance->company(), 0 );
93 balance->setObjectName("BalanceView");
94 g_pluginbf_balance->company()->pWorkspace() ->addSubWindow ( balance );
95 balance->show();
96 } // end if
cadastrar.php (https://github.com/andrerezende/SIE.git) PHP · 53 lines
29 <script type="text/javascript">
30 function delayer(){
31 window.location = '../login/login.php';
32 }
33 </script>
38 echo("<table width='90%' border='0'>");
39 echo(" <tr>");
40 echo(" <td height='280'><div align='center'><font size='6'><a href='../login/menu.php'>Cadastro efetuado com sucesso</font><font size='6'></font></div></td>");
41 echo(" </tr>");
42 echo("</table>");
44 echo("<table width='90%' border='0'>");
45 echo(" <tr>");
46 echo(" <td height='280'><div align='center'><font size='6'><a href='../login/menu.php'>Problemas ao efetuar o cadastro</font><font size='6'></font></div></td>");
47 echo(" </tr>");
48 echo("</table>");
file.cpp (https://github.com/lince/ginga-srpp.git) C++ · 378 lines
101 /*-------------------------------------------------------------------*/
103 #ifndef _WINDOWS
105 FILE* OpenFile(char* File, int Mode, int AllowOverWrite)
174 int c;
176 if (bytecount < (int)sizeof(int) && (value >> (8*bytecount)) > 0)
177 {
178 ErrorMessage("ERROR: Vector element value is too big (%d)."
index-10.html (https://bitbucket.org/timdiacon/alivestickslogo.git) HTML · 145 lines
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
25 </HEAD>
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 <A HREF="index-9.html"><B>PREV LETTER</B></A>
59 <A HREF="index-11.html"><B>NEXT LETTER</B></A></FONT></TD>
test_uix_scrollview.py (https://github.com/akshayaurora/kivy.git) Python · 358 lines
1 from kivy.tests.common import GraphicUnitTest
3 from kivy.uix.gridlayout import GridLayout
4 from kivy.uix.scrollview import ScrollView
5 from kivy.uix.label import Label
6 from kivy.base import EventLoop
7 from kivy.clock import Clock
8 from kivy.tests.common import UTMotionEvent
10 from time import sleep
19 kwargs['cols'] = 1
20 kwargs['spacing'] = 10
21 kwargs['size_hint'] = (None, None)
22 super(_TestGrid, self).__init__(**kwargs)
23 self.bind(minimum_height=self.setter('height'))
01_mapQueryBySQL.html (https://github.com/SuperMap/iClient-JavaScript.git) HTML · 83 lines
13 <script type="text/javascript" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
14 <script type="text/javascript">
15 var host = window.isLocal ? window.server : "https://iserver.supermap.io";
16 var url = host + "/iserver/services/map-world/rest/maps/World";
17 var attribution = "<a href='https://www.mapbox.com/about/maps/' target='_blank'>© Mapbox </a>" +
27 "type": "raster",
28 "tiles": [host + '/iserver/services/maps/rest/maps/World/zxyTileImage.png?prjCoordSys='+encodeURIComponent('{"epsgCode":3857}')+'&z={z}&x={x}&y={y}'],
29 "tileSize": 256,
30 },
31 },
MacroManager.html (https://github.com/munhitsu/sit-risk.git) HTML · 233 lines
13 <SCRIPT type="text/javascript">
14 function windowTitle()
15 {
16 parent.document.title="Uses of Class org.joone.script.MacroManager (Joone API)";
20 </HEAD>
22 <BODY BGCOLOR="white" onload="windowTitle();">
50 <TR>
51 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52 PREV
53 NEXT</FONT></TD>
dir_auto-input-script-L.html (https://github.com/rillian/firefox.git) HTML · 70 lines
index.html (https://github.com/ariejan/GateOne.git) HTML · 41 lines
22 <div id="gateone"></div>
23 <script>
24 window.onload = function() {
25 // Commented out below are a few examples of the various ways you can initialize Gate One...
26 // Init GateOne using the built-in black CSS scheme with a specific back-end to connect to (for the WebSocket):
28 // Vanilla GateOne init():
29 GateOne.init();
30 // Here's an example that limits the size of the #gateone element to demonstrate
31 // how it can be embedded into another app/page...
32 // GateOne.init({fillContainer: false, style: {'width': '50em', 'height': '32em'}, scheme: 'white'});
Settings.cpp (https://github.com/hduregger/crowd.git) C++ · 339 lines
241 if ((costWeightLength < MainWindow::WEIGHT_LOWER_BOUND) || (costWeightLength > MainWindow::WEIGHT_UPPER_BOUND))
242 {
243 throw Exception("Cost weight length must be inside [1, 200]. Check your config file!");
244 }
246 if ((costWeightTime < MainWindow::WEIGHT_LOWER_BOUND) || (costWeightTime > MainWindow::WEIGHT_UPPER_BOUND))
247 {
248 throw Exception("Cost weight time must be inside [1, 200]. Check your config file!");
249 }
251 if ((costWeightDiscomfort < MainWindow::WEIGHT_LOWER_BOUND) || (costWeightDiscomfort > MainWindow::WEIGHT_UPPER_BOUND))
252 {
253 throw Exception("Cost weight discomfort must be inside [1, 200]. Check your config file!");
dir_auto-textarea-script-mixed.html (https://gitlab.com/jonnialva90/iridium-browser) HTML · 100 lines
15 <style>
16 body, textarea {
17 font-size:18px;
18 text-align:left;
19 }
20 textarea {
21 resize: none;
22 }
23 .test, .ref {
45 <div id="test" class="test">
46 <script>
47 window.onload = function() {
48 var test = document.getElementById('test');
49 var textareas = test.getElementsByTagName('textarea');
csi-replay.c (https://github.com/miyabe/cairo.git) C · 360 lines
84 {
85 XFlush (_get_display ());
86 XDestroyWindow (_get_display(), (Window) closure);
87 }
105 depth = DefaultDepth (dpy, DefaultScreen (dpy));
106 attr.override_redirect = True;
107 w = XCreateWindow (dpy, DefaultRootWindow (dpy), 0, 0,
108 width <= 0 ? 1 : width,
109 height <= 0 ? 1 : height,
110 0, depth,
111 InputOutput, visual, CWOverrideRedirect, &attr);
112 XMapWindow (dpy, w);
114 surface = cairo_xlib_surface_create (dpy, w, visual, width, height);
apdl.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 7537 lines
375 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/WAIT</SEQ>
376 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/WAI</SEQ>
377 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/WINDOW</SEQ>
378 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/WIN</SEQ>
379 <SEQ TYPE="KEYWORD1" AT_WORD_START="TRUE">/XRANGE</SEQ>
773 <KEYWORD1>DERIV</KEYWORD1>
774 <KEYWORD1>DESI</KEYWORD1>
775 <KEYWORD1>DESIZE</KEYWORD1>
776 <KEYWORD1>DESO</KEYWORD1>
777 <KEYWORD1>DESOL</KEYWORD1>
950 <KEYWORD1>ESEL</KEYWORD1>
951 <KEYWORD1>ESIZ</KEYWORD1>
952 <KEYWORD1>ESIZE</KEYWORD1>
953 <KEYWORD1>ESLA</KEYWORD1>
954 <KEYWORD1>ESLA</KEYWORD1>
FrameCGWin.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 115 lines
27 #include "FrameWin.h"
29 #include <windows.h>
31 #include "BitmapInfo.h"
43 static void drawRectIntoContext(IntRect rect, FrameView* view, GraphicsContext* gc)
44 {
45 IntSize offset = view->scrollOffset();
46 rect.move(-offset.width(), -offset.height());
47 rect = view->convertToContainingWindow(rect);
61 int w = ir.width();
62 int h = ir.height();
63 BitmapInfo bmp = BitmapInfo::create(IntSize(w, h));
65 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0);
yap.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 34 lines
changelog.txt (http://omnia2droid.googlecode.com/svn/trunk/) Plain Text · 14 lines
XDebuggerBundle.properties (https://bitbucket.org/nbargnesi/idea.git) Properties File · 99 lines
75 string.debugger.runner.description=Debug selected configuration
77 # ToolWindow
78 debugger.session.tab.threads.title=Threads
79 debugger.session.tab.frames.title=Frames
82 debugger.session.tab.log.content.name=Log: {0}
83 debugger.session.tab.console.content.name=Console
84 debugger.session.tab.watches.title.with.size=Watches ({0})
85 action.next.frame.text=Next Frame
86 action.previous.frame.text=Previous Frame
DirectoryHistoryDialog.java (https://bitbucket.org/nbargnesi/idea.git) Java · 274 lines
fileio.c (https://bitbucket.org/ultra_iter/vim-qt.git) C · 10387 lines
22 #endif
24 #define BUFSIZE 8192 /* size of normal write buffer */
25 #define SMBUFSIZE 256 /* size of emergency write buffer */
57 #ifdef FEAT_CRYPT
58 static int crypt_method_from_magic __ARGS((char *ptr, int len));
59 static char_u *check_for_cryptkey __ARGS((char_u *cryptkey, char_u *ptr, long *sizep, off_t *filesizep, int newfile, char_u *fname, int *did_ask));
60 #endif
61 #ifdef UNIX
84 # define FIO_UTF16 0x10 /* convert UTF-16 */
85 # ifdef WIN3264
86 # define FIO_CODEPAGE 0x20 /* convert MS-Windows codepage */
87 # define FIO_PUT_CP(x) (((x) & 0xffff) << 16) /* put codepage in top word */
88 # define FIO_GET_CP(x) (((x)>>16) & 0xffff) /* get codepage from top word */
171 if (STRLEN(IObuff) > IOSIZE - 80)
172 IObuff[IOSIZE - 80] = NUL;
173 STRCAT(IObuff, s);
174 /*
Screen.java
(http://loon-simple.googlecode.com/svn/trunk/)
Java · 1426 lines
✨ Summary
This Java code appears to be a part of an Android application that tracks user’s orientation and movement using sensors such as accelerometer and gyroscope. It updates the device’s direction, inclination, and acceleration values based on sensor data, and also detects gravity-to-key mapping for navigation purposes. The code seems to be designed for landscape mode screen orientation detection and gesture recognition.
This Java code appears to be a part of an Android application that tracks user’s orientation and movement using sensors such as accelerometer and gyroscope. It updates the device’s direction, inclination, and acceleration values based on sensor data, and also detects gravity-to-key mapping for navigation purposes. The code seems to be designed for landscape mode screen orientation detection and gesture recognition.
16 import org.loon.framework.android.game.core.LSystem;
17 import org.loon.framework.android.game.core.graphics.device.LGraphics;
18 import org.loon.framework.android.game.core.graphics.window.actor.Layer;
19 import org.loon.framework.android.game.core.timer.LTimerContext;
20 import org.loon.framework.android.game.utils.GraphicsUtils;
398 if (screen.getWidth() != getWidth()
399 || screen.getHeight() != getHeight()) {
400 screen = GraphicsUtils.getResize(screen, getWidth(),
401 getHeight());
402 }
794 return;
795 }
796 if (runnables.size() == 0) {
797 return;
798 }
dccp.txt (http://omnia2droid.googlecode.com/svn/trunk/) Unknown · 168 lines
57 DCCP_SOCKOPT_GET_CUR_MPS is read-only and retrieves the current maximum packet
58 size (application payload size) in bytes, see RFC 4340, section 14.
60 DCCP_SOCKOPT_AVAILABLE_CCIDS is also read-only and returns the list of CCIDs
103 DCCP_SOCKOPT_CCID_RX_INFO
104 Returns a `struct tfrc_rx_info' in optval; the buffer for optval and
105 optlen must be set to at least sizeof(struct tfrc_rx_info).
106 DCCP_SOCKOPT_CCID_TX_INFO
107 Returns a `struct tfrc_tx_info' in optval; the buffer for optval and
108 optlen must be set to at least sizeof(struct tfrc_tx_info).
110 On unidirectional connections it is useful to close the unused half-connection
DockableWindowFactory.html
(https://jedit.svn.sourceforge.net/svnroot/jedit)
HTML · 176 lines
✨ Summary
This HTML code is a documentation page for a Java class called DockableWindowFactory
. It displays information about the class, including its purpose, methods, and usage examples. The page includes navigation links to related classes and pages, as well as a table of contents and search functionality. The content is formatted in a standard documentation style, with clear headings and concise descriptions.
This HTML code is a documentation page for a Java class called DockableWindowFactory
. It displays information about the class, including its purpose, methods, and usage examples. The page includes navigation links to related classes and pages, as well as a table of contents and search functionality. The content is formatted in a standard documentation style, with clear headings and concise descriptions.
74 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
75 Packages that use <A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowFactory.html" title="class in org.gjt.sp.jedit.gui">DockableWindowFactory</A></FONT></TH>
76 </TR>
77 <TR BGCOLOR="white" CLASS="TableRowColor">
100 <CODE>static <A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowFactory.html" title="class in org.gjt.sp.jedit.gui">DockableWindowFactory</A></CODE></FONT></TD>
101 <TD><CODE><B>DockableWindowFactory.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowFactory.html#getInstance()">getInstance</A></B>()</CODE>
103 <BR>
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
112 <TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../../../org/gjt/sp/jedit/gui/package-summary.html">org.gjt.sp.jedit.gui</A> with parameters of type <A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowFactory.html" title="class in org.gjt.sp.jedit.gui">DockableWindowFactory</A></FONT></TH>
113 </TR>
114 <TR BGCOLOR="white" CLASS="TableRowColor">
115 <TD><CODE><B><A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowManager.html#DockableWindowManager(org.gjt.sp.jedit.View, org.gjt.sp.jedit.gui.DockableWindowFactory, org.gjt.sp.jedit.View.ViewConfig)">DockableWindowManager</A></B>(<A HREF="../../../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A> view,
116 <A HREF="../../../../../../org/gjt/sp/jedit/gui/DockableWindowFactory.html" title="class in org.gjt.sp.jedit.gui">DockableWindowFactory</A> factory,
XMLHttpRequest.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 1131 lines
56 #if USE(JSC)
57 #include "JSDOMBinding.h"
58 #include "JSDOMWindow.h"
59 #include <heap/Strong.h>
60 #include <runtime/JSLock.h>
279 return 0;
281 if (!m_responseArrayBuffer.get() && m_binaryResponseBuilder.get() && m_binaryResponseBuilder->size() > 0) {
282 m_responseArrayBuffer = ArrayBuffer::create(const_cast<char*>(m_binaryResponseBuilder->data()), static_cast<unsigned>(m_binaryResponseBuilder->size()));
631 }
633 if (m_requestHeaders.size() > 0)
634 request.addHTTPHeaderFields(m_requestHeaders);
D3DCACHE.CPP (https://jetpp.svn.sourceforge.net/svnroot/jetpp) Unknown · 1610 lines
632 void D3DCache_Balance(D3DCache *Cache)
633 {
634 int32 i,ChoseMissSizeMax,FailedSize,Creations;
635 D3DCache_Type *pCacheType,*ChoseCacheType;
712 pCacheType->SlotNeedRating = MissSizeMax;
714 if ( pCacheType->Size >= FailedSize )
715 continue; // rate me but don't add to me (already tried)
717 if ( MissSizeMax > ChoseMissSizeMax )
718 {
719 ChoseMissSizeMax = MissSizeMax;
720 ChoseCacheType = pCacheType;
721 }
739 // go back and restart with a smaller max size
740 FailedSize = ChoseCacheType->Size;
742 goto TryAgain;
ActorWorkbench.rc (https://jetpp.svn.sourceforge.net/svnroot/jetpp) Unknown · 416 lines
348 STRINGTABLE
349 BEGIN
350 ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
351 END
374 STRINGTABLE
375 BEGIN
376 AFX_IDS_SCSIZE "Change the window size"
377 AFX_IDS_SCMOVE "Change the window position"
378 AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
379 AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
380 AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
381 AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
382 AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
CompleteWord.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 601 lines
✨ Summary
This Java code implements a text input field with auto-completion functionality. When the user types, it suggests possible completions based on the current word and position in the text. The user can navigate through these suggestions using the arrow keys and select one to insert into the text. The code also handles backspace, tab, and other keyboard events to provide a basic text input experience with auto-completion.
This Java code implements a text input field with auto-completion functionality. When the user types, it suggests possible completions based on the current word and position in the text. The user can navigate through these suggestions using the arrow keys and select one to insert into the text. The code also handles backspace, tab, and other keyboard events to provide a basic text input experience with auto-completion.
1 /*
2 * CompleteWord.java - Complete word dialog
3 * :tabSize=8:indentSize=8:noTabs=false:
4 * :folding=explicit:collapseFolds=1:
5 *
35 //}}}
37 public class CompleteWord extends JWindow
38 {
39 //{{{ completeWord() method
277 Completion[] completionArray = (Completion[])completions
278 .toArray(new Completion[completions.size()]);
280 return completionArray;
BeanShell.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 799 lines
✨ Summary
This Java code is part of a BeanShell implementation, a JavaScript-like scripting language for Java. It provides an interface to interact with a Java application’s UI components and perform operations on them. The code sets up default variables for a script, handles exceptions, and creates an interpreter instance. It also manages class loading and listener registration for the interpreter.
This Java code is part of a BeanShell implementation, a JavaScript-like scripting language for Java. It provides an interface to interact with a Java application’s UI components and perform operations on them. The code sets up default variables for a script, handles exceptions, and creates an interpreter instance. It also manages class loading and listener registration for the interpreter.
1 /*
2 * BeanShell.java - BeanShell scripting support
3 * :tabSize=8:indentSize=8:noTabs=false:
4 * :folding=explicit:collapseFolds=1:
5 *
47 * <li><code>buffer</code> - the edit pane's {@link Buffer}.</li>
48 * <li><code>wm</code> - the view's {@link
49 * org.gjt.sp.jedit.gui.DockableWindowManager}.</li>
50 * <li><code>scriptPath</code> - the path name of the currently executing
51 * BeanShell script.</li>
677 namespace.setVariable("buffer",editPane.getBuffer());
678 namespace.setVariable("textArea",editPane.getTextArea());
679 namespace.setVariable("wm",view.getDockableWindowManager());
680 }
681 } //}}}
plugin-implement.xml (https://jedit.svn.sourceforge.net/svnroot/jedit) XML · 1233 lines
3 <!-- jEdit buffer-local properties: -->
4 <!-- :indentSize=1:tabSize=2:noTabs=true:maxLineLen=72: -->
6 <!-- Sat Jun 23 08:54:21 EDT 2001 @579 /Internet Time/ -->
225 <informalexample>
226 <programlisting>EditBus.addToNamedList(DockableWindow.DOCKABLE_WINDOW_LIST, NAME);</programlisting>
227 </informalexample>
478 <para>
479 The <application>QuickNotepad</application> plugin uses the dockable
480 window API and provides one dockable window. Dockable window classes
482 must implement the
DockableWindow.java
(https://jedit.svn.sourceforge.net/svnroot/jedit)
Java · 22 lines
✨ Summary
This Java interface defines a contract for notifying dockable windows about changes to their docking positions. It specifies a single method, move(String newPosition)
, which must be implemented by classes that implement this interface. This allows dockable windows to react to position changes before they occur.
This Java interface defines a contract for notifying dockable windows about changes to their docking positions. It specifies a single method, move(String newPosition)
, which must be implemented by classes that implement this interface. This allows dockable windows to react to position changes before they occur.
3 /**
4 * <p>An interface for notifying MOVABLE dockable windows before their docking
5 * position is changed. </p>
6 *
7 * @author Shlomy Reinstein
8 * @version $Id: DockableWindow.java 12504 2008-04-22 23:12:43Z ezust $
9 * @since jEdit 4.3pre11
10 */
12 public interface DockableWindow {
13 //{{{ Move notification
14 /**
toplevel.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 124 lines
COPYING (https://freespeech.svn.sourceforge.net/svnroot/freespeech) Unknown · 375 lines
Probe.cc
(https://freespeech.svn.sourceforge.net/svnroot/freespeech)
C++ · 342 lines
✨ Summary
This C++ code implements a Probe node in a data processing graph. It controls the flow of data between nodes, allowing for conditional execution and display of output values at specific intervals. The probe can be set to “show” or “hide”, and its state is updated based on user input and timer events. It provides methods for advancing the probe’s state, displaying output values, and tracing the node’s behavior.
This C++ code implements a Probe node in a data processing graph. It controls the flow of data between nodes, allowing for conditional execution and display of output values at specific intervals. The probe can be set to “show” or “hide”, and its state is updated based on user input and timer events. It provides methods for advancing the probe’s state, displaying output values, and tracing the node’s behavior.
109 GtkWidget *canvas2;
111 window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
112 gtk_object_set_data (GTK_OBJECT (window1), "window1", window1);
113 gtk_window_set_title (GTK_WINDOW (window1), _("window2"));
115 vbox2 = gtk_vbox_new (FALSE, 0);
135 gtk_container_add (GTK_CONTAINER (handlebox2), toolbar2);
137 tmp_toolbar_icon = gnome_stock_pixmap_widget (window1, GNOME_STOCK_PIXMAP_REDO);
138 button16 = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar2),
139 GTK_TOOLBAR_CHILD_BUTTON,
155 //cerr << "registered " << this << endl;
157 tmp_toolbar_icon = gnome_stock_pixmap_widget (window1, GNOME_STOCK_PIXMAP_STOP);
158 button17 = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar2),
159 GTK_TOOLBAR_CHILD_BUTTON,
smc91c92_cs.c
(http://omnia2droid.googlecode.com/svn/trunk/)
C · 2268 lines
✨ Summary
This C code implements a PCMCIA driver for SMC91C94 Ethernet cards. It provides functions to probe, detach, suspend, and resume the card, as well as register and unregister the driver with the Linux kernel. The code also defines a device table that maps specific card IDs to their corresponding driver data.
This C code implements a PCMCIA driver for SMC91C94 Ethernet cards. It provides functions to probe, detach, suspend, and resume the card, as well as register and unregister the driver with the Linux kernel. The code also defines a device table that maps specific card IDs to their corresponding driver data.
160 /* Symbolic constants for the SMC91c9* series chips, from Erik Stahlman. */
161 #define BANK_SELECT 14 /* Window select register. */
162 #define SMC_SELECT_BANK(x) { outw(x, ioaddr + BANK_SELECT); }
333 /* Create new ethernet device */
334 dev = alloc_etherdev(sizeof(struct smc_private));
335 if (!dev)
336 return -ENOMEM;
495 int i;
497 cfg_mem = kmalloc(sizeof(struct smc_cfg_mem), GFP_KERNEL);
498 if (!cfg_mem)
499 return -ENOMEM;
?????????? ????????? ?? ????????? ?????????? temp ? tmp, ? ????? ??????????? ?????????? ???? PATH - %SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem.reg (https://bitbucket.org/skynowa/winregistry.git) Unknown · 20 lines
document.wflow (http://freedom-erp.googlecode.com/svn/trunk/) Unknown · 264 lines
datacapture.cfg (http://fubon-wcm.googlecode.com/svn/trunk/) Unknown · 110 lines
17 <label>???</label>
18 <description>???</description>
19 <text maxlength="50" required="t" size="60"/>
20 </item>
43 <label>???</label>
44 <description>???</description>
45 <text maxlength="50" required="f" size="60"/>
46 </item>
51 <textarea cols="75" rows="10" wrap="off">
52 <callout type="cgi" label="????"
53 window-features="left=90, top=100, width=800, height=500, resizable=yes, toolbar=no, scrollbars=yes"
54 url="/iw-bin/custom/html_editor.ipl"/>
55 </textarea>