# Ruby-Gnome 2

**URL:** https://www.ruby-forum.com/c/desktop/ruby-gnome-2/12.md?page=19

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

---

## [Compatibility with 1.9. Current status?](https://www.ruby-forum.com/t/compatibility-with-1-9-current-status/160023)

<div class="topic-metadata">

**Author:** [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Replies:** 8\
**Last updated:** [February 13, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/compatibility-with-1-9-current-status/160023 "2009-02-13T16:11:18Z")

</div>

I’ve seen a few patches go in regarding compatibility with 1.9. I’ve started a home project using Ruby Gnome 2 and wondered whether I should try using 1.9 for it. I’m an experienced developer. C++/Java and the last fe…

---

## [Threading questions](https://www.ruby-forum.com/t/threading-questions/160107)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 5\
**Last updated:** [February 12, 2009, 9:38pm UTC](https://www.ruby-forum.com/t/threading-questions/160107 "2009-02-12T21:38:21Z")

</div>

Hi I have read the Tip about using Ruby threads with GTK (http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips\_threads), and I have a few questions that I hope you can help me with. First, since all Ruby code (in 1.8.6 at…

---

## [Problem with garbaje collection phase](https://www.ruby-forum.com/t/problem-with-garbaje-collection-phase/151531)

<div class="topic-metadata">

**Author:** [@Antonio\_Ignacio\_Cab](https://www.ruby-forum.com/u/Antonio_Ignacio_Cab)\
**Replies:** 11\
**Last updated:** [January 31, 2009, 2:23pm UTC](https://www.ruby-forum.com/t/problem-with-garbaje-collection-phase/151531 "2009-01-31T14:23:47Z")

</div>

Hello, I’m having problems with the execution of various programs with ruby ruby 1.8.7 (2008-08-11 patchlevel 72), and ruby-gnome2 0.17.0~rc1-6. When I run the programs, always stop and arise and message like: ./uni…

---

## [My first contribution to hiki](https://www.ruby-forum.com/t/my-first-contribution-to-hiki/158981)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 3\
**Last updated:** [January 31, 2009, 9:04am UTC](https://www.ruby-forum.com/t/my-first-contribution-to-hiki/158981 "2009-01-31T09:04:17Z")

</div>

Hi everyone. I try to edit the hiki. I change this page: http://ruby-gnome2.sourceforge.jp/hiki.cgi?GLib%3A%3ATimeout I would like to know if I have done things the rigth way. I would like to edit Gtk.timeout\_add to …

---

## [When to use 'type\_register'?](https://www.ruby-forum.com/t/when-to-use-type-register/159021)

<div class="topic-metadata">

**Author:** [@mazwak](https://www.ruby-forum.com/u/mazwak)\
**Replies:** 0\
**Last updated:** [January 30, 2009, 2:09pm UTC](https://www.ruby-forum.com/t/when-to-use-type-register/159021 "2009-01-30T14:09:25Z")

</div>

Hi I discovered lately the ‘type\_register’ thingy. From the examples, and from my research it seems used mostly for subclassing buttons. But there isn’t much documentation about it. So, I’m wondering, when should I u…

---

## [Text is displayed as squares, not actual characters](https://www.ruby-forum.com/t/text-is-displayed-as-squares-not-actual-characters/158951)

<div class="topic-metadata">

**Author:** [@alexh](https://www.ruby-forum.com/u/alexh)\
**Replies:** 0\
**Last updated:** [January 29, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/text-is-displayed-as-squares-not-actual-characters/158951 "2009-01-29T18:49:29Z")

</div>

Text is displayed as squares, not actual characters. Button, Label, et al. Screenshot attached. Environment details as follows. Thoughts? Thanks -AH … ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) \[i386-mswin32…

---

## [Map-like thing with custom location marking](https://www.ruby-forum.com/t/map-like-thing-with-custom-location-marking/158865)

<div class="topic-metadata">

**Author:** [@syn](https://www.ruby-forum.com/u/syn)\
**Replies:** 4\
**Last updated:** [January 29, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/map-like-thing-with-custom-location-marking/158865 "2009-01-29T16:58:24Z")

</div>

before I say anything else, I’d like to take this oppertunity to say hi to everyone (at least all who’ll read this) since I’m new here. now on to business! here’s the thing: I’m quite new to ruby and newer still to g…

---

## [How to obtain font info](https://www.ruby-forum.com/t/how-to-obtain-font-info/157919)

<div class="topic-metadata">

**Author:** [@rubinx](https://www.ruby-forum.com/u/rubinx)\
**Replies:** 1\
**Last updated:** [January 28, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/how-to-obtain-font-info/157919 "2009-01-28T16:18:43Z")

</div>

Hi, I would like to change my font on a label, but I do not want to use FontButton. How can I get the font information (I guess the Pango::FontDescription) of the font on my label, or for that matter font used with a…

---

## [Delete a file and trash](https://www.ruby-forum.com/t/delete-a-file-and-trash/158426)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 5\
**Last updated:** [January 27, 2009, 5:13pm UTC](https://www.ruby-forum.com/t/delete-a-file-and-trash/158426 "2009-01-27T17:13:55Z")

</div>

Hi everyone. I was wondering if there is a convenient way in ruby/gtk2 to move a file to user trash. Maybe ruby/gnomevfs implement this behavior but I did not find the correct method in the documentation. I would pref…

---

## [\`main': can't modify frozen string / Gstreamer](https://www.ruby-forum.com/t/main-cant-modify-frozen-string-gstreamer/158168)

<div class="topic-metadata">

**Author:** [@pgoetzin](https://www.ruby-forum.com/u/pgoetzin)\
**Replies:** 2\
**Last updated:** [January 25, 2009, 10:25am UTC](https://www.ruby-forum.com/t/main-cant-modify-frozen-string-gstreamer/158168 "2009-01-25T10:25:59Z")

</div>

Hello Everyone, last year i did a small video player with gst and ruby. its was pretty unstable but it was working. now i got a new/faster pc and reinstalled all the stuff and my player was not working anymore if i s…

---

## [Reorderable treeview and rows-reordered signal](https://www.ruby-forum.com/t/reorderable-treeview-and-rows-reordered-signal/158141)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 2\
**Last updated:** [January 20, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/reorderable-treeview-and-rows-reordered-signal/158141 "2009-01-20T18:29:48Z")

</div>

Hi. I use a reorderable Gtk::TreeView. I want to call a method when the list is reordered. I connect the rows-reordered signal of the model (a Gtk::ListStore). I can reoder the list but it seems that the rows-reorder…

---

## [How to participate in Ruby hiki](https://www.ruby-forum.com/t/how-to-participate-in-ruby-hiki/157744)

<div class="topic-metadata">

**Author:** [@rooby](https://www.ruby-forum.com/u/rooby)\
**Replies:** 5\
**Last updated:** [January 16, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/how-to-participate-in-ruby-hiki/157744 "2009-01-16T16:50:54Z")

</div>

Hi everyone. I have a two questions about participation in Ruby “hiki” (http://ruby-gnome2.sourceforge.jp/hiki.cgi). I decided to help with manuals and tutorials. So far I managed to get most of my work done, however…

---

## [Load Gdk::Pixbuf from string](https://www.ruby-forum.com/t/load-gdk-pixbuf-from-string/157176)

<div class="topic-metadata">

**Author:** [@Mathieu\_B](https://www.ruby-forum.com/u/Mathieu_B)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/load-gdk-pixbuf-from-string/157176 "2009-01-08T13:41:46Z")

</div>

Hi all, I have a Ruby string containing an image. The format, width, height, bits per sample, rowstride and so on, are not known in advance. If I save my string to a file and create a pixbuf with Gdk::Pixbuf.new(myf…

---

## [Trouble with installation of Ruby Gnome for Windows](https://www.ruby-forum.com/t/trouble-with-installation-of-ruby-gnome-for-windows/157154)

<div class="topic-metadata">

**Author:** [@Redefined\_Horizons](https://www.ruby-forum.com/u/Redefined_Horizons)\
**Replies:** 0\
**Last updated:** [January 7, 2009, 10:59pm UTC](https://www.ruby-forum.com/t/trouble-with-installation-of-ruby-gnome-for-windows/157154 "2009-01-07T22:59:45Z")

</div>

First let me say thanks to the programmers for putting this package together. I was following the installation guide for Microsoft Windows and I’m having some trouble. I’ve installed Ruby and Ruby Gnome as instructed. …

---

## [Gtk2.so: undefined symbol: rb\_progname](https://www.ruby-forum.com/t/gtk2-so-undefined-symbol-rb-progname/157031)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 9\
**Last updated:** [January 7, 2009, 5:34pm UTC](https://www.ruby-forum.com/t/gtk2-so-undefined-symbol-rb-progname/157031 "2009-01-07T17:34:21Z")

</div>

anyone here using gentoo? i just installed from the ruby overlay dev-lang/ruby-1.9.0.4-r1 and \[ebuild R \] dev-ruby/ruby-glib2-0.18.1 0 kB \[1\] \[ebuild R \] dev-ruby/ruby-gdkpixbuf2-0.18.1 0 kB \[1\] \[ebuild R…

---

## [Ruby-Gtk question](https://www.ruby-forum.com/t/ruby-gtk-question/156680)

<div class="topic-metadata">

**Author:** [@rubinx](https://www.ruby-forum.com/u/rubinx)\
**Replies:** 7\
**Last updated:** [January 6, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/ruby-gtk-question/156680 "2009-01-06T19:14:16Z")

</div>

Hi, Is there an equivalent to the g\_signal\_connect\_swapped() gtk+ call in Ruby. Following is the c code that allows a button to destroy an including window: ±----------------------------------------------------------…

---

## [What's happening with Ruby-Gtk+?](https://www.ruby-forum.com/t/whats-happening-with-ruby-gtk/156442)

<div class="topic-metadata">

**Author:** [@rubinx](https://www.ruby-forum.com/u/rubinx)\
**Replies:** 7\
**Last updated:** [January 2, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/whats-happening-with-ruby-gtk/156442 "2009-01-02T23:13:44Z")

</div>

In June I have started to play with {{ Ruby Gtk+ }} on Ubuntu Hardy. It was not too hard to install required pieces of software and libraries. After downloading the {{ ruby-gnome2-0.17.0-rc1 }} the README file helped …

---

## [Extending panel applet menu](https://www.ruby-forum.com/t/extending-panel-applet-menu/156470)

<div class="topic-metadata">

**Author:** [@Jacob\_Bower](https://www.ruby-forum.com/u/Jacob_Bower)\
**Replies:** 1\
**Last updated:** [December 30, 2008, 2:54am UTC](https://www.ruby-forum.com/t/extending-panel-applet-menu/156470 "2008-12-30T02:54:34Z")

</div>

Hi, Can someone please help me, I’m developing a panel applet using Ruby-gnome2 and I can’t seem to find a way to extend the default panel menu. When developing in C I gather the easiest way to do this normally would…

---

## [Extending panel applet menu](https://www.ruby-forum.com/t/extending-panel-applet-menu/156469)

<div class="topic-metadata">

**Author:** [@Jacob\_Bower](https://www.ruby-forum.com/u/Jacob_Bower)\
**Replies:** 0\
**Last updated:** [December 28, 2008, 2:57pm UTC](https://www.ruby-forum.com/t/extending-panel-applet-menu/156469 "2008-12-28T14:57:59Z")

</div>

Hi, Can someone please help me, I’m developing a panel applet using Ruby-gnome2 and I can’t seem to find a way to extend the default panel menu. There is a method PanelApplet.popup\_component(), but I can’t see how t…

---

## [Running sections of code at specific time intervals?](https://www.ruby-forum.com/t/running-sections-of-code-at-specific-time-intervals/156185)

<div class="topic-metadata">

**Author:** [@dawson360](https://www.ruby-forum.com/u/dawson360)\
**Replies:** 7\
**Last updated:** [December 24, 2008, 2:01am UTC](https://www.ruby-forum.com/t/running-sections-of-code-at-specific-time-intervals/156185 "2008-12-24T02:01:19Z")

</div>

Is there any way to execute specific code over and over, say every 5 seconds? I’m creating a little instant messenger program that uses blowfish and rsa public/private key encryption for secure communication. When a …

---

## [Gstreamer - where did get\_by\_name go?](https://www.ruby-forum.com/t/gstreamer-where-did-get-by-name-go/155981)

<div class="topic-metadata">

**Author:** [@BjSSSSrn\_Arild\_MSSS](https://www.ruby-forum.com/u/BjSSSSrn_Arild_MSSS)\
**Replies:** 1\
**Last updated:** [December 23, 2008, 10:34am UTC](https://www.ruby-forum.com/t/gstreamer-where-did-get-by-name-go/155981 "2008-12-23T10:34:16Z")

</div>

Hi, I’m trying to develop a simple audio player using Gstreamer, but I’m not sure how I can adjust the volume during playback. I’ve linked the volume element in the pipeline, and it works if i use #set\_volume before t…

---

## [How to use Builder.connect\_signals?](https://www.ruby-forum.com/t/how-to-use-builder-connect-signals/155939)

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 1\
**Last updated:** [December 18, 2008, 11:34am UTC](https://www.ruby-forum.com/t/how-to-use-builder-connect-signals/155939 "2008-12-18T11:34:58Z")

</div>

I think it’s different with the one in pygtk. If I define a class with member functions such as ‘on\_window\_destory’, how can I make the signal ‘destroy’ which defined in a gtkbuilder file(an xml file generated by glad…

---

## [Ruby-gnome2 application skeleton example](https://www.ruby-forum.com/t/ruby-gnome2-application-skeleton-example/155941)

<div class="topic-metadata">

**Author:** [@royw](https://www.ruby-forum.com/u/royw)\
**Replies:** 0\
**Last updated:** [December 18, 2008, 11:12am UTC](https://www.ruby-forum.com/t/ruby-gnome2-application-skeleton-example/155941 "2008-12-18T11:12:43Z")

</div>

I just posted a example application skeleton to: The skeleton demonstrates basic usage of actions, menus, toolbars, menus, statusbar, dialogs, images Iâ€™ve also included the start of a horizontal flow widget hfl…

---

## [Patch to compile under ruby 1.9 (svn)](https://www.ruby-forum.com/t/patch-to-compile-under-ruby-1-9-svn/151837)

<div class="topic-metadata">

**Author:** [@Carlo\_ESPrelz](https://www.ruby-forum.com/u/Carlo_ESPrelz)\
**Replies:** 3\
**Last updated:** [December 10, 2008, 1:25pm UTC](https://www.ruby-forum.com/t/patch-to-compile-under-ruby-1-9-svn/151837 "2008-12-10T13:25:41Z")

</div>

Below you can find the patch to current svn that needs to be applied to compile under ruby 1.9 (current svn). The only stuff that needed to be changed (but many, many times…) is from RARRAY(xxx)-\>len to RARRAY\_LEN(…

---

## [Hey all, here's some changes for compatibility with latest Ruby 1.9.1 preview 2](https://www.ruby-forum.com/t/hey-all-heres-some-changes-for-compatibility-with-latest-ruby-1-9-1-preview-2/154718)

<div class="topic-metadata">

**Author:** [@jpedrosa](https://www.ruby-forum.com/u/jpedrosa)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/hey-all-heres-some-changes-for-compatibility-with-latest-ruby-1-9-1-preview-2/154718 "2008-12-09T13:56:02Z")

</div>

Hi, Please review these changes and apply them as you see fit. I am not entirely sure about the correctness of this patch so review it, please. :slight\_smile: I could not come up with something better due to my limit…

---

## [Status of the Windows Version?](https://www.ruby-forum.com/t/status-of-the-windows-version/152781)

<div class="topic-metadata">

**Author:** [@MeMyselfAndI](https://www.ruby-forum.com/u/MeMyselfAndI)\
**Replies:** 1\
**Last updated:** [December 9, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/status-of-the-windows-version/152781 "2008-12-09T13:11:26Z")

</div>

Hello, I tried to port a program from Linux to Windows. After some hours I finally got it running the first time but instead of showing me a dialog a mass of pango warnings appeared finalized with a segfault. I am at…

---

## [Gtk::StatusIcon menu popup on activate and current\_time](https://www.ruby-forum.com/t/gtk-statusicon-menu-popup-on-activate-and-current-time/155029)

<div class="topic-metadata">

**Author:** [@RafaSSSSl\_Bekkema](https://www.ruby-forum.com/u/RafaSSSSl_Bekkema)\
**Replies:** 3\
**Last updated:** [December 7, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/gtk-statusicon-menu-popup-on-activate-and-current-time/155029 "2008-12-07T13:02:59Z")

</div>

Hi everyone, I’m trying to popup a menu on a StatusIcon on a left mouse click, however the menu will immediately disappear after the click unless the mouse button is held down. Apparently this has to do with the curr…

---

## [Treeview internal widgets question](https://www.ruby-forum.com/t/treeview-internal-widgets-question/154504)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 3, 2008, 11:51am UTC](https://www.ruby-forum.com/t/treeview-internal-widgets-question/154504 "2008-12-03T11:51:08Z")

</div>

Hi, I’d like to implement a widget of two Fixeds in a Vbox, attached to a TreeView in a HBox. The top Fixed would be attached to the TreeView’s header, in sense, it’d allocate the same vertical space. Would show some…

---

## [Ruby-gnome2 on a mac](https://www.ruby-forum.com/t/ruby-gnome2-on-a-mac/154478)

<div class="topic-metadata">

**Author:** [@royw](https://www.ruby-forum.com/u/royw)\
**Replies:** 6\
**Last updated:** [December 3, 2008, 12:29am UTC](https://www.ruby-forum.com/t/ruby-gnome2-on-a-mac/154478 "2008-12-03T00:29:33Z")

</div>

Howdy, Just thought I’d give a report on trying ruby-gnome2 on a new macbook. Prerequisites: X Code 3.0+ (I used 3.0 as I’m having a problem installing the latest 3.1.2) XQuartz MacPorts Using MacPorts, install: ga…

---

## [Gtk::DrawingArea and Icons](https://www.ruby-forum.com/t/gtk-drawingarea-and-icons/153040)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [November 11, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/gtk-drawingarea-and-icons/153040 "2008-11-11T17:22:09Z")

</div>

Hi, is it possible to put up images/icons within a Gtk::DrawingArea? I.e. if i have the image of a little cat, can this be displayed on it? Right now I only saw examples with custom elements, things like cairo\_contex…

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

[Next page](https://www.ruby-forum.com/c/desktop/ruby-gnome-2/12.md?page=20)
