# Ruby-Gnome 2

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

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

---

## [Number or rows in a ListStore](https://www.ruby-forum.com/t/number-or-rows-in-a-liststore/87335)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/number-or-rows-in-a-liststore/87335 "2007-03-01T20:20:05Z")

</div>

How can I know the numebr of rows in a ListStore? I see some tutorials online for other languages where it was suggested to use ListStore#n\_children with the null argument, but in the ruby bindings this doesn’t seem p…

---

## [Rbbr not loading ri/ri](https://www.ruby-forum.com/t/rbbr-not-loading-ri-ri/84502)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 7:09am UTC](https://www.ruby-forum.com/t/rbbr-not-loading-ri-ri/84502 "2007-03-01T07:09:19Z")

</div>

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apa…

---

## [Switching off 'abstract class'-switch in Gtk::Container](https://www.ruby-forum.com/t/switching-off-abstract-class-switch-in-gtk-container/86967)

<div class="topic-metadata">

**Author:** [@Martin\_Nordholts](https://www.ruby-forum.com/u/Martin_Nordholts)\
**Replies:** 2\
**Last updated:** [February 27, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/switching-off-abstract-class-switch-in-gtk-container/86967 "2007-02-27T21:17:31Z")

</div>

Hello, I am implementing a custom ToolBox-container that is based on the code from the Glade interface designer. class ToolBox \< Gtk::Container # … end When I try to instantiate the class however, I get an ‘abstrac…

---

## [Tooltip for comboboxes](https://www.ruby-forum.com/t/tooltip-for-comboboxes/86825)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [February 26, 2007, 9:59am UTC](https://www.ruby-forum.com/t/tooltip-for-comboboxes/86825 "2007-02-26T09:59:06Z")

</div>

hi, i can’t get tooltip on comboboxes like this: tips=Gtk::Tooltips.new.enable tips.set\_tip(widget,‘hint’,‘extra hint’) when widget is Gtk::CheckButton, Gtk::Entry i get the tooltip displayed, when it’s Gtk::ComboBo…

---

## [Gtkmozembed on windows](https://www.ruby-forum.com/t/gtkmozembed-on-windows/86198)

<div class="topic-metadata">

**Author:** [@pjpatten](https://www.ruby-forum.com/u/pjpatten)\
**Replies:** 7\
**Last updated:** [February 24, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/gtkmozembed-on-windows/86198 "2007-02-24T16:29:44Z")

</div>

Hi ho :slight\_smile: , we have a problem using gtkmozembed on Windows. The following software is installed now: Ruby GTK+ 2.8 (gimp works) Ruby-Gnome2 Did we missed anything? irb(main):001:0\> require ‘gtk2’ =\> tr…

---

## [Making Gtk::ActionGroup#add\_action return added Gtk::Action,](https://www.ruby-forum.com/t/making-gtk-actiongroup-add-action-return-added-gtk-action/86209)

<div class="topic-metadata">

**Author:** [@Martin\_Nordholts](https://www.ruby-forum.com/u/Martin_Nordholts)\
**Replies:** 0\
**Last updated:** [February 20, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/making-gtk-actiongroup-add-action-return-added-gtk-action/86209 "2007-02-20T18:00:26Z")

</div>

Hello. I’m working on a Ruby-GNOME2 app and use Gtk::ActionGroup and friends. How about making Gtk::ActionGroup#add\_action return the added Gtk::Action instead of self? That way one could write actionGroup.add\_action…

---

## [Website "defaced"](https://www.ruby-forum.com/t/website-defaced/85804)

<div class="topic-metadata">

**Author:** [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Replies:** 0\
**Last updated:** [February 16, 2007, 12:56pm UTC](https://www.ruby-forum.com/t/website-defaced/85804 "2007-02-16T12:56:32Z")

</div>

Hello, Someone posted a bad news on ruby-gnome2.sourceforge.jp website: It is sad that some people feel the need to damage the hard work of others. emmanuel Take Surveys. Earn Cash. Influence the Future of IT Jo…

---

## [Well behaving program suddenly seg faultiing Well behaving p](https://www.ruby-forum.com/t/well-behaving-program-suddenly-seg-faultiing-well-behaving-p/85303)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 6\
**Last updated:** [February 13, 2007, 1:37pm UTC](https://www.ruby-forum.com/t/well-behaving-program-suddenly-seg-faultiing-well-behaving-p/85303 "2007-02-13T13:37:52Z")

</div>

Well, I wrote a small gtk-ruby client for communicating to a server(which handles some home grown protocol), basically… i have couple of threads that keep reading from sockets and I am synchronizing Gtk::TextBuffer a…

---

## [Usage of symbol instead of string for signal names?](https://www.ruby-forum.com/t/usage-of-symbol-instead-of-string-for-signal-names/84929)

<div class="topic-metadata">

**Author:** [@eclipse\_survey](https://www.ruby-forum.com/u/eclipse_survey)\
**Replies:** 13\
**Last updated:** [February 13, 2007, 12:01pm UTC](https://www.ruby-forum.com/t/usage-of-symbol-instead-of-string-for-signal-names/84929 "2007-02-13T12:01:44Z")

</div>

Hi, I’m just wondering why strings are used for signal names. What I have learnt from Ruby is that symbols are more efficient than strings. Symbols are typically used for keys in a hash … Anyway, Ruby/GTK2 is great. …

---

## [Implementing a ListStore](https://www.ruby-forum.com/t/implementing-a-liststore/85329)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 0\
**Last updated:** [February 12, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/implementing-a-liststore/85329 "2007-02-12T18:39:39Z")

</div>

I need to display a list of articles taken from a database. The list is large (more than 300 articles and the number will grow up) and I use ActiveRecord to dialog with the DB. My problem is that saving each article …

---

## [Disable Button while Thread does some work](https://www.ruby-forum.com/t/disable-button-while-thread-does-some-work/85030)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 4\
**Last updated:** [February 12, 2007, 9:45am UTC](https://www.ruby-forum.com/t/disable-button-while-thread-does-some-work/85030 "2007-02-12T09:45:32Z")

</div>

Hi, I want a button to kick off processing, and for the button to be disabled while processing is going on. The code below does this. However, I can’t click the button twice in a row, I need to click elsewhere (wi…

---

## [Dynamic Content in Gtk::ComboBox list](https://www.ruby-forum.com/t/dynamic-content-in-gtk-combobox-list/84123)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/dynamic-content-in-gtk-combobox-list/84123 "2007-02-02T12:47:21Z")

</div>

Hello all, I’d like to have the contents of my Gtk::ComboBox list updated whenever the popup list is shown. I’m using the simple text-only way of working with the combo box. I’ve tried to listen to every signal I th…

---

## [Gtk::Drag.source\_set produces \[BUG\] Segmentation fault](https://www.ruby-forum.com/t/gtk-drag-source-set-produces-bug-segmentation-fault/83245)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 16\
**Last updated:** [January 28, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/gtk-drag-source-set-produces-bug-segmentation-fault/83245 "2007-01-28T19:38:23Z")

</div>

hi, i want to have some texts on screen, in a way that user can position them by dragging them with the mouse. i decided to use Gtk::Label-s on a Gtk::Layout. when i try to add drag-and-drop to it, it segfaults. req…

---

## [A question about GtkIconView](https://www.ruby-forum.com/t/a-question-about-gtkiconview/83606)

<div class="topic-metadata">

**Author:** [@comtux](https://www.ruby-forum.com/u/comtux)\
**Replies:** 0\
**Last updated:** [January 27, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/a-question-about-gtkiconview/83606 "2007-01-27T16:14:52Z")

</div>

I was wondering if an iconview can have a background image like nautilus. I was also wonder if anyone could proved me with some info on a right click mouse event in iconview for a popup menu? What i am doing is…

---

## [PanelApplet deprecated?](https://www.ruby-forum.com/t/panelapplet-deprecated/83328)

<div class="topic-metadata">

**Author:** [@Grant\_McLean](https://www.ruby-forum.com/u/Grant_McLean)\
**Replies:** 6\
**Last updated:** [January 26, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/panelapplet-deprecated/83328 "2007-01-26T15:28:32Z")

</div>

My SSHMenu program ( SSHMenu ) uses the PanelApplet class as follows … … require ‘panelapplet2’ PanelApplet.main(“OAFIID:GNOME\_SSHMenuApplet\_Factory”, “SSH Menu Applet”, “0.1”) do |applet, iid| … I’ve just receive…

---

## [Gc for layout.bin\_window](https://www.ruby-forum.com/t/gc-for-layout-bin-window/83334)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [January 25, 2007, 2:56pm UTC](https://www.ruby-forum.com/t/gc-for-layout-bin-window/83334 "2007-01-25T14:56:00Z")

</div>

hi, lay=Gtk::Layout.new gc=Gdk::GC.new(lay.bin\_window) gives /usr/lib64/ruby/site\_ruby/1.8/rubygems/custom\_require.rb: line 27 Gdk-CRITICAL \*\*:gdk\_gc\_new: assertion drawable != NULL' failed examples/layout\_gc.rb:6:i…

---

## [Popup menus with Gtk::MozEmbed?](https://www.ruby-forum.com/t/popup-menus-with-gtk-mozembed/82838)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 7\
**Last updated:** [January 25, 2007, 2:13pm UTC](https://www.ruby-forum.com/t/popup-menus-with-gtk-mozembed/82838 "2007-01-25T14:13:52Z")

</div>

Hi I’m trying to add right-click context menus to a Gtk::MozEmbed widget, but found that the usual ‘popup-menu’ and ‘button-press-event’ don’t get fired. After some searching I discovered an undocumented ‘dom\_mouse\_…

---

## [Catching TAB presses in a TextView](https://www.ruby-forum.com/t/catching-tab-presses-in-a-textview/83292)

<div class="topic-metadata">

**Author:** [@stoffe](https://www.ruby-forum.com/u/stoffe)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 11:27pm UTC](https://www.ruby-forum.com/t/catching-tab-presses-in-a-textview/83292 "2007-01-24T23:27:56Z")

</div>

Hello, first, hope it’s ok to ask questions on this list. I couldn’t any other appropriate place to ask, but if it isn’t ok just say so and I’m gone. :slight\_smile: I would like to catch TAB presses when editing text…

---

## [Pango::layout background color](https://www.ruby-forum.com/t/pango-layout-background-color/81953)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [January 24, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/pango-layout-background-color/81953 "2007-01-24T20:30:27Z")

</div>

Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net’s Techsay panel and you’ll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.tech…

---

## [Shouldn't there be events on a Gtk::Layout's child?](https://www.ruby-forum.com/t/shouldnt-there-be-events-on-a-gtk-layouts-child/102663)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [January 24, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/shouldnt-there-be-events-on-a-gtk-layouts-child/102663 "2007-01-24T16:54:31Z")

</div>

Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net’s Techsay panel and you’ll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.tech…

---

## [Gtk::PrintOperation prints only first page](https://www.ruby-forum.com/t/gtk-printoperation-prints-only-first-page/82079)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/gtk-printoperation-prints-only-first-page/82079 "2007-01-24T16:44:26Z")

</div>

greetings, i print the pages on Gtk::PrintOperation’s ‘draw-page’ signal, and since i don’t know how many pages i’m going to print, i’ve n\_pages set to 1 before the first page, and i increase that from ‘draw-page’ if …

---

## [Downloading API docs?](https://www.ruby-forum.com/t/downloading-api-docs/82402)

<div class="topic-metadata">

**Author:** [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 4:44pm UTC](https://www.ruby-forum.com/t/downloading-api-docs/82402 "2007-01-24T16:44:26Z")

</div>

Hello, I use a lot the ruby-gnome2 API documentations from the ruby-gnome2 wiki “hiki”. They’re much better than what comes with rbbr, because rbbr only lists the classes, methods & signals, there are no comments as f…

---

## [Re: is ruby pango right for this? (Kouhei Sutou)](https://www.ruby-forum.com/t/re-is-ruby-pango-right-for-this-kouhei-sutou/83102)

<div class="topic-metadata">

**Author:** [@robbiemuffin](https://www.ruby-forum.com/u/robbiemuffin)\
**Replies:** 1\
**Last updated:** [January 24, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/re-is-ruby-pango-right-for-this-kouhei-sutou/83102 "2007-01-24T14:16:44Z")

</div>

(re: Message: 2 Date: Fri, 19 Jan 2007 23:44:12 +0900 (JST) From: Kouhei S. removed\_email\_address@domain.invalid Subject: Re: \[ruby-gnome2-devel-en\] is ruby pango right for this? Message-ID: removed\_email\_address@do…

---

## [\[BUG\] GladeXML::BUFFER](https://www.ruby-forum.com/t/bug-gladexml-buffer/82025)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 20, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/bug-gladexml-buffer/82025 "2007-01-20T17:51:50Z")

</div>

Hi, if you want to create widgets from a GladeXML::BUFFER it gives you the following error message: det@datengrab:~/Desktop$ ruby rubydatei.rb /usr/local/lib/site\_ruby/1.8/libglade2.rb:85:in readlines': can't convert…

---

## [Re: Installing as non-root](https://www.ruby-forum.com/t/re-installing-as-non-root/82694)

<div class="topic-metadata">

**Author:** [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Replies:** 0\
**Last updated:** [January 19, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/re-installing-as-non-root/82694 "2007-01-19T19:38:38Z")

</div>

Hello, Kouhei S. wrote: Is it possible to install ruby-gnome2 as a normal user, in my home directory somewhere, without touching “/”? Try DESTDIR environment variable: % DESTDIR=$HOME/local make install Thank y…

---

## [Cursor-color in a Gtk::TextView](https://www.ruby-forum.com/t/cursor-color-in-a-gtk-textview/82432)

<div class="topic-metadata">

**Author:** [@Mac\_Tuitui](https://www.ruby-forum.com/u/Mac_Tuitui)\
**Replies:** 1\
**Last updated:** [January 19, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/cursor-color-in-a-gtk-textview/82432 "2007-01-19T17:34:19Z")

</div>

Hello everyone, My name is Alexis Andre, and I have been using ruby-gnome2 to develop simple apps. The only one that I made public can be found at http://duby.rubyforge.org . It is a clone of filelight. I tried to po…

---

## [TreeView + Updating list on mouse-click of header](https://www.ruby-forum.com/t/treeview-updating-list-on-mouse-click-of-header/81242)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/treeview-updating-list-on-mouse-click-of-header/81242 "2007-01-19T16:30:14Z")

</div>

Hi there, I am using TreeView to display list store data This works fine. However, I want that, if you click on the header, the list store to update and sort alphabetically. My problem is - there seems to be no even…

---

## [Is ruby pango right for this?](https://www.ruby-forum.com/t/is-ruby-pango-right-for-this/82021)

<div class="topic-metadata">

**Author:** [@robbiemuffin](https://www.ruby-forum.com/u/robbiemuffin)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/is-ruby-pango-right-for-this/82021 "2007-01-19T16:30:11Z")

</div>

Hi all, and pardon me for posting right away! (there is no ettiquette information at the listinfo page) I have a task, which sounds simple enough but it is looking surprisingly involved. I need to display some inform…

---

## [Problem with libatk](https://www.ruby-forum.com/t/problem-with-libatk/81516)

<div class="topic-metadata">

**Author:** [@Murmansk\_Manny](https://www.ruby-forum.com/u/Murmansk_Manny)\
**Replies:** 1\
**Last updated:** [January 9, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/problem-with-libatk/81516 "2007-01-09T17:36:11Z")

</div>

I have installed ruby 1.8.5, the GTK+ win32 runtime 2.10.6 and Glade Win32 3.0.2 from http://gladewin32.sourceforge.net, and ruby gtk 2.0.16 i386. When I try to run one of the ruby gtk samples, it raises one error abo…

---

## [Garbage collector and bigger projects](https://www.ruby-forum.com/t/garbage-collector-and-bigger-projects/81311)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 8, 2007, 2:17am UTC](https://www.ruby-forum.com/t/garbage-collector-and-bigger-projects/81311 "2007-01-08T02:17:34Z")

</div>

Hi, i have an other problem with the 0.16 version in an a little bit bigger project. If the code grows at some point it seams that the garbage collector kills my callbacks (made with libglade). Then it gives me the f…

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

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