# Ruby-Gnome 2

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

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

---

## [Signal & object](https://www.ruby-forum.com/t/signal-object/76800)

<div class="topic-metadata">

**Author:** [@Laurent\_Marzullo](https://www.ruby-forum.com/u/Laurent_Marzullo)\
**Replies:** 0\
**Last updated:** [November 21, 2006, 9:47am UTC](https://www.ruby-forum.com/t/signal-object/76800 "2006-11-21T09:47:53Z")

</div>

Hello, I want to use signal (as in Gtk, not system signal) for some of my objects. And I would like to know if there’s any other way than inherited from GLib::Object to be able to define some signal for my own objec…

---

## [Selecting appropriate widgets -- advice please](https://www.ruby-forum.com/t/selecting-appropriate-widgets-advice-please/76475)

<div class="topic-metadata">

**Author:** [@Mike\_Wilson](https://www.ruby-forum.com/u/Mike_Wilson)\
**Replies:** 2\
**Last updated:** [November 19, 2006, 11:18am UTC](https://www.ruby-forum.com/t/selecting-appropriate-widgets-advice-please/76475 "2006-11-19T11:18:24Z")

</div>

I’m planning a fairly simple application to build while learning GNOME & GTK with Ruby. I could use some help in choosing the appropriate widgets. I want to draw several boxes, containing text and joined by lines – s…

---

## [Ruby & libglade & menu shortcut](https://www.ruby-forum.com/t/ruby-libglade-menu-shortcut/76167)

<div class="topic-metadata">

**Author:** [@Laurent\_Marzullo](https://www.ruby-forum.com/u/Laurent_Marzullo)\
**Replies:** 0\
**Last updated:** [November 16, 2006, 11:01am UTC](https://www.ruby-forum.com/t/ruby-libglade-menu-shortcut/76167 "2006-11-16T11:01:15Z")

</div>

Hello, I’m trying to use libglade wirh Ruby. I’ve defined a little main window (gnome application window) and I load it like this: class ApplicationWindow \< Gtk:Window def initialize( app\_name , app\_version ) supe…

---

## [Printoperation](https://www.ruby-forum.com/t/printoperation/75771)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 10\
**Last updated:** [November 16, 2006, 12:54am UTC](https://www.ruby-forum.com/t/printoperation/75771 "2006-11-16T00:54:16Z")

</div>

hi list, i’m experimenting with printoperation, on a cvs version of Fri Nov 10 11:47:07 2006. and i found a “\[BUG\] Segmentation fault” p context.page\_setup.paper\_size.inspect in line 23 aborts the script. i’m still…

---

## [Strange Gtk Error/Warining](https://www.ruby-forum.com/t/strange-gtk-error-warining/75611)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 2\
**Last updated:** [November 11, 2006, 4:31pm UTC](https://www.ruby-forum.com/t/strange-gtk-error-warining/75611 "2006-11-11T16:31:35Z")

</div>

Hi, I saw something regarding few other exceptions like that, but it wasn’t exactly like this: when I’m making in the irb, "require ‘gtk2’ " I got the following errors: /usr/lib/ruby/1.8/glib2.rb: line 55 GLib-GObj…

---

## [Ruby-Thread and Gtk](https://www.ruby-forum.com/t/ruby-thread-and-gtk/75520)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 6\
**Last updated:** [November 11, 2006, 1:55pm UTC](https://www.ruby-forum.com/t/ruby-thread-and-gtk/75520 "2006-11-11T13:55:14Z")

</div>

Hi to all, I did all my best and try to find out a way how to use Ruby with Gtk and Threads. I need an example, or a better explaining about how this things works. I found something like that “In Ruby/GTK, you shoul…

---

## [Re: what's in Gtk.init?](https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533)

<div class="topic-metadata">

**Author:** [@wang\_pengchao](https://www.ruby-forum.com/u/wang_pengchao)\
**Replies:** 1\
**Last updated:** [November 11, 2006, 4:32am UTC](https://www.ruby-forum.com/t/re-whats-in-gtk-init/75533 "2006-11-11T04:32:23Z")

</div>

Hi, thanks for your reply, kou But $0 has no problem, it’s a string I have assigned. Date: Thu, 09 Nov 2006 22:07:21 +0900 (JST) From: Kouhei S. removed\_email\_address@domain.invalid Subject: Re: \[ruby-gnome2-devel-e…

---

## [Should this this script error ? (Gtk::button and set\_image)](https://www.ruby-forum.com/t/should-this-this-script-error-gtk-button-and-set-image/75184)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [November 9, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/should-this-this-script-error-gtk-button-and-set-image/75184 "2006-11-09T19:56:00Z")

</div>

Hi, I was trying to change the icons of a button when the mouse moves over the button, and when it moves out again. I was trying to use set\_image but I recieved a little error. Unsure whether this could be a bug, here…

---

## [What's in Gtk.init?](https://www.ruby-forum.com/t/whats-in-gtk-init/75359)

<div class="topic-metadata">

**Author:** [@wang\_pengchao](https://www.ruby-forum.com/u/wang_pengchao)\
**Replies:** 1\
**Last updated:** [November 9, 2006, 2:08pm UTC](https://www.ruby-forum.com/t/whats-in-gtk-init/75359 "2006-11-09T14:08:48Z")

</div>

Hi guys I’m trying to use gtk it in my own ruby project. My problem now is that I got this strange exception: “in init: can not convert false into String.” My ruby runtime environment is not standard one, embedded w…

---

## [Various memory problems with 0.15](https://www.ruby-forum.com/t/various-memory-problems-with-0-15/74913)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 12\
**Last updated:** [November 8, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/various-memory-problems-with-0-15/74913 "2006-11-08T16:11:31Z")

</div>

All applications now give me errors such as /usr/lib/ruby/1.8/glib2.rb: line 55 GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_static: assertion g\_type\_from\_name (name) == 0' failed /usr/lib/ruby/1.8/glib2.rb: line 55…

---

## [Re: Serious breakage in Ubuntu Edgy](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012)

<div class="topic-metadata">

**Author:** [@nickrahn](https://www.ruby-forum.com/u/nickrahn)\
**Replies:** 13\
**Last updated:** [November 7, 2006, 11:15am UTC](https://www.ruby-forum.com/t/re-serious-breakage-in-ubuntu-edgy/75012 "2006-11-07T11:15:12Z")

</div>

Hi, I compiled the CVS version today and it did not fix the problem for me. I no longer get warnings like these: /usr/lib/ruby/1.8/glib2.rb: line 55 GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_static: assertion g…

---

## [Gtk+-2.10-enabled release?](https://www.ruby-forum.com/t/gtk-2-10-enabled-release/73565)

<div class="topic-metadata">

**Author:** [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/gtk-2-10-enabled-release/73565 "2006-11-07T11:04:10Z")

</div>

Hi! The documentation on the web page discusses stuff added in Gtk+ 2.10, but the 0.15 release doesn’t seem to include these updates. Are they in CVS? I’d really need an msvcrt release that includes these updates. …

---

## [Ruby-gnome2 and simple games](https://www.ruby-forum.com/t/ruby-gnome2-and-simple-games/74955)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/ruby-gnome2-and-simple-games/74955 "2006-11-07T11:04:09Z")

</div>

Hello, as I am currently doing some small games (ruby-gnome2 seems to allow a lot of needed things for small GUI games), I have two questions: a) In a Gtk::Canvas, is there a way to retrieve the current position of …

---

## [Ruby-gnome2 and fedora core 6](https://www.ruby-forum.com/t/ruby-gnome2-and-fedora-core-6/74729)

<div class="topic-metadata">

**Author:** [@Tanguy\_E](https://www.ruby-forum.com/u/Tanguy_E)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:02am UTC](https://www.ruby-forum.com/t/ruby-gnome2-and-fedora-core-6/74729 "2006-11-07T11:02:33Z")

</div>

I installed a package built from ruby-gnome2-all (version 0.14.1) which include libart and requires libart\_lgpl-devel so the package seems to be built correctly. when i want to run alexandria i obtain this error : /u…

---

## [Strange bug](https://www.ruby-forum.com/t/strange-bug/74754)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 0\
**Last updated:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/strange-bug/74754 "2006-11-07T10:55:15Z")

</div>

hi, i found a strange bug, i can’t identify: when i try to reproduce it, i can’t :frowning: but first it appeared 3 times in a row, for the 4th time it worked well. /usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require…

---

## [Serious breakage in Ubuntu Edgy](https://www.ruby-forum.com/t/serious-breakage-in-ubuntu-edgy/74046)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:54am UTC](https://www.ruby-forum.com/t/serious-breakage-in-ubuntu-edgy/74046 "2006-11-07T10:54:32Z")

</div>

All kinds of things broke for me on upgrading to Ubuntu edgy, for no apparent reason. First, I’m getting a lot of these warnings: /usr/lib/ruby/1.8/glib2.rb: line 55 GLib-GObject-CRITICAL \*\*:g\_boxed\_type\_register\_sta…

---

## [Re: TreeView and Selection/Selected in Ruby-Gnome2?](https://www.ruby-forum.com/t/re-treeview-and-selection-selected-in-ruby-gnome2/73932)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [October 28, 2006, 8:47am UTC](https://www.ruby-forum.com/t/re-treeview-and-selection-selected-in-ruby-gnome2/73932 "2006-10-28T08:47:05Z")

</div>

Thanks: Not sure how you got your example working though. Maybe you can give a piece of your code? :slight\_smile: For me, I tried a bit more, and when i used this signal instead: button\_release\_event and puts widge…

---

## [TreeView and Selection/Selected in Ruby-Gnome2?](https://www.ruby-forum.com/t/treeview-and-selection-selected-in-ruby-gnome2/73868)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [October 27, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/treeview-and-selection-selected-in-ruby-gnome2/73868 "2006-10-27T19:08:04Z")

</div>

Hi, I am currently trying to implement a simple Midnight-commander like ruby-gnome2 Interface. My problem is that I dont seem to be able to get the proper selection, i.e. when the user clicks on an entry. However th…

---

## [Gtk::ComboBox and enable drop down via button click](https://www.ruby-forum.com/t/gtk-combobox-and-enable-drop-down-via-button-click/73638)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [October 26, 2006, 3:33am UTC](https://www.ruby-forum.com/t/gtk-combobox-and-enable-drop-down-via-button-click/73638 "2006-10-26T03:33:06Z")

</div>

Hello, First, thanks for answering some of my questions before. I was able to send commands to a VTE terminal using: vte\_terminal.feed\_child("ls\\n") Now, to a new question, to Gtk::ComboBox. Is there a way to open t…

---

## [Some Questions (ProgressBar, Moving Tabs, VTE+commands ...)](https://www.ruby-forum.com/t/some-questions-progressbar-moving-tabs-vte-commands/73177)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [October 23, 2006, 3:30pm UTC](https://www.ruby-forum.com/t/some-questions-progressbar-moving-tabs-vte-commands/73177 "2006-10-23T15:30:26Z")

</div>

Hi all, I have 5 questions, some are probably easier to answer than others. I have collected them, so I dont send too many messages in total. Is it possible to use Gtk::ProgressBar as some kind of … status-bar, l…

---

## [Sokoban undo patch](https://www.ruby-forum.com/t/sokoban-undo-patch/73054)

<div class="topic-metadata">

**Author:** [@Dmitri\_P](https://www.ruby-forum.com/u/Dmitri_P)\
**Replies:** 1\
**Last updated:** [October 22, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/sokoban-undo-patch/73054 "2006-10-22T16:15:39Z")

</div>

Hi. Dear Gnome2-Ruby developers. I downloaded your sokoban game from your site and gave it to my son to play with, however luck of unlimited undo is a bit of a problem for 5 year old kid. I fixed it and tought you m…

---

## [Counting rows in a filtered liststore](https://www.ruby-forum.com/t/counting-rows-in-a-filtered-liststore/73005)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_B](https://www.ruby-forum.com/u/Dobai-Pataky_B)\
**Replies:** 0\
**Last updated:** [October 20, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/counting-rows-in-a-filtered-liststore/73005 "2006-10-20T16:04:29Z")

</div>

hi, i have a liststore filtered with treemodelfilter, and i’d like to inform the user about row counts like “filtered\_row\_count/total\_row\_count”. i can’t find a method for it in the docs. i thought, i could count the…

---

## [Gnome-DB](https://www.ruby-forum.com/t/gnome-db/72863)

<div class="topic-metadata">

**Author:** [@Laurent\_Marzullo](https://www.ruby-forum.com/u/Laurent_Marzullo)\
**Replies:** 0\
**Last updated:** [October 19, 2006, 2:03pm UTC](https://www.ruby-forum.com/t/gnome-db/72863 "2006-10-19T14:03:27Z")

</div>

Hello all, Is there a wrapper for Gnome-DB Widget for RUby ? I’ve find ‘libgda’ ones but not for gnome-db ? Thanks Laurent Marzullo Using Tomcat but need to do more? Need to support web services, security? Get st…

---

## [Thread safety and dialogs](https://www.ruby-forum.com/t/thread-safety-and-dialogs/72716)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 4\
**Last updated:** [October 18, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/thread-safety-and-dialogs/72716 "2006-10-18T22:39:30Z")

</div>

Hello. I’m writing a ruby/gtk2 application scheduling application for my university, which does some work in a separate thread, to keep the UI usable. That separate thread might fail, in which case I’d like to show an…

---

## [(xulrunner|firefox)-gtkmozembed](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220 "2006-10-18T18:25:41Z")

</div>

Hey, I’ve tried modifying gtkmozembed/extconf.rb to build with PACKAGE\_ID=“xulrunner-gtkmozembed” and “firefox-gtkmozembed”, but neither work. I have both firefox and xulrunner installed, but running extconf.rb throw…

---

## [Recursive searching in TreeView](https://www.ruby-forum.com/t/recursive-searching-in-treeview/72722)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 1\
**Last updated:** [October 18, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/recursive-searching-in-treeview/72722 "2006-10-18T15:58:26Z")

</div>

Is there any way to get the interactive search capability to recurse over all of the nodes in a TreeStore? Currently it only recurses over the expanded ones. – Protect your digital freedom and privacy, eliminate DRM,…

---

## [Writing a CellRenderer in Ruby](https://www.ruby-forum.com/t/writing-a-cellrenderer-in-ruby/72345)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 2\
**Last updated:** [October 18, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/writing-a-cellrenderer-in-ruby/72345 "2006-10-18T14:47:53Z")

</div>

Folk, I’ve subclassed the CellRendererPixbuf to make a renderer that has a “state” property that displays an appropriate icon for each state, and I want to add mouse button event handlers to it. Problem is, there doe…

---

## [GRClosure invoking callback](https://www.ruby-forum.com/t/grclosure-invoking-callback/72181)

<div class="topic-metadata">

**Author:** [@ivan](https://www.ruby-forum.com/u/ivan)\
**Replies:** 1\
**Last updated:** [October 15, 2006, 5:03am UTC](https://www.ruby-forum.com/t/grclosure-invoking-callback/72181 "2006-10-15T05:03:31Z")

</div>

Hi all, I updated my ubuntu to Edgy Eft and some of my ruby software stopped working. My Gnome Desktop Wiki (dospeixos.net) seems to be working but two buttons are throwing this error and the code is not executed. .…

---

## [Gdk::Pixbuf#from\_drawable Memory Leak?](https://www.ruby-forum.com/t/gdk-pixbuf-from-drawable-memory-leak/72099)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 2\
**Last updated:** [October 14, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/gdk-pixbuf-from-drawable-memory-leak/72099 "2006-10-14T18:17:56Z")

</div>

Hey, I have been having problems with using Gdk::Pixbuf#from\_drawable - it seems to leak memory (see example below). Is this a (known) bug? Is there a patch/workaround? Regards, Andy. require ‘gtk2’ require ‘gtkmo…

---

## [User data in callback functions](https://www.ruby-forum.com/t/user-data-in-callback-functions/71321)

<div class="topic-metadata">

**Author:** [@Juha\_Varkki](https://www.ruby-forum.com/u/Juha_Varkki)\
**Replies:** 8\
**Last updated:** [October 10, 2006, 4:33am UTC](https://www.ruby-forum.com/t/user-data-in-callback-functions/71321 "2006-10-10T04:33:26Z")

</div>

Hello Ruby-Gnome2 users and developers! I’ve been making an application using Ruby-Gtk2 for the past few days or so, and now I’ve run into a problem. I’m trying to pass user data into a signal callback function, but I…

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

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