Displaying 14 results from an estimated 14 matches for "tctrl".
Did you mean:
ctrl
2006 Jan 20
7
Wine and Kaleidagraph
Hi.
I am a recently debian user that don't know much about linux, but I work
hard :).
I was boring about MsWindows and I've decided to change, but I have to
work with some Windows programs.
Really I have a problem: I must use kaleidagraph in my work,I've seen
that this program is available in the Programs database, so I've
installed and upgraded my Wine.
After that I have
2014 Feb 16
0
[PATCH] drm/nouveau/bios: fix INDEX_ADDRESS_LATCHED trace printout
...drivers/gpu/drm/nouveau/core/subdev/bios/init.c
@@ -845,9 +845,8 @@ init_idx_addr_latched(struct nvbios_init *init)
u32 data = nv_ro32(bios, init->offset + 13);
u8 count = nv_ro08(bios, init->offset + 17);
- trace("INDEX_ADDRESS_LATCHED\t"
- "R[0x%06x] : R[0x%06x]\n\tCTRL &= 0x%08x |= 0x%08x\n",
- creg, dreg, mask, data);
+ trace("INDEX_ADDRESS_LATCHED\tR[0x%06x] : R[0x%06x]\n", creg, dreg);
+ trace("\tCTRL &= 0x%08x |= 0x%08x\n", mask, data);
init->offset += 18;
while (count--) {
--
1.8.3.2
2004 Jun 23
1
some wxruby questions
...sing wxruby for a bit, and I have some questions. Before
I start, I do want to say, that I am really liking wxruby, these
questions are a result if really putting it through it''s paces.
1) how do you assign accelerator keys?
this kind of works if I add a menu item like "&New\tCtrl-N", but this
only works for commands in the menu, and for some reason won''t work for
function keys, arrow keys, and translates many keys across platforms.
For example, it translates a "ctrl" key to the "command" key on a mac,
but sometimes I actually want to a...
2008 May 11
2
instabilities in wxRuby 1.9.6
...is a bug, or should I be doing something different to show/hide child
frames?
Thanks for any help with this.
Peter.
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test Frame")
me...
2001 Dec 05
9
Windows testing
R 1.4.0 is now sinking into feature freeze, and we'd like some help
testing it under Windows. Duncan Murdoch and Uwe Ligges have already
volunteered.
I've put a copy of SetupR140.exe at
http://www.stats.ox.ac.uk/pub/bdr/RWin
Also in that directory is a file TESTING suggesting some tests, not all of
which have been run on this build. As the graphics internals have been
changed a lot
2008 May 20
0
[ wxruby-Bugs-20255 ] Instabilities on Linux - 1.9.7
...K. See
http://rubyforge.org/pipermail/wxruby-users/2008-May/003916.html
==============
require ''wx''
class ChildFrame < Wx::Frame
def initialize parent
super(parent, -1, "Child frame")
viewMenu = Wx::Menu.new
viewMenu.append(Wx::ID_CLOSE, "Close\tCtrl-W", "Close this window")
evt_menu(Wx::ID_CLOSE) { show false }
menuBar = Wx::MenuBar.new
menuBar.append(viewMenu, "&View")
set_menu_bar menuBar
end
end
class TestFrame < Wx::Frame
def initialize
super(nil, -1, "Test Frame")
me...
2007 Oct 27
0
[ wxruby-Bugs-15115 ] MenuBar and Statusbar showing wrong text
...ot;pt-br" => "Exibe informa??es sobre o programa" }
menuView.append(Toggle_Whitespace, WHITE_SPACE[$LANGUAGE], WHITE_SPACE_ST[$LANGUAGE], ITEM_CHECK)
menuHelp.append(Minimal_About, ABOUT[$LANGUAGE], ABOUT_ST[$LANGUAGE])
When i run the code the created window shows:
"Open\tCtrl-O" instead "Exibe Espa?os em Branco" in the menu
"Show about dialog" instead "Exibe informa??es sobre o programa" on the status bar
Code that shows the bug appended.
----------------------------------------------------------------------
You can respond by vis...
2007 Dec 19
1
Menu Bar KeyBoard Shortcuts.
Hello,
I''m trying to use a wxMenuBar from XRC built with DialogBlocks on Windows.
My first example had the menu being called from the Frame because I couldn''t figure out
how to call the menu from my XRC. Shortcuts worked nicely.
Example 1:
menu.append(Wx::ID_EXIT, "E&xit\tAlt-X", "Quit this program")
tool.append(Wx::ID_PHOTO, "&MS Picture
2007 Sep 05
6
centering MessageDialog
Hi,
is there any way to center the default Wx::MessageDialog or Wx::message_box
on parent (owner) instead of screen?
I haven''t found any constant other than Wx::DEFAULT_POSITION.
thanks for your help.
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2004 Aug 25
7
problem subclassing Wx::Menu
...f initialize(title, x, y, w, h)
super(nil, -1, title, Wx::Point.new(x, y), Wx::Size.new(w, h))
end
end
class MyApp < Wx::App
def on_init()
frame = MyFrame.new(''EasyMenu'', 50, 50, 400, 200)
# @menu_foo = Wx::Menu.new()
# @menu_foo.append(999, "&Qux\tCtrl-Q")
# frame.evt_menu(999) { | e | p "QUX" }
@menu_foo = EasyMenu.new(frame)
@menu_foo.add_menu_item("&Qux", "Ctrl-Q") { | e | p "QUX" }
menu_bar = Wx::MenuBar.new()
menu_bar.append(@menu_foo, "&Foo")
frame.set_...
2004 May 22
4
couple of questions
Hi folks
A couple of questions:
1) I seem to get funny artifacts in the display of TreeCtrl, ComboBox
and ListBox when the MDI child frame containing it is first painted (see
attached - it should be two-root treeview, unopened). I''m not sure if
it''s related to being in a MDI, but the controls sample looks OK. The
artifacts are cleared up when it''s repainted or
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...;Welcome to wxRuby!")
+ end
+
+ def setup_panel
+ sizer = Wx::BoxSizer.new(Wx::VERTICAL)
+ top_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL)
+
+ @go_butt = Wx::StaticText.new(self, -1, ''Location:'')
+ top_sizer.add(@go_butt, 0, Wx::ALL, 4)
+ @addr_bar = Wx::TextCtrl.new(self, -1, ''HOME'', Wx::DEFAULT_POSITION,
+ Wx::DEFAULT_SIZE, Wx::TE_READONLY)
+ top_sizer.add(@addr_bar, 1, Wx::ALL, 4)
+ sizer.add(top_sizer, 0, Wx::EXPAND|Wx::TOP|Wx::BOTTOM, 4)
+
+ @html_win = MyHtmlWindow.new(self, -1)
+ @html_win....
2004 Jan 08
3
pictorG
...set_client_size_wh(@bitmap.get_width,@bitmap.get_height)
evt_paint {on_paint()}
evt_left_down {on_click()}
end
def on_click
@bitmap.destroy()
self.destroy()
end
def on_paint
dc = PaintDC.new(self)
dc.draw_bitmap(@bitmap,0,0,true)
end
end
class Pictures < ListCtrl # -- show the pictures
def initialize parent
super parent,-1,DEFAULT_POSITION,DEFAULT_SIZE,LC_ICON|LC_AUTOARRANGE
assign_image_list(@imageList=ImageList.new(THM_WIDTH,THM_HEIGHT),IMAGE_LIST_NORMAL)
# evt_list_begin_drag(self.get_id) {|e| log_status "Oh, dragging"; dragsrc =...