# Desktop

**URL:** https://www.ruby-forum.com/c/desktop/34.md?page=6

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 7

---

## [Timer event with callback](https://www.ruby-forum.com/t/timer-event-with-callback/237394)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [December 12, 2013, 11:10am UTC](https://www.ruby-forum.com/t/timer-event-with-callback/237394 "2013-12-12T11:10:58Z")

</div>

Greetings, There is an excellent Timer in Tk, called TkRtTimer. The functionality is elegant: It has a callback after an elapsed amount of time. When I try and include ‘tk’ in a visual ruby project I get into big t…

---

## [Visual Ruby - Can't start](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/visual-ruby-cant-start/238010 "2013-12-11T23:21:54Z")

</div>

Hi, I am using Windows and I followed the instructions to install Ruby (installed Ruby 1.93 and Glade). When I try to start it by entering “vr” in command prompt with Ruby I the following errors : C:/Ruby193/lib/rub…

---

## [VR::TreeView](https://www.ruby-forum.com/t/vr-treeview/237992)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [December 11, 2013, 9:13pm UTC](https://www.ruby-forum.com/t/vr-treeview/237992 "2013-12-11T21:13:00Z")

</div>

I am playing with the ListView example and trying to turn it into a VR::TreeView. I am unable to figure out how to add items. in the listviewobject example rows are added row = add\_row() row\[:join\] = VR::CalendarCol…

---

## [Updates to VisualRuby v 1.0.12 released](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 11, 2013, 9:07pm UTC](https://www.ruby-forum.com/t/updates-to-visualruby-v-1-0-12-released/238001 "2013-12-11T21:07:56Z")

</div>

Hi y’all: I’ve had some time lately, so I’ve been working on a new version of visualruby. I just pushed ver1.0.12. I’ve made a few great improvements that simplify things even further. Now, there is a #show() method…

---

## [ScrolledWindow - how to enable scrolling with page up and page down keys?](https://www.ruby-forum.com/t/scrolledwindow-how-to-enable-scrolling-with-page-up-and-page-down-keys/237993)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 11, 2013, 8:30am UTC](https://www.ruby-forum.com/t/scrolledwindow-how-to-enable-scrolling-with-page-up-and-page-down-keys/237993 "2013-12-11T08:30:48Z")

</div>

Hi, I have a Scrolled Window. The mouse keys work fine, I can scroll up and down, but not with page up and page down. Does someone understand why page up and page down does not work or more importantly how to enable …

---

## [Drawing children widgets in a Gtk::Layout](https://www.ruby-forum.com/t/drawing-children-widgets-in-a-gtk-layout/237906)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [December 7, 2013, 9:53pm UTC](https://www.ruby-forum.com/t/drawing-children-widgets-in-a-gtk-layout/237906 "2013-12-07T21:53:03Z")

</div>

Hello ! I’m dealing with a problem that I can’t find any solution on the net. I got a Gtk::Layout where I load multiples Gtk::Image created with .png images files. I stock each of those Image in a Gtk::EventBox to ca…

---

## [Setting absolute position of a Window in GTK - is there no top-left shortcut?](https://www.ruby-forum.com/t/setting-absolute-position-of-a-window-in-gtk-is-there-no-top-left-shortcut/237884)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 7, 2013, 1:32pm UTC](https://www.ruby-forum.com/t/setting-absolute-position-of-a-window-in-gtk-is-there-no-top-left-shortcut/237884 "2013-12-07T13:32:05Z")

</div>

Hi guys. I am looking at the documentation: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AWindow#Position Let me copy paste here: POS\_NONE No influence is made on placement. POS\_CENTER Windows should be plac…

---

## [Vr run error](https://www.ruby-forum.com/t/vr-run-error/228934)

<div class="topic-metadata">

