Searched +refs:new +refs:screen (Results 1 - 25 of 61) sorted by relevance

123

/macosx-10.9.5/ruby-104/ruby/ext/curses/
H A Dview2.rb9 # Create a new fileviewer, and view the file.
12 @screen = nil
28 @screen = Curses.stdscr
30 @screen.scrollok(true)
31 #$screen.keypad(true)
44 @data_lines[0..@screen.maxy-1].each_with_index{|line, idx|
45 @screen.setpos(idx, 0)
46 @screen.addstr(line)
48 @screen.setpos(0,0)
49 @screen
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/demos-en/
H A Dixset129 @frame = TkFrame.new(parent)
130 TkLabel.new(@frame, 'text'=>text).pack('side'=>'left','expand'=>'y')
131 @entry = TkEntry.new(@frame, 'width'=>length, 'relief'=>'sunken') {
153 buttons = TkFrame.new(@root) {|f|
154 [ TkButton.new(f, 'command'=>proc{win.ok}, 'text'=>'Ok'),
155 TkButton.new(f, 'command'=>proc{win.writesettings}, 'text'=>'Apply'),
156 TkButton.new(f, 'command'=>proc{win.cancel}, 'text'=>'Cancel'),
157 TkButton.new(f, 'command'=>proc{win.quit}, 'text'=>'Quit') ].each{|b|
165 bell = TkFrame.new(@root, 'relief'=>'raised', 'borderwidth'=>2)
166 l = TkLabel.new(bel
[all...]
H A Dixset2135 @frame = TkFrame.new(parent)
136 TkLabel.new(@frame, 'text'=>text).pack('side'=>'left')
138 @entry = TkSpinbox.new(@frame, 'width'=>length, 'relief'=>'sunken',
141 @entry = TkEntry.new(@frame, 'width'=>length, 'relief'=>'sunken')
166 btn_frame = TkFrame.new(@root)
168 @btn_OK = TkButton.new(btn_frame, 'command'=>proc{win.ok},
170 @btn_APPLY = TkButton.new(btn_frame, 'command'=>proc{win.writesettings},
173 @btn_CANCEL = TkButton.new(btn_frame, 'command'=>proc{win.cancel},
176 @btn_QUIT = TkButton.new(btn_frame, 'command'=>proc{win.quit},
204 bell = TkLabelframe.new(
[all...]
H A Dgoldberg.rb51 $goldberg_demo = TkToplevel.new {|w|
57 base_frame = TkFrame.new($goldberg_demo).pack(:fill=>:both, :expand=>true)
61 msg = TkLabel.new($goldberg_demo) {
72 TkFrame.new($goldberg_demo) {|frame|
73 TkButton.new(frame) {
82 TkButton.new(frame) {
98 @S['speed'] = TkVariable.new(5)
99 @S['cnt'] = TkVariable.new(0)
100 @S['message'] = TkVariable.new("\\nWelcome\\nto\\nRuby/Tk")
101 @S['pause'] = TkVariable.new
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/demos-jp/
H A Dixset129 @frame = TkFrame.new(parent)
130 TkLabel.new(@frame, 'text'=>text).pack('side'=>'left','expand'=>'y')
131 @entry = TkEntry.new(@frame, 'width'=>length, 'relief'=>'sunken') {
153 buttons = TkFrame.new(@root) {|f|
154 [ TkButton.new(f, 'command'=>proc{win.ok}, 'text'=>'Ok'),
155 TkButton.new(f, 'command'=>proc{win.writesettings}, 'text'=>'Apply'),
156 TkButton.new(f, 'command'=>proc{win.cancel}, 'text'=>'Cancel'),
157 TkButton.new(f, 'command'=>proc{win.quit}, 'text'=>'Quit') ].each{|b|
165 bell = TkFrame.new(@root, 'relief'=>'raised', 'borderwidth'=>2)
166 l = TkLabel.new(bel
[all...]
H A Dixset2136 @frame = TkFrame.new(parent)
137 TkLabel.new(@frame, 'text'=>text).pack('side'=>'left')
139 @entry = TkSpinbox.new(@frame, 'width'=>length, 'relief'=>'sunken',
142 @entry = TkEntry.new(@frame, 'width'=>length, 'relief'=>'sunken')
167 btn_frame = TkFrame.new(@root)
169 @btn_OK = TkButton.new(btn_frame, 'command'=>proc{win.ok},
171 @btn_APPLY = TkButton.new(btn_frame, 'command'=>proc{win.writesettings},
174 @btn_CANCEL = TkButton.new(btn_frame, 'command'=>proc{win.cancel},
177 @btn_QUIT = TkButton.new(btn_frame, 'command'=>proc{win.quit},
205 bell = TkLabelframe.new(
[all...]
H A Dgoldberg.rb52 $goldberg_demo = TkToplevel.new {|w|
58 base_frame = TkFrame.new($goldberg_demo).pack(:fill=>:both, :expand=>true)
62 msg = TkLabel.new($goldberg_demo) {
73 TkFrame.new($goldberg_demo) {|frame|
74 TkButton.new(frame) {
83 TkButton.new(frame) {
99 @S['speed'] = TkVariable.new(5)
100 @S['cnt'] = TkVariable.new(0)
101 # @S['message'] = TkVariable.new("\\nWelcome\\nto\\nRuby/Tk")
102 @S['message'] = TkVariable.new("\\
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Dtoplevel.rb17 # def initialize(parent=nil, screen=nil, classname=nil, keys=nil)
18 # if screen.kind_of? Hash
19 # keys = screen.dup
21 # @screen = screen
29 # @screen = keys.delete('screen') if keys.key?('screen')
41 # s << "-screen" << @screen i
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkColor.c121 } else if ((Tk_Screen(tkwin) == tkColPtr->screen)
140 if ((Tk_Screen(tkwin) == tkColPtr->screen)
151 * Still no luck. Call Tk_GetColor to allocate a new TkColor object.
196 int new;
210 nameHashPtr = Tcl_CreateHashEntry(&dispPtr->colorNameTable, name, &new);
211 if (!new) {
215 if ((tkColPtr->screen == Tk_Screen(tkwin))
241 if (new) {
248 * Now create a new TkColor structure and add it to colorNameTable
254 tkColPtr->screen
194 int new; local
297 int new; local
460 Screen *screen = tkColPtr->screen; local
[all...]
H A Dtk3d.c85 Tk_Window tkwin; /* Need the screen the border is used on.*/
110 } else if ((Tk_Screen(tkwin) == borderPtr->screen)
130 * the screen and colormap of the last access, and if they
140 if ((Tk_Screen(tkwin) == borderPtr->screen)
151 * Still no luck. Call Tk_Get3DBorder to allocate a new border.
196 int new;
207 hashPtr = Tcl_CreateHashEntry(&dispPtr->borderTable, colorName, &new);
208 if (!new) {
212 if ((Tk_Screen(tkwin) == borderPtr->screen)
223 * No satisfactory border exists yet. Initialize a new on
194 int new; local
[all...]
/macosx-10.9.5/tcl-102/tk/tk/macosx/
H A DtkMacOSXXStubs.c72 * Called to set up initial screen info or when an event indicated
73 * display (screen) change.
79 * May change info regarding the screen.
88 Screen *screen;
95 screen = display->screens;
107 screen->root_depth = NSBitsPerPixelFromDepth([s depth]);
108 screen->width = bounds.size.width;
109 screen->height = bounds.size.height;
110 screen->mwidth = (bounds.size.width * 254 + 360) / 720;
111 screen
87 Screen *screen; local
141 Screen *screen; local
[all...]
/macosx-10.9.5/vim-53/runtime/ftplugin/
H A Dflexwiki.vim21 " as a newline starts a new paragraph in FlexWiki.
25 " Wrap at a character in 'breakat' rather than at last char on screen
40 " Move up and down by display lines, to account for screen wrapping
/macosx-10.9.5/tcl-102/tk/tk/win/
H A DtkWinColor.c176 * Allocate a new TkColor for the color with the given name.
183 * allocating a new colormap entry. Allocates a new TkColor structure.
201 * is found, allocate a new WinColor and store the XColor and the system
237 * a new TkColor structure.
283 Screen *screen = tkColPtr->screen;
285 XFreeColors(DisplayOfScreen(screen), tkColPtr->colormap,
333 * Allocates a new color in the palette.
356 int new, refCoun
279 Screen *screen = tkColPtr->screen; local
350 int new, refCount; local
514 int new; local
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/win/
H A DtkWinColor.c176 * Allocate a new TkColor for the color with the given name.
183 * allocating a new colormap entry. Allocates a new TkColor
202 * color is found, allocate a new WinColor and store the XColor and the
239 * Allocates a new TkColor structure.
285 Screen *screen = tkColPtr->screen;
287 XFreeColors(DisplayOfScreen(screen), tkColPtr->colormap,
335 * Allocates a new color in the palette.
358 int new, refCoun
281 Screen *screen = tkColPtr->screen; local
352 int new, refCount; local
520 int new; local
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/example/
H A Dtknewsbiff301 set new {}
314 } -new {
315 set new [lindex $watch 1]
318 _abort "watch: expecting -threshold -display or -new but found: [lindex $watch 0]"
330 if {[llength $new]} {
332 uplevel $new
414 and button 3 to remove window from screen until the next update.
428 watch dc.dining -new "play yumyum"
429 watch nist.security -new "exec red-alert"
433 watch alt.howard-stern -threshold 100 -new "pla
[all...]
/macosx-10.9.5/vim-53/runtime/autoload/
H A Djavascriptcomplete.vim289 " Screen - screen.
349 \ 'length', 'location', 'name', 'onload', 'opener', 'parent', 'screen', 'self',
356 " XMLHttpRequest - access by new xxx()
393 " 3. General declaration follows "= new Type" syntax, additional else
399 let decl_line = search(object.'.\{-}=\s*new\s*', 'bn')
401 let object_type = matchstr(getline(decl_line), object.'.\{-}=\s*new\s*\zs\k\+\ze')
402 if object_type == 'ActiveXObject' && matchstr(getline(decl_line), object.'.\{-}=\s*new\s*ActiveXObject\s*(.Microsoft\.XMLHTTP.)') != ''
414 let dext_line = filter(copy(b:js_extfiles), 'v:val =~ "'.object.'.\\{-}=\\s*new\\s*"')
416 let object_type = matchstr(dext_line[-1], object.'.\{-}=\s*new\s*\zs\k\+\ze')
417 if object_type == 'ActiveXObject' && matchstr(dext_line[-1], object.'.\{-}=\s*new\
[all...]
H A Dgetscript.vim220 " evidently a :r creates a new buffer (the "#" buffer) that is subsequently unused -- bwiping it
248 " found a new script to permanently include in the datafile
337 " set options to allow progress to be shown on screen
344 " put current line on top-of-screen and interpret it into
427 " call Decho(".new|exe silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile).' '.shellescape(scriptaddr)."|bw!")
428 new|exe "silent r!".g:GetLatestVimScripts_wget." ".g:GetLatestVimScripts_options." ".shellescape(tmpfile).' '.shellescape(scriptaddr)|bw!
507 " the plugin has been updated since we last obtained it, so download a new copy
509 " call Decho(".downloading new <".sname.">")
510 echomsg ".downloading new <".sname.">"
512 " call Decho(".new|ex
[all...]
/macosx-10.9.5/tcl-102/tk/tk/tests/
H A DcanvPsImg.tcl1 # This file creates a screen to exercise Postscript generation
11 frame .t.f -visual $visual -colormap new
40 message .t.m -text {This screen exercises the Postscript-generation abilities of Tk canvas widgets for images. Click the buttons below to select a Visual type for the canvas and colormode for the Postscript output. Then click "Print" to send the results to the default printer, or "Print to file" to put the Postscript output in a file called "/tmp/test.ps". You can also click on items in the canvas to delete them.
/macosx-10.9.5/tcl-102/tk84/tk/tests/
H A DcanvPsImg.tcl1 # This file creates a screen to exercise Postscript generation
11 frame .t.f -visual $visual -colormap new
40 message .t.m -text {This screen exercises the Postscript-generation abilities of Tk canvas widgets for images. Click the buttons below to select a Visual type for the canvas and colormode for the Postscript output. Then click "Print" to send the results to the default printer, or "Print to file" to put the Postscript output in a file called "/tmp/test.ps". You can also click on items in the canvas to delete them.
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dsmil.vim34 syn keyword smilSpecial contained remove freeze true false on off overdub caption new pause replace
66 syn match smilArg contained "system-screen-depth"
67 syn match smilArg contained "system-screen-size"
74 " This are new SMIL functionnalities seen on www.w3.org on August 3rd 1999
/macosx-10.9.5/CPANInternal-140/Parse-Yapp/
H A Dyapp99 Display the usage screen.
159 -h Display this help screen
213 my($parser)=new Parse::Yapp(inputfile => $filename);
/macosx-10.9.5/CPANInternal-140/Parse-Yapp-1.05/
H A Dyapp99 Display the usage screen.
159 -h Display this help screen
213 my($parser)=new Parse::Yapp(inputfile => $filename);
/macosx-10.9.5/libpcap-42/libpcap/msdos/
H A Dpkt_rx0.asm78 mov es, bx ;; r-mode segment of colour screen
83 stosw ;; write to screen at ES:EDI
105 mov newInOffset, ax ;; remember new input offset
/macosx-10.9.5/tcl-102/tcl_ext/bwidget/bwidget/
H A Dfont.tcl83 {times new roman} \
89 screen \
100 screen \
103 {times new roman} \
/macosx-10.9.5/emacs-92/emacs/lwlib/
H A Dxlwmenu.c1309 /* Make the window fit in the screen */
1421 /* Now place the new menus. */
1618 Screen *screen = XtScreen ((Widget) mw);
1688 x_free_dpy_colors (dpy, screen, cmap,
1698 x_free_dpy_colors (dpy, screen, cmap,
1713 x_free_dpy_colors (dpy, screen, cmap, &mw->menu.top_shadow_color, 1);
1724 x_free_dpy_colors (dpy, screen, cmap,
1749 Screen *screen = XtScreen ((Widget) mw);
1759 x_free_dpy_colors (dpy, screen, cmap, px, i);
1948 XlwMenuSetValues (current, request, new)
1613 Screen *screen = XtScreen ((Widget) mw); local
1744 Screen *screen = XtScreen ((Widget) mw); local
2439 Screen* screen = XtScreen (mw); local
[all...]

Completed in 229 milliseconds

123