# Ruby-Gnome 2

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

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

---

## [Events and Scrolling](https://www.ruby-forum.com/t/events-and-scrolling/103663)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [May 9, 2007, 1:16am UTC](https://www.ruby-forum.com/t/events-and-scrolling/103663 "2007-05-09T01:16:13Z")

</div>

Hi, In Gtk::ComboBoxEntry you can scroll down and scroll up. I want to tie this to a Gtk::Entry and whenever a user scrolls up or down, i want to trigger a specific action in another widget - however, using this: .s…

---

## [Gtk::Notebook and rearranging tabs?](https://www.ruby-forum.com/t/gtk-notebook-and-rearranging-tabs/103417)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [May 5, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/gtk-notebook-and-rearranging-tabs/103417 "2007-05-05T18:31:57Z")

</div>

Hi there, this is more like a general question about a (future?) feature :slight\_smile: The latest bluefish editor, a gtk2 project, showcases how nice rearrangement of tabs can be done. I was asking myself how diffic…

---

## [A Markaby-like Builder for GTK](https://www.ruby-forum.com/t/a-markaby-like-builder-for-gtk/103310)

<div class="topic-metadata">

**Author:** [@subroutine](https://www.ruby-forum.com/u/subroutine)\
**Replies:** 2\
**Last updated:** [May 4, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/a-markaby-like-builder-for-gtk/103310 "2007-05-04T19:35:05Z")

</div>

Hi! I just had the idea to create a Builder for Gtk, similar to Markaby and REXML. It turns out all this method\_missing and instance\_eval isn’t really as hard as I thought, and I’ve already come up with a solution t…

---

## [Editing Cells in Gtk::ListStore](https://www.ruby-forum.com/t/editing-cells-in-gtk-liststore/90739)

<div class="topic-metadata">

**Author:** [@justin](https://www.ruby-forum.com/u/justin)\
**Replies:** 2\
**Last updated:** [May 4, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/editing-cells-in-gtk-liststore/90739 "2007-05-04T18:38:00Z")

</div>

I have compiled code that generates a two column list store with gtk2. I have enabled one column to be editable but I cannot figure out how to store the data that I type into the cell. Every time I enter a number into…

---

## [Rbw and backticks on windows + StatusIcon tooltip update?](https://www.ruby-forum.com/t/rbw-and-backticks-on-windows-statusicon-tooltip-update/103165)

<div class="topic-metadata">

**Author:** [@Gergely\_K](https://www.ruby-forum.com/u/Gergely_K)\
**Replies:** 0\
**Last updated:** [May 2, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/rbw-and-backticks-on-windows-statusicon-tooltip-update/103165 "2007-05-02T16:51:31Z")

</div>

Hi! I’ve tried StatusIcon. It works fine, but during this test, I’ve realized, that if I start the program with an rbw extension (no command window), it flashes if I invoke external command with backticks. Is there …

---

## [Drag and drop across instances of an application](https://www.ruby-forum.com/t/drag-and-drop-across-instances-of-an-application/93101)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 0\
**Last updated:** [April 27, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/drag-and-drop-across-instances-of-an-application/93101 "2007-04-27T15:47:20Z")

</div>

Hi, I have an app (below) which has two windows, each window is an instance of the same class. These are set for drag and drop between them and everything works fine. But I want to run 2 instances of the applicati…

---

## [\[BUG\] Gtk::Window.icon](https://www.ruby-forum.com/t/bug-gtk-window-icon/92074)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 21, 2007, 6:18pm UTC](https://www.ruby-forum.com/t/bug-gtk-window-icon/92074 "2007-04-21T18:18:32Z")

</div>

Hi, Gtk::Window.icon = “path/to/my/icon” has an other behaviour then Gtk::Window.set\_icon “path/to/my/icon” The first one returns the following error: (eval):33:in set\_property': String isn't supported (TypeError) …

---

## [Get\_iter\_at\_cursor?](https://www.ruby-forum.com/t/get-iter-at-cursor/92582)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [April 21, 2007, 3:54am UTC](https://www.ruby-forum.com/t/get-iter-at-cursor/92582 "2007-04-21T03:54:27Z")

</div>

Hi there, again me :wink: another problem I would need a method such as: get\_iter\_at\_cursor which gives back the iter at the current cursor. I have looked but found no easy way to find out where the cursor is locate…

---

## [Gtk::Entry and default focus on startup](https://www.ruby-forum.com/t/gtk-entry-and-default-focus-on-startup/92475)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/gtk-entry-and-default-focus-on-startup/92475 "2007-04-19T21:19:44Z")

</div>

Hi there, first thanks for the various helpful pointers, even though I dont reply (due to batch-mode digest, and this free email. Makes emails a bit difficult) :slight\_smile: Now, my question is: I have several Gtk:…

---

## [Gtk::ScrolledWindow.new and setting colours?](https://www.ruby-forum.com/t/gtk-scrolledwindow-new-and-setting-colours/92279)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [April 18, 2007, 1:52am UTC](https://www.ruby-forum.com/t/gtk-scrolledwindow-new-and-setting-colours/92279 "2007-04-18T01:52:47Z")

</div>

Gtk::ScrolledWindow.new I seem to be unable to change the colours of a scrolled window. It has a default grayish colour, thats hard to read in my application. How to set it to white background and black foreground? .…

---

## [Rubyscript2exe / hiki](https://www.ruby-forum.com/t/rubyscript2exe-hiki/84494)

<div class="topic-metadata">

**Author:** [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Replies:** 9\
**Last updated:** [April 16, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-hiki/84494 "2007-04-16T14:11:30Z")

</div>

Hello, Currently it is not easy to use rubyscript2exe to make an EXE containing a ruby-gtk2 application on win32. on the ruby-gnome2 site, there is a HOWTO: http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips\_rubyscript2…

---

## [\<img in gtkhtml2 -- It works, but why?](https://www.ruby-forum.com/t/img-in-gtkhtml2-it-works-but-why/91694)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 0\
**Last updated:** [April 11, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/img-in-gtkhtml2-it-works-but-why/91694 "2007-04-11T17:26:13Z")

</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.techsa…

---

## [Snapping a widget to another widget](https://www.ruby-forum.com/t/snapping-a-widget-to-another-widget/91634)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 1\
**Last updated:** [April 11, 2007, 9:42am UTC](https://www.ruby-forum.com/t/snapping-a-widget-to-another-widget/91634 "2007-04-11T09:42:08Z")

</div>

Hi In winamp, but also in beep-media-player, you can drag a little widget like the playlist, and attached it to another widget like the equalizer. I think this functionanility rocks. Is this somehow possible in ruby-…

---

## [Any plans for Dbus?](https://www.ruby-forum.com/t/any-plans-for-dbus/83347)

<div class="topic-metadata">

**Author:** [@stoffe](https://www.ruby-forum.com/u/stoffe)\
**Replies:** 22\
**Last updated:** [April 8, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/any-plans-for-dbus/83347 "2007-04-08T15:10:25Z")

</div>

Hello, I was thinking of adding some Dbus\[1\] capability to an app, at this moment only to connect to other applications, not to expose any interface myself. There are some bindings available for ruby\[2\], but they are…

---

## [Gtkmozembed ctrl-A](https://www.ruby-forum.com/t/gtkmozembed-ctrl-a/90468)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 2\
**Last updated:** [April 4, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/gtkmozembed-ctrl-a/90468 "2007-04-04T16:06:14Z")

</div>

I have an application that has gtkmozembed in it. When I press control-A, the entire page is selected. Great. I would like for that same action to take place when the user presses a “select all” button. There shoul…

---

## [Documentation / Tutorials](https://www.ruby-forum.com/t/documentation-tutorials/90824)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 2:57am UTC](https://www.ruby-forum.com/t/documentation-tutorials/90824 "2007-04-02T02:57:50Z")

</div>

Can someone point me to documentation / tutorials for ruby-gnome2? Specifically, I’m looking for help with HtmlDocument and HtmlView in gtkhtml2. Are there books being sold that provide good documentation? I love exa…

---

## [Vertical "Bar" like in Xchat?](https://www.ruby-forum.com/t/vertical-bar-like-in-xchat/90794)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [April 1, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/vertical-bar-like-in-xchat/90794 "2007-04-01T19:09:10Z")

</div>

Hi, you know Xchat? If you join a channel with some users, and chat etc… you see a left vertical “bar” on the, well, left side :slight\_smile: You can click on it with your mouse, and drag this bar. Does anyone have a…

---

## [Gtkmozembed on 32 and 64 bit machines](https://www.ruby-forum.com/t/gtkmozembed-on-32-and-64-bit-machines/90100)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 5\
**Last updated:** [April 1, 2007, 11:24am UTC](https://www.ruby-forum.com/t/gtkmozembed-on-32-and-64-bit-machines/90100 "2007-04-01T11:24:01Z")

</div>

I need to use gtkmozembed. I was unsuccessful in getting it to compile on my Fedora Core 6 x86\_64 machine. I created a virtual 32-bit version of FC6 using the VMWare server. Same hardware. gtkmozembed compiles and…

---

## [Porting ruby-GNOME2 to Ruby-Hildon for MAEMO](https://www.ruby-forum.com/t/porting-ruby-gnome2-to-ruby-hildon-for-maemo/88964)

<div class="topic-metadata">

**Author:** [@WestonS\_David](https://www.ruby-forum.com/u/WestonS_David)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 11:50am UTC](https://www.ruby-forum.com/t/porting-ruby-gnome2-to-ruby-hildon-for-maemo/88964 "2007-03-27T11:50:55Z")

</div>

Hi, Has anyone done any work porting ruby-GNOME2 bindings to the hildon GTK bindings for maemo (the UI for Debian based Nokia 770/800 tablets)? Thanks, David Weston FGM, Inc

---

## [\[ANN\] R-Bus, a native Ruby implementation of D-Bus](https://www.ruby-forum.com/t/ann-r-bus-a-native-ruby-implementation-of-d-bus/90116)

<div class="topic-metadata">

**Author:** [@stoffe](https://www.ruby-forum.com/u/stoffe)\
**Replies:** 2\
**Last updated:** [March 27, 2007, 8:00am UTC](https://www.ruby-forum.com/t/ann-r-bus-a-native-ruby-implementation-of-d-bus/90116 "2007-03-27T08:00:47Z")

</div>

Hello, just put the source code up at the project page at Rubyforge. Finally found the time to clean it up a bit and polish the docs a little. R-Bus is a native Ruby implementation of the D-Bus protocol, with these g…

---

## [Need help opening and saving a file with FileChooser](https://www.ruby-forum.com/t/need-help-opening-and-saving-a-file-with-filechooser/90117)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 1\
**Last updated:** [March 26, 2007, 6:47am UTC](https://www.ruby-forum.com/t/need-help-opening-and-saving-a-file-with-filechooser/90117 "2007-03-26T06:47:54Z")

</div>

I have a question about using ruby and ruby-gtk2. I have a simple gui and am using SourceView as my text buffer and have added a menu to open and save files. My question is how in the world to I open a file and disp…

---

## [Ruby + cairo problem](https://www.ruby-forum.com/t/ruby-cairo-problem/89994)

<div class="topic-metadata">

**Author:** [@Gergely\_K](https://www.ruby-forum.com/u/Gergely_K)\
**Replies:** 1\
**Last updated:** [March 25, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/ruby-cairo-problem/89994 "2007-03-25T13:50:06Z")

</div>

Hi! I’ve a problem with cairo. When I have a DrawingArea in a VBox, and don’t know what’s wrong with the code (see the attached image: it seems that allocation has incorrect values). Does anybody know what could be t…

---

## [Lgtkembedmoz?](https://www.ruby-forum.com/t/lgtkembedmoz/89533)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 2\
**Last updated:** [March 21, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/lgtkembedmoz/89533 "2007-03-21T18:24:01Z")

</div>

I have a need to use the gtkmozembed widget, but cannot get it to compile. My machine is an x86\_64 running Fedora Core 6. \[alan@erie gtkmozembed\]$ export PKG\_CONFIG\_PATH=/usr/lib/pkgconfig \[alan@erie gtkmozembed\]$ ru…

---

## [Problem with Table in a ScrolledWindow in a Notebook](https://www.ruby-forum.com/t/problem-with-table-in-a-scrolledwindow-in-a-notebook/89453)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/problem-with-table-in-a-scrolledwindow-in-a-notebook/89453 "2007-03-20T17:01:53Z")

</div>

Hi, In the following script when I select ‘page 2’ in the notebook, the hello button isn’t shown. If I switch tabs, then show ‘page 2’, for a second time, the button is shown. Am I doing something wrong? Martin. r…

---

## [Tabs in textview](https://www.ruby-forum.com/t/tabs-in-textview/88938)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [March 15, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/tabs-in-textview/88938 "2007-03-15T18:37:03Z")

</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.techsa…

---

## [Gtk::SourceView and disable default keys](https://www.ruby-forum.com/t/gtk-sourceview-and-disable-default-keys/88893)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [March 15, 2007, 12:11pm UTC](https://www.ruby-forum.com/t/gtk-sourceview-and-disable-default-keys/88893 "2007-03-15T12:11:57Z")

</div>

Hi, In a sourceview widget, when you use the buffer, using strg+a You can select everything. Is there a way to disable this functionality somehow? = Search for products and services at: – Powered by Outblaze T…

---

## [How to get ComboBox strings?](https://www.ruby-forum.com/t/how-to-get-combobox-strings/88703)

<div class="topic-metadata">

**Author:** [@Vladimir\_F](https://www.ruby-forum.com/u/Vladimir_F)\
**Replies:** 6\
**Last updated:** [March 13, 2007, 8:59pm UTC](https://www.ruby-forum.com/t/how-to-get-combobox-strings/88703 "2007-03-13T20:59:38Z")

</div>

Hi all! I have following problem : I’m using gtk2 and I want to write an application wich, after start loads strings which should be in some ComboBoxEntry from external file and in the end saves them back to same fil…

---

## [Removing signal handlers - is it necessary?](https://www.ruby-forum.com/t/removing-signal-handlers-is-it-necessary/88658)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 1\
**Last updated:** [March 13, 2007, 11:56am UTC](https://www.ruby-forum.com/t/removing-signal-handlers-is-it-necessary/88658 "2007-03-13T11:56:49Z")

</div>

Hi, With something like: class Box \< Gtk::HBox def initialize super( false ) @dummy = \[\] button = Gtk::Button.new("Hello") button.signal\_connect("clicked"){ @dummy \<\< ‘hello’ } pack\_start( button ) button.show …

---

## [Reading Keyboard state](https://www.ruby-forum.com/t/reading-keyboard-state/88139)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/reading-keyboard-state/88139 "2007-03-08T17:55:56Z")

</div>

Hi, I’m managing the selection of a list of widgets. During a button-pressed-event on the container I want to check whether SHIFT and/or CTRL are pressed to adjust how the selection changes. How can I read the keybo…

---

## [Drag and drop reordering in Gtk::Notebook, a question](https://www.ruby-forum.com/t/drag-and-drop-reordering-in-gtk-notebook-a-question/87765)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 0\
**Last updated:** [March 5, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/drag-and-drop-reordering-in-gtk-notebook-a-question/87765 "2007-03-05T21:07:47Z")

</div>

Hi list, Does one of you have an easy example of drag and drop reordering for Gtk::Notebook? I know that the mdi.rb example does it, but it seems very complicated, so I wondered if maybe one of you has an easier exam…

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

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