**Author:** [@daborg69](https://www.ruby-forum.com/u/daborg69)\
**Replies:** 2\
**Last updated:** [December 7, 2013, 12:31am UTC](https://www.ruby-forum.com/t/vr-run-error/228934 "2013-12-07T00:31:46Z")

</div>

I am currently trying to get vr up and running on Ubuntu 12.04.2 Virtualbox I am running ruby 2.0.0 I have re-installed ‘builder’ gem thinking that that may be the problem. Successfully installed builder-3.2.0 but w…

---

## [Using visualruby to edit a Hash](https://www.ruby-forum.com/t/using-visualruby-to-edit-a-hash/237934)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [December 6, 2013, 11:24pm UTC](https://www.ruby-forum.com/t/using-visualruby-to-edit-a-hash/237934 "2013-12-06T23:24:01Z")

</div>

I am new to visualruby. I am looking for a way to display and alter the contents of a Hash. I have code that uses VRuby from ruby 1.8.7 that would take a hash and dynamically display a dialog with drop-downs, tree-l…

---

## [Gtk3 override\_color doesn't work](https://www.ruby-forum.com/t/gtk3-override-color-doesnt-work/237940)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 11\
**Last updated:** [December 6, 2013, 10:52pm UTC](https://www.ruby-forum.com/t/gtk3-override-color-doesnt-work/237940 "2013-12-06T22:52:37Z")

</div>

Hi, I work on a project using Gtk3 & Ruby. I want to change colors of button and check button. So I tried like below: checkBut = Gtk::CheckButton.new(“Png”) button = Gtk::Button.new(:label =\> “Cancel”) color= Gdk::RG…

---

## [wxRuby for wxWidgets 3.0?](https://www.ruby-forum.com/t/wxruby-for-wxwidgets-3-0/237894)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 6, 2013, 2:15pm UTC](https://www.ruby-forum.com/t/wxruby-for-wxwidgets-3-0/237894 "2013-12-06T14:15:26Z")

</div>

Hi all, wxWidgets 3.0 stable is out, is there a plan to keep wxRuby, IMO, the best ruby GUI toolkit updated and alive (working with Ruby 2.0)? Cheers JS

---

## [Doesn't load virtual ruby](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [December 5, 2013, 11:27pm UTC](https://www.ruby-forum.com/t/doesnt-load-virtual-ruby/237917 "2013-12-05T23:27:06Z")

</div>

When I type “vr” into the command prompt (on windows 8.1/7) it gives me this error message: “‘vr’ is not recognized as an internal or external command, operable program or batch file.” I’m currently on a windows 8.1 O…

---

## [Mp4 to wav](https://www.ruby-forum.com/t/mp4-to-wav/237501)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 16, 2013, 8:55am UTC](https://www.ruby-forum.com/t/mp4-to-wav/237501 "2013-11-16T08:55:41Z")

</div>

Hi, Gurus, I’ve … pipeline = Gst::Pipeline.new “audio-player” source = Gst::ElementFactory.make “filesrc”, “file-source” decoder = Gst::ElementFactory.make “qtdemux”, “mp4-decoder” conv = Gst::ElementFactory.make “…

---

## [GSettings implemented?](https://www.ruby-forum.com/t/gsettings-implemented/237203)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [November 12, 2013, 3:13pm UTC](https://www.ruby-forum.com/t/gsettings-implemented/237203 "2013-11-12T15:13:19Z")

</div>

Hi, in an quite old Mail from kou I saw, that GSettings as the gconf replacement is implemented in Gio. I searched around, but found no source, doc, examples or anything else. Can someone please point me to the right…

---

## [Game of life](https://www.ruby-forum.com/t/game-of-life/237372)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 8, 2013, 6:45pm UTC](https://www.ruby-forum.com/t/game-of-life/237372 "2013-11-08T18:45:13Z")

</div>

Hello, So here a little game for the week end: https://gist.github.com/raubarede/7374717

---

## [Keep CSS style while state change](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [October 28, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/keep-css-style-while-state-change/237108 "2013-10-28T16:28:26Z")

</div>

Hi, I have some buttons with images, where I have changed the style with CSS. When I now change the state of the button from sensitive to insensitive, the image in the button get the default theme style. That is obvi…

---

## [Memory allocation problem with my Gtk program (using Cairo)](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 25, 2013, 7:08am UTC](https://www.ruby-forum.com/t/memory-allocation-problem-with-my-gtk-program-using-cairo/237009 "2013-10-25T07:08:37Z")

</div>

Hi, I’m trying to write a program that uses a picture from the user’s files to generate a random jigsaw puzzle. For that I’m using Gtk+ for the UI, and Cairo to uses png images as mask for creating the pieces. It work…

---

## [Issue with Cairo mask function in a Gtk Window](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 13, 2013, 7:51am UTC](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422 "2013-10-13T07:51:40Z")

</div>

Hi ! I’m trying to do smth a little tricky that is explain only in one tutorial I found on the net (and it’s a C tuto) It’s to use a pixbuf, or eventually a png file as a mask. All seems to work well, except the last …

---

## [Gtk::Tooltip - delay?](https://www.ruby-forum.com/t/gtk-tooltip-delay/236510)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [September 28, 2013, 2:37am UTC](https://www.ruby-forum.com/t/gtk-tooltip-delay/236510 "2013-09-28T02:37:12Z")

</div>

Hi, I like Tooltips but they are displayed almost instantly. I want to set a custom delay, like “wait 3 seconds before displaying a tooltip”, where the number 3 can be toggled by me or the user eventually. Any idea …

---

## [Visual Ruby install error](https://www.ruby-forum.com/t/visual-ruby-install-error/246267)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [September 26, 2013, 7:03am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267 "2013-09-26T07:03:35Z")

</div>

I have been trying to install visual ruby for a few days, i reinstalled everything and my system looks ok but i still get errors and i really want to use visual ruby. I have attached the output from the errors. I have…

---

## [Gstreamer : how to put video in a gtk widget on windows?](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [September 23, 2013, 10:13pm UTC](https://www.ruby-forum.com/t/gstreamer-how-to-put-video-in-a-gtk-widget-on-windows/246111 "2013-09-23T22:13:16Z")

</div>

Hello, On windows with old gst version, we use to put video in a gtk window with xwindow\_id: view = Gst::ElementFactory.make(‘playbin’) view.video\_sink = Gst::ElementFactory.make(‘directdrawsink’) handle…

---

## [Are the Ruby bindings threadsafe?](https://www.ruby-forum.com/t/are-the-ruby-bindings-threadsafe/246223)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 18, 2013, 9:07am UTC](https://www.ruby-forum.com/t/are-the-ruby-bindings-threadsafe/246223 "2013-09-18T09:07:05Z")

</div>

Hi there, just a quick question… I’ve got a GUI program doing some networking stuff and want the GUI to react on what I get from my TCPSocket. To not block the GUI when the server/connection is slow, I intend to extra…

---

## [Wxruby and wxwidget-2.9.5 latest](https://www.ruby-forum.com/t/wxruby-and-wxwidget-2-9-5-latest/236393)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [September 2, 2013, 3:56am UTC](https://www.ruby-forum.com/t/wxruby-and-wxwidget-2-9-5-latest/236393 "2013-09-02T03:56:38Z")

</div>

is there a way to have wxwidget-2.9 working with ruby ? seems that the latest wxwidget is better for use with mac osx… so, there is many widget who are not been implemented in the last version of wxruby… like wxFilePi…

---

## [OS X Snow Leopard + wxRuby 2.0.1 gem - WORKING](https://www.ruby-forum.com/t/os-x-snow-leopard-wxruby-2-0-1-gem-working/191192)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 13\
**Last updated:** [August 31, 2013, 3:17am UTC](https://www.ruby-forum.com/t/os-x-snow-leopard-wxruby-2-0-1-gem-working/191192 "2013-08-31T03:17:35Z")

</div>

Hi It is possible to use the standard wxRuby 2.0.1 gem with the standard system ruby in /usr/bin/ruby in OS X 10.6 download the gem http://rubyforge.org/frs/download.php/63386/wxruby-2.0.1-universal-darwin-9.gem i…

---

## [Visual ruby rocks!](https://www.ruby-forum.com/t/visual-ruby-rocks/236377)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 12:11am UTC](https://www.ruby-forum.com/t/visual-ruby-rocks/236377 "2013-08-30T00:11:58Z")

</div>

Holy man! This actually works! I feel seriously lucky. Great job Eric. A

---

## [Open a context menu with actions in TextView widget](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 24, 2013, 8:06am UTC](https://www.ruby-forum.com/t/open-a-context-menu-with-actions-in-textview-widget/246058 "2013-08-24T08:06:43Z")

</div>

Hi. I have a question. I have a window with three things - ScrolledWindow, TextBuffer and TextView. I can select text just fine with my mouse. Now I would like to press right mouse click on selection and popup a sm…

---

## [Join the mailing list](https://www.ruby-forum.com/t/join-the-mailing-list/246031)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 24, 2013, 2:12am UTC](https://www.ruby-forum.com/t/join-the-mailing-list/246031 "2013-08-24T02:12:28Z")

</div>

Hi, I’m a recently joined member of the Ruby-GNOME2 Project Team. I look forward to talking with all of you. Best regards, Masafumi Y. GitHub: myokoym

---

## [Gtk3 scratch, on Windows](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 16, 2013, 4:10pm UTC](https://www.ruby-forum.com/t/gtk3-scratch-on-windows/235444 "2013-08-16T16:10:27Z")

</div>

Hello, Using gtk3 on window, i get a bug (program scratch) when resizing window (specially on resizing dialog window), with almost all my Ruiby applications. Here a scratch with an old gtk demo : …\\gtk3-2.0.2-x86-mi…

---

## [Simply install and use ruby and wxruby is it possible?](https://www.ruby-forum.com/t/simply-install-and-use-ruby-and-wxruby-is-it-possible/245963)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 12\
**Last updated:** [August 6, 2013, 2:51am UTC](https://www.ruby-forum.com/t/simply-install-and-use-ruby-and-wxruby-is-it-possible/245963 "2013-08-06T02:51:03Z")

</div>

hello, i followed the way of install wxruby by gem method… but not works for me. I search and download by sourgeforge and install the downloaded gem (2.0.1), but the installation works… but really not in fact… when …

---

## [Notebook page changed event](https://www.ruby-forum.com/t/notebook-page-changed-event/235823)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [August 2, 2013, 6:10pm UTC](https://www.ruby-forum.com/t/notebook-page-changed-event/235823 "2013-08-02T18:10:34Z")

</div>

I’m having a bit of a problem with the notebook page changed event. I would like to have a page change trigger a refresh of data for the page that is currently selected (the one that’s been changed to). In each of th…

[Previous page](https://www.ruby-forum.com/c/desktop/34.md?page=5)

[Next page](https://www.ruby-forum.com/c/desktop/34.md?page=7)
