Displaying 20 results from an estimated 26 matches for "set_colour".
Did you mean:
set_colours
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...ot;>@@ -229,15 +223,15 @@
</span><span class="cx">
</span><span class="cx"> def onChooseFont(event)
</span><span class="cx"> data = FontData.new
</span><del>- data.set_initial_font($app.canvas_font)
- data.set_colour($app.canvas_text_colour)
</del><ins>+ data.set_initial_font(Wx::get_app.canvas_font)
+ data.set_colour(Wx::get_app.canvas_text_colour)
</ins><span class="cx">
</span><span class="cx"> dialog = FontDialog.new(self, data)
</span>...
2016 Jun 18
8
[PATCH 0/7] p2v: Multiple improvements to the look of virt-p2v.
In the run dialog, I have implemented an ANSI colour escape sequence
interpreter, so that colours displayed by the remote virt-v2v are now
shown to the user.
(https://bugzilla.redhat.com/show_bug.cgi?id=1314244)
This requires virt-v2v to send colours. It wasn't doing that because
the output was a pipe (as we capture the output into the log file).
So I added a global --colours option to make
2008 Aug 24
2
Missing ids in documentation
...>
brush.html:<h3 class="Brush_getstyle">Brush#get_style</h3>
brush.html:<h3 class="Brush_ishatch">Brush#is_hatch</h3>
brush.html:<h3 class="Brush_isok">Brush#is_ok</h3>
brush.html:<h3 class="Brush_setcolour">#Brush_set_colour</h3>
brush.html:<h3 class="Brush_setstipple">Brush#set_stipple</h3>
brush.html:<h3 class="Brush_setstyle">Brush#set_style</h3>
dc.html:<h3>DC#get_text_foreground</h3>
dc.html:<h3>DC#get_user_scale</h3>
dc.html:<h3>DC#gr...
2016 Sep 19
0
[PATCH 2/3] mllib: expose disk decrypt functionalities
...check gc consistency for --debug-gc *)
let set_debug_gc () =
at_exit (fun () -> Gc.compact()) in
@@ -604,6 +608,14 @@ let create_standard_options argspec ?anon_fun usage_msg =
[ L"color"; L"colors";
L"colour"; L"colours" ], Getopt.Unit set_colours, s_"Use ANSI colour sequences even if not tty";
] @ argspec in
+ let argspec =
+ argspec @
+ (if key_opts then
+ [
+ [ L"echo-keys" ], Getopt.Unit c_set_echo_keys, s_"Don't turn off echo for passphrases";
+ [ L"keys-...
2007 Mar 23
0
[918] branches/wxruby2/wxwidgets_282/samples/aui/aui.rb: Fix a couple of little bugs and typos
.../samples/aui/aui.rb        2007-03-23 17:00:12 UTC (rev 918)
</span><span class="lines">@@ -226,35 +226,36 @@
</span><span class="cx">
</span><span class="cx"> def on_set_colour(event)
</span><span class="cx"> dlg = Wx::ColourDialog.new(@frame)
</span><del>- dlg.set_title("Cololur Picker")
</del><ins>+ dlg.set_title("Colour Picker")
</ins><span class="cx">
</span><sp...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...gt; - "-q", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
> - "--quiet", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
> - "--color", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
> - "--colors", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
> - "--colour", Arg.Unit set_colours, " " ^ s_&q...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...ernal)";
- "-q", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--quiet", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--color", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colors", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colour", Arg.Unit set_colours, " " ^ s_"Use AN...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...ernal)";
- "-q", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--quiet", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--color", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colors", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colour", Arg.Unit set_colours, " " ^ s_"Use AN...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...ernal)";
- "-q", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--quiet", Arg.Unit set_quiet, " " ^ s_"Don't print progress messages";
- "--color", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colors", Arg.Unit set_colours, " " ^ s_"Use ANSI colour sequences even if not tty";
- "--colour", Arg.Unit set_colours, " " ^ s_"Use AN...
2016 Jul 15
5
[PATCH 0/3] mllib: Various fixes and changes to Getopt module.
The second patch is obviously not complete yet - for discussion only.
Rich.
2007 May 05
0
[1012] trunk/wxruby2/doc/textile: Added docs for AUI Advanced User Interface classes
...tric
+
+ Integer *get_metric*(%(arg-type)Integer% id)
+
+Get the value of a certain setting.
+
+_id_ can be one of the size values of *AuiPaneDockArtSetting*.
+
+
+h3(#AuiDockArt_setcolor). AuiDockArt#set_color
+
+ *set_color*(%(arg-type)Integer% id, %(arg-type)Colour% color)
+
+The same as "set_colour":#AuiDockArt_setcolour.
+
+h3(#AuiDockArt_setcolour). AuiDockArt#set_colour
+
+ *set_colour*(%(arg-type)Integer% id, %(arg-type)Color% colour)
+
+Set a certain setting with the value _colour_.
+
+_id_ can be one of the colour values of *AuiPaneDockArtSetting*.
+
+h3(#AuiDockArt_setfont). Aui...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...lt;del>- col = $myCanvas.get_background_colour()
</del><ins>+ col = $my_canvas.get_background_colour()
</ins><span class="cx">
</span><span class="cx"> data = ColourData.new
</span><span class="cx"> data.set_colour(col)
</span><del>- data.set_choose_full(TRUE)
</del><ins>+ data.set_choose_full(true)
</ins><span class="cx"> for i in 0 ... 16
</span><span class="cx"> colour = Colour.new(i*16, i*16, i*16)
</span><span cl...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across
something that kinda bothers me...
In order to implement validators you have to override the clone method.
The directors seems to be set up to specifically handle this situation.
However, whenever C++ calls back to the object''s methods the swig_get_up
function is returning false. It seems like swig_up
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...Getopt.Unit set_debug_gc, Getopt.hidden_option_description;
- [ "-q"; "--quiet" ], Getopt.Unit set_quiet, s_"Don't print progress messages";
- [ "--color"; "--colors";
- "--colour"; "--colours" ], Getopt.Unit set_colours, s_"Use ANSI colour sequences even if not tty";
+ [ S 'V'; L"version" ], Getopt.Unit print_version_and_exit, s_"Display version and exit";
+ [ S 'v'; L"verbose" ], Getopt.Unit set_verbose, s_"Enable libguestfs debugging messages&q...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2:
- Further fixes to Getopt int parsing.
- Completed the L/S changes.
- Fixed the test suite so it passes now. Also we don't need the
special-case tests for 64 bit arch.
Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4:
- Pushed the first patch upstream since it was ACKed.
- Prevent use of M except for the special virt-v2v options.
- Sort the options after added --help etc.
- Make corresponding fixes to the tests.
Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3:
- Add M variant and test it.
Rich.
2017 Jun 15
0
[PATCH v6 04/41] mllib: Split ‘Common_utils’ into ‘Std_utils’ + ‘Common_utils’.
...th
+ | [] -> raise (Executable_not_found executable)
+ | x :: _ -> x
+
+(* Program name. *)
+let prog = Filename.basename Sys.executable_name
+
+(* Stores the colours (--colours), quiet (--quiet), trace (-x) and
+ * verbose (-v) flags in a global variable.
+ *)
+let colours = ref false
+let set_colours () = colours := true
+let colours () = !colours
+
+let quiet = ref false
+let set_quiet () = quiet := true
+let quiet () = !quiet
+
+let trace = ref false
+let set_trace () = trace := true
+let trace () = !trace
+
+let verbose = ref false
+let set_verbose () = verbose := true
+let verbose () = !ve...
2016 Sep 19
6
[PATCH 0/3] add crypto/LUKS support in some OCaml-based tools
Hi,
this series refactors some guestfish code (not much), and exposes it
via Common_utils, so it is possible to decrypt LUKS partitions when
using virt-customize, virt-get-kernel, virt-sparsify, and virt-sysprep.
This brings them closer in features with C tools.
Most probably a couple more of other OCaml-based tools (virt-v2v to
convert encrypted guests, and virt-builder to use encrypted
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...er)
+ get_sizer.set_size_hints(self)
+ update_colours
+
+ evt_spinctrl(ID_PaneBorderSize) { | e | on_pane_border_size(e) }
+ evt_spinctrl(ID_SashSize) { | e | on_sash_size(e) }
+ evt_spinctrl(ID_CaptionSize) { | e | on_caption_size(e) }
+ evt_button(ID_BackgroundColour) { | e | on_set_colour(e) }
+ evt_button(ID_SashColour) { | e | on_set_colour(e) }
+ evt_button(ID_InactiveCaptionColour) { | e | on_set_colour(e) }
+ evt_button(ID_InactiveCaptionGradientColour) { | e | on_set_colour(e) }
+ evt_button(ID_InactiveCaptionTextColour) { | e | on_set_colour(e) }
+ evt_button(I...