search for: set_window

Displaying 2 results from an estimated 2 matches for "set_window".

2005 Feb 24
2
mutable Query objects
...ian::Database("/path/to/db"); Xapian::Enquire enquire(db); // make a simple query Xapian::Query myquery(Xapian::Query::OP_NEAR, phrase, phrase + 2); enquire.set_query(myquery); // Now change the query - this shouldn't affect the query enquire // will run, but it does. myquery.set_window(10); The essential issue here is that queries are mutable, so Enquire::set_query() needs to clone the Query object to stop it being changed behind the scenes. I can see two fixes for this: (a) implement a "deep copy" clone for Query objects and use it in Enquire::set_query() (b) make...
2007 Jan 03
0
[823] trunk/wxruby2/doc/textile: Remove docs for some deprecated classes
...ettabselection -* "TabView#set_text_colour":#TabView_settextcolour -* "TabView#set_top_margin":#TabView_settopmargin -* "TabView#set_vertical_tab_text_spacing":#TabView_setverticaltabtextspacing -* "TabView#set_view_rect":#TabView_setviewrect -* "TabView#set_window":#TabView_setwindow - -</div> - - -h3. TabView.new - - *TabView.new*(%(arg-type)Integer% style = TAB_STYLE_DRAW_BOX TAB_STYLE_COLOUR_INTERIOR) - -Constructor. - -_style_ may be a bit list of the following: - - -|TAB_STYLE_DRAW_BOX|Draw a box around the view area. Most commonly used for...