# Desktop

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

[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:** 14

---

## [Thread.new](https://www.ruby-forum.com/t/thread-new/214232)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 26, 2011, 11:12am UTC](https://www.ruby-forum.com/t/thread-new/214232 "2011-11-26T11:12:53Z")

</div>

This code runs fine (except you can’t mess with the window until the 10 loops are finished). But if the comment mark is moved down to the 10.times do so that it can run in a different thread, nothing below Thread.new…

---

## [Question about modal window](https://www.ruby-forum.com/t/question-about-modal-window/213948)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 17, 2011, 10:41am UTC](https://www.ruby-forum.com/t/question-about-modal-window/213948 "2011-11-17T10:41:44Z")

</div>

Dear all, I need to create a modal child window. So far I use gtk\_window, but it has one problem usually I have self.modal = true in initialize method and \*self.modal false\* in close method. problem is close method d…

---

## [GTK Table - attach to table but minimal rows?](https://www.ruby-forum.com/t/gtk-table-attach-to-table-but-minimal-rows/213572)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 11, 2011, 9:45am UTC](https://www.ruby-forum.com/t/gtk-table-attach-to-table-but-minimal-rows/213572 "2011-11-11T09:45:53Z")

</div>

I need a hint to layout a program. Right now I use a table. It has 3 columns: | one | two | three This is fine so far. Now I want to append a Gtk::Statusbar | one | two | three STATUSBAR GOES HERE But I wa…

---

## [Gentoo ebuild for latest version?](https://www.ruby-forum.com/t/gentoo-ebuild-for-latest-version/213719)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [November 9, 2011, 9:53pm UTC](https://www.ruby-forum.com/t/gentoo-ebuild-for-latest-version/213719 "2011-11-09T21:53:09Z")

</div>

DO anybody use wxruby on gentoo. The last update of my gentoo platform broke my wxruby programs. The ebuild I have in my /usr/local/portage is for version 1.9.8 of wxruby and it uses version \<1.3.36 of swig, but port…

---

## [Question about Gtk::Builder and connect\_signals](https://www.ruby-forum.com/t/question-about-gtk-builder-and-connect-signals/213241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 6, 2011, 1:39pm UTC](https://www.ruby-forum.com/t/question-about-gtk-builder-and-connect-signals/213241 "2011-11-06T13:39:42Z")

</div>

Looking at the source code of Gtk::Builder#connect\_signals, I see the following code: def \_\_connect\_signals\_\_(connector, object, signal\_name, handler\_name, connect\_object, flags) handler…

---

## [Bigger font size](https://www.ruby-forum.com/t/bigger-font-size/213065)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [October 31, 2011, 5:32am UTC](https://www.ruby-forum.com/t/bigger-font-size/213065 "2011-10-31T05:32:22Z")

</div>

Hi all First, I want to thank you developer, for this great library. I like it so much and it really helps me a lot and now, I’m currently making an app for elder people here is there a way to make all font in my a…

---

## [ERROR - libwx\_gtk2u\_media-2.8.so.0: cannot open shared object file](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 30, 2011, 10:33am UTC](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313 "2011-10-30T10:33:05Z")

</div>

Hi all, I’ve been working with wxruby for a while with an Ubuntu 10.04 environment mounted with VMWare over Windows. Now, I’m trying to set it up in a new environment. It’s Ubuntu 11.04, using RVM with both ruby 1.…

---

## [How to balance between GUI and Speed?](https://www.ruby-forum.com/t/how-to-balance-between-gui-and-speed/206914)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 27, 2011, 12:14pm UTC](https://www.ruby-forum.com/t/how-to-balance-between-gui-and-speed/206914 "2011-10-27T12:14:08Z")

</div>

Hi everyone, I’m using WxRuby to develop a GUI app, and it needs to transfer files through ftp. If I use ftp.put\_binary method, the GUI can response, but the ftp is very slow. And if I use Process.create and Process…

---

## [Best way of dealing with progressbars](https://www.ruby-forum.com/t/best-way-of-dealing-with-progressbars/213209)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 27, 2011, 11:22am UTC](https://www.ruby-forum.com/t/best-way-of-dealing-with-progressbars/213209 "2011-10-27T11:22:14Z")

</div>

Hi! What’s the best way of dealing with progressbars? I am currently using a Gtk.idle\_add function for updating a progressbar from a different thread. It doesn’t run very well. I was wondering if anyone has a bett…

---

## [Cleaning up requires in glib2.rb](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 27, 2011, 10:41am UTC](https://www.ruby-forum.com/t/cleaning-up-requires-in-glib2-rb/213235 "2011-10-27T10:41:55Z")

</div>

Hi! Currently, glib2.rb requires pathname, English, and thread. Pathname is only used sporadically and can easily be replaced by File methods. English is used for $POSTMATCH. I don’t think this is worth including E…

---

## [Change color of greyed widget](https://www.ruby-forum.com/t/change-color-of-greyed-widget/213153)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 25, 2011, 12:39pm UTC](https://www.ruby-forum.com/t/change-color-of-greyed-widget/213153 "2011-10-25T12:39:21Z")

</div>

Dear all, thanks for your answer of my other question now I got another question how to change color of greyed widget? I use style “click button to edit” form, so when my frame is not in editable mode, I set sensit…

---

## [Rg3 / girffi](https://www.ruby-forum.com/t/rg3-girffi/213043)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 21, 2011, 3:02pm UTC](https://www.ruby-forum.com/t/rg3-girffi/213043 "2011-10-21T15:02:50Z")

</div>

Hi, Wondering what are views of people interested/using rg2 about the future (gtk3)? What do you think about girffi or a potential rg3? Thanks – Guillaume C.

---

## [XP and Windows 7 -- def() inside App#run block problem](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 20, 2011, 11:04pm UTC](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753 "2011-10-20T23:04:50Z")

</div>

(slightly edited) When I run the following code, I expect a blank frame to open (which is what happens when the def block is left out of the code). Instead, the program exits immediately. ruby 1.9.2p290 (2011-07-09) …

---

## [Where / how do I submit fixes for rbbr?](https://www.ruby-forum.com/t/where-how-do-i-submit-fixes-for-rbbr/212817)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [October 14, 2011, 2:47pm UTC](https://www.ruby-forum.com/t/where-how-do-i-submit-fixes-for-rbbr/212817 "2011-10-14T14:47:49Z")

</div>

I ran into some problems with rbbr and anonymous modules on ruby 1.9.2 and have made a fix that seems to work (giving the modules names so rbbr has something to work with). What is the proper way to submit it for co…

---

## [Having trouble show/hide bitmap in a sizer](https://www.ruby-forum.com/t/having-trouble-show-hide-bitmap-in-a-sizer/212682)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 12, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/having-trouble-show-hide-bitmap-in-a-sizer/212682 "2011-10-12T15:03:00Z")

</div>

I’m trying to display one of two separate bitmap images along with some text. The images are a check and and a cross symbol and are displayed as FIRMWARE C or FIRMWARE X or FIRMWARE where C would be my checkmark …

---

## [Position Gtk::Window where on the screen?](https://www.ruby-forum.com/t/position-gtk-window-where-on-the-screen/212714)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 12, 2011, 5:46am UTC](https://www.ruby-forum.com/t/position-gtk-window-where-on-the-screen/212714 "2011-10-12T05:46:06Z")

</div>

Hi, Can I specify where my Application starts on the screen? Like at x:5 px and y:10 px?

---

## [WxRuby refresh from a long running function](https://www.ruby-forum.com/t/wxruby-refresh-from-a-long-running-function/212572)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 11, 2011, 1:44pm UTC](https://www.ruby-forum.com/t/wxruby-refresh-from-a-long-running-function/212572 "2011-10-11T13:44:03Z")

</div>

Hi All, This is my first post and I am a complete (well almost complete) noob at WxRuby. I have programmed in Ruby for a while, but now I am trying my hand at a GUI base program running on Windows. There is quite a…

---

## [How to get xid on Windows?](https://www.ruby-forum.com/t/how-to-get-xid-on-windows/212370)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [October 11, 2011, 6:17am UTC](https://www.ruby-forum.com/t/how-to-get-xid-on-windows/212370 "2011-10-11T06:17:57Z")

</div>

How to get xid on Windows? Hi folks, When I ran the following tiny snippet on my Windows 7, require ‘gtk2’ win = Gtk::Window.new win.signal\_connect(‘expose-event’) do p win.window.xid end win.show\_all Gtk.main I…

---

## [Converting array of Strings to C array of strings](https://www.ruby-forum.com/t/converting-array-of-strings-to-c-array-of-strings/211637)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 9\
**Last updated:** [October 10, 2011, 2:18pm UTC](https://www.ruby-forum.com/t/converting-array-of-strings-to-c-array-of-strings/211637 "2011-10-10T14:18:15Z")

</div>

This pattern is repeated a couple of times in glib2 and gtk2: for (i = 0; i \< gargc; i++) { if (TYPE(RARRAY\_PTR(argary)\[i\]) == T\_STRING) { gargv\[i+1\] = RVAL2CSTR(RARRAY\_PTR(argary)\[i\]); } else { …

---

## [Howto install gstreamer gem on windows](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 10, 2011, 3:56am UTC](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584 "2011-10-10T03:56:51Z")

</div>

Hello, I would like to run the Satoshi test of gst+gtk on Windows. But what is the procedure for install gstreamer+gem gstreamer ? I have already ruby 1.9.2p180 devkit ossbuid GStreamer-WinBuilds-GPL-x86.msi GStre…

---

## [Ruby 1.9 Threading Support](https://www.ruby-forum.com/t/ruby-1-9-threading-support/212495)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 5, 2011, 1:17pm UTC](https://www.ruby-forum.com/t/ruby-1-9-threading-support/212495 "2011-10-05T13:17:41Z")

</div>

Hi, Are there any plans to pepper the codebase with rb\_blocking\_region calls? If so, is there a preferred way to approach it? I’ve attached a sample patch for Gdk::Pixbuf.new that allows loading from disk to play ni…

---

## [Is the thread-handling tip relevant in Ruby 1.9?](https://www.ruby-forum.com/t/is-the-thread-handling-tip-relevant-in-ruby-1-9/212490)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 4, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/is-the-thread-handling-tip-relevant-in-ruby-1-9/212490 "2011-10-04T17:16:17Z")

</div>

Hi! Is http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tips\_threads still relevant in Ruby 1.9? If so, how does this work with GLib::MainLoop.new and implicit mainloops created with, for example, Gtk::Dialog.r…

---

## [Fwd: ruby-gnome2/ruby-gnome2 Remove generated files](https://www.ruby-forum.com/t/fwd-ruby-gnome2-ruby-gnome2-remove-generated-files/212487)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 4, 2011, 3:35pm UTC](https://www.ruby-forum.com/t/fwd-ruby-gnome2-ruby-gnome2-remove-generated-files/212487 "2011-10-04T15:35:03Z")

</div>

Do we still need this list? Isn’t RSS plus this list enough? ---------- Forwarded message ---------- From: removed\_email\_address@domain.invalid Date: Tue, Oct 4, 2011 at 15:17 Subject: ruby-gnome2/ruby-gnome2 \[mast…

---

## [Please don't use non ASCII character in source](https://www.ruby-forum.com/t/please-dont-use-non-ascii-character-in-source/212484)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 4, 2011, 3:27pm UTC](https://www.ruby-forum.com/t/please-dont-use-non-ascii-character-in-source/212484 "2011-10-04T15:27:38Z")

</div>

Hi, Nikolai, thanks for your recent many commits. I found that you use (U+2019 RIGHT SINGLE QUOTATION MARK) instead of ’ (U+0027 APOSTROPHE). Basically, Could you use ASCII character (U+0027 instead of U+2019) in so…

---

## [Fix for GLib::Spawn regression](https://www.ruby-forum.com/t/fix-for-glib-spawn-regression/212485)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 4, 2011, 3:22pm UTC](https://www.ruby-forum.com/t/fix-for-glib-spawn-regression/212485 "2011-10-04T15:22:42Z")

</div>

Hi, I’ve just opened a pull request Fix for GLib::Spawn regression by geoffyoungs · Pull Request #1 · ruby-gnome/ruby-gnome · GitHub with a patch that fixes GLib::Spawn.async, GLib::Spawn…async\_with\_pipes and GLib::S…

---

## [GitHub account](https://www.ruby-forum.com/t/github-account/212144)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 12\
**Last updated:** [October 2, 2011, 1:28pm UTC](https://www.ruby-forum.com/t/github-account/212144 "2011-10-02T13:28:04Z")

</div>

Hi, We will move the repository to GitHub from SF.net: GitHub - ruby-gnome/ruby-gnome: A set of bindings for the GNOME libraries to use from Ruby. Could developers tell me your GitHub account? I’ll add you to the Rub…

---

## [Creating custom widget](https://www.ruby-forum.com/t/creating-custom-widget/212373)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 2, 2011, 3:34am UTC](https://www.ruby-forum.com/t/creating-custom-widget/212373 "2011-10-02T03:34:50Z")

</div>

Hi, I’m trying to learn and experiment with Ruby a bit so I decided to make a simple diagram editor using wxruby. The problem is, I will need to create a custom widget for the diagram components (e.g. rectangles, con…

---

## [Packaging wxRuby fails](https://www.ruby-forum.com/t/packaging-wxruby-fails/204309)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 26\
**Last updated:** [October 1, 2011, 11:52am UTC](https://www.ruby-forum.com/t/packaging-wxruby-fails/204309 "2011-10-01T11:52:40Z")

</div>

Hi there, I (once again) just compiled wxRuby 2.0.1 successfully, but I can’t get “rake gem” to work: =========================================== $ rake gem (in /home/quintus/Downloads/wxruby-2.0.1) Enabling DYNAMI…

---

## [rubyWax 0.11.10 released](https://www.ruby-forum.com/t/rubywax-0-11-10-released/212324)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 29, 2011, 5:43pm UTC](https://www.ruby-forum.com/t/rubywax-0-11-10-released/212324 "2011-09-29T17:43:16Z")

</div>

rubyWax - an audio player for folks who miss their vinyl… v. 0.11.10 minor updates install guide for gstreamer and ruby-gstreamer gem on Windows check it here: http://rubywax.weebly.com/

---

## [Git2svn repository created; may I push it to github.com/ruby-gnome2/ruby-gnome2?](https://www.ruby-forum.com/t/git2svn-repository-created-may-i-push-it-to-github-com-ruby-gnome2-ruby-gnome2/211999)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 9\
**Last updated:** [September 28, 2011, 2:55pm UTC](https://www.ruby-forum.com/t/git2svn-repository-created-may-i-push-it-to-github-com-ruby-gnome2-ruby-gnome2/211999 "2011-09-28T14:55:19Z")

</div>

Hi! I have created a local git repository from the current Subversion trunk along with all tags and branches. May I push it to GitHub - ruby-gnome/ruby-gnome: A set of bindings for the GNOME libraries to use from Rub…

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

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