# Desktop

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

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

---

## [Expanding a Button in a GridSizer vertically](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 28, 2011, 1:11pm UTC](https://www.ruby-forum.com/t/expanding-a-button-in-a-gridsizer-vertically/212266 "2011-09-28T13:11:26Z")

</div>

Hi there, when adding a Button to a GridSizer cell, i can expand it with the EXPAND flag horizontally. But how can i expand it vertically, so that it will fill the whole cell? Thank you, Simon

---

## [Ruby 1.8.6 Wxruby and Mac](https://www.ruby-forum.com/t/ruby-1-8-6-wxruby-and-mac/212159)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [September 26, 2011, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-1-8-6-wxruby-and-mac/212159 "2011-09-26T23:11:56Z")

</div>

Hi, I’m trying to figure out how to get my application to work on a mac, but I can’t seem to get passed the part of requiring the wxruby gem. For the hell of it, I tried running the application on 1.8.7 and the gem lo…

---

## [Gtk::Tooltip](https://www.ruby-forum.com/t/gtk-tooltip/212245)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 26, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/gtk-tooltip/212245 "2011-09-26T22:53:57Z")

</div>

Lately I’ve been playing with Tooltips a bit. As in, subclass a button who also shows a tooltip: desc = ‘To restart the game you can also click ALT+R.’ Gtk::Tooltips.new.set\_tip(self, desc, nil) Now I compared this t…

---

## [Forking from inside a GTK loop](https://www.ruby-forum.com/t/forking-from-inside-a-gtk-loop/212198)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 26, 2011, 7:34am UTC](https://www.ruby-forum.com/t/forking-from-inside-a-gtk-loop/212198 "2011-09-26T07:34:40Z")

</div>

From within a GTK loop, I need to fork independent processes, that the main process must forget about. If after fork() I call exec(), thus eventually calling a new instance of the Ruby interpreter, all goes OK. If,…

---

## [Migrate the documentation from Hiki to YARD](https://www.ruby-forum.com/t/migrate-the-documentation-from-hiki-to-yard/212036)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 10\
**Last updated:** [September 24, 2011, 10:48pm UTC](https://www.ruby-forum.com/t/migrate-the-documentation-from-hiki-to-yard/212036 "2011-09-24T22:48:53Z")

</div>

Hi, I would like to migrate the documentation from Hiki to YARD. So, I made a tool, and uploaded files to Ruby-GNOME 2 - Browse /yard at SourceForge.net. yagi\_gnome-0.0.1.pre.gem a tool to automate tasks and source…

---

## [Problem with Gtk::Entry#completion=](https://www.ruby-forum.com/t/problem-with-gtk-entry-completion/212124)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [September 24, 2011, 2:12am UTC](https://www.ruby-forum.com/t/problem-with-gtk-entry-completion/212124 "2011-09-24T02:12:27Z")

</div>

Hi! Gtk::Entry#completion= should call G\_CHILD\_SET so that the completion won’t be GC’d. Is the addition of a G\_CHILD\_SET(self, rb\_intern(“completion”), completion); the correct way of doing this? If so, can I apply…

---

## [ListStore - possible to use String and Pixbuf image in the same field?](https://www.ruby-forum.com/t/liststore-possible-to-use-string-and-pixbuf-image-in-the-same-field/212059)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 22, 2011, 9:30pm UTC](https://www.ruby-forum.com/t/liststore-possible-to-use-string-and-pixbuf-image-in-the-same-field/212059 "2011-09-22T21:30:04Z")

</div>

Hi, I use something like this: @list\_store\_party = Gtk::ListStore.new( Gdk::Pixbuf, String, # ID String, # Name String, # Profession String, # Number of Attacks. String, # Race String, # Gender String, # Level …

---

## [Should I hold off a large patch until glib2 1.0.4 has been released?](https://www.ruby-forum.com/t/should-i-hold-off-a-large-patch-until-glib2-1-0-4-has-been-released/211989)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 22, 2011, 8:31pm UTC](https://www.ruby-forum.com/t/should-i-hold-off-a-large-patch-until-glib2-1-0-4-has-been-released/211989 "2011-09-22T20:31:25Z")

</div>

Hi! Should I hold off a large patch to atk, gio2, glib2, gtk2, and pango until glib2 1.0.4 has been released? The patch fixes a lot of array conversions that may leak memory.

---

## [GTK signals in Ruby](https://www.ruby-forum.com/t/gtk-signals-in-ruby/211384)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 21, 2011, 6:31pm UTC](https://www.ruby-forum.com/t/gtk-signals-in-ruby/211384 "2011-09-21T18:31:38Z")

</div>

Hello, After investigating what Gtk::Builder does with callbacks I figured out there are issues. The first issue is mismatch between GTK C callbacks and GTK Ruby callbacks. In C the GTK functions have a required fir…

---

## [Suggestion for svn2git authors file](https://www.ruby-forum.com/t/suggestion-for-svn2git-authors-file/211990)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [September 20, 2011, 4:35pm UTC](https://www.ruby-forum.com/t/suggestion-for-svn2git-authors-file/211990 "2011-09-20T16:35:15Z")

</div>

Hi! Attached is a svn2git authors file that I prepared from svn log, AUTHORS, and the mailing list. All data should be correct. Please speak up if you want another email address listed. I couldn’t find Hiroyuki Ito…

---

## [Moving the repository and issue tracker to GitHub](https://www.ruby-forum.com/t/moving-the-repository-and-issue-tracker-to-github/211910)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 19, 2011, 2:19am UTC](https://www.ruby-forum.com/t/moving-the-repository-and-issue-tracker-to-github/211910 "2011-09-19T02:19:34Z")

</div>

Hi! I would like to move the repository and issue tracker to GitHub. Kouhei, what would it take to perform such a move? I am willing to spend some time on this task, but I need to know what you, as project manager, t…

---

## [\[ANN\] Ruby-GNOME2 1.0.3](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-3/211969)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 19, 2011, 2:02am UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-3/211969 "2011-09-19T02:02:18Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.0.3: The source of https://ruby-gnome.github.io/ | ruby-gnome.github.io I’m sorry for those quick releases. :\< This is a bug fix release of 1.0.2. pango 1.0.2 gem c…

---

## [\[ANN\] Ruby-GNOME2 1.0.2](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-2/211947)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 18, 2011, 11:29pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-2/211947 "2011-09-18T23:29:29Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.0.2: The source of https://ruby-gnome.github.io/ | ruby-gnome.github.io I’m sorry for the quick next release. :\< This is a bug fix release of 1.0.1. 1.0.1 can’t be …

---

## [\[ANN\] Ruby-GNOME2 1.0.1](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-1/211943)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [September 18, 2011, 12:19pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-1-0-1/211943 "2011-09-18T12:19:54Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 1.0.1: http://ruby-gnome2.sourceforge.jp/hiki.cgi?News\_20110918\_1 This is a bug fix release of 1.0.0. === Install % gem install gtk2 === Changes ==== Ruby/GLib2 I…

---

## [Any chance of moving development to Git and GitHub?](https://www.ruby-forum.com/t/any-chance-of-moving-development-to-git-and-github/211848)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [September 16, 2011, 3:59pm UTC](https://www.ruby-forum.com/t/any-chance-of-moving-development-to-git-and-github/211848 "2011-09-16T15:59:41Z")

</div>

Hi! I know that we discussed this earlier, but I wanted to bring it up again. Is there any chance of moving development to Git and GitHub? I am utterly frustrated with Subversion being unable to help me in any way i…

---

## [A potential patch for rcairo](https://www.ruby-forum.com/t/a-potential-patch-for-rcairo/211823)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [September 16, 2011, 10:36am UTC](https://www.ruby-forum.com/t/a-potential-patch-for-rcairo/211823 "2011-09-16T10:36:17Z")

</div>

Hi! (I realize that this is the wrong list, but Kouhei is on this list, and it’s related to Ruby-GNOME2, so I’m letting it slide.) I have attached a small diff to rcairo-1.10.0 to allow it to be compiled with less wa…

---

## [Problem with layout\_iter\_copy with Pango 1.29.3](https://www.ruby-forum.com/t/problem-with-layout-iter-copy-with-pango-1-29-3/211828)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 15, 2011, 5:03pm UTC](https://www.ruby-forum.com/t/problem-with-layout-iter-copy-with-pango-1-29-3/211828 "2011-09-15T17:03:30Z")

</div>

Hi! It seems that PangoLayoutIter is an opaque type. Thus, the following code won’t work: static PangoLayoutIter\* layout\_iter\_copy(const PangoLayoutIter ref) { #if PANGO\_CHECK\_VERSION(1,6,0) PangoLayoutIter new\_r…

---

## [Sizable changes in SVN](https://www.ruby-forum.com/t/sizable-changes-in-svn/211733)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 15, 2011, 3:32pm UTC](https://www.ruby-forum.com/t/sizable-changes-in-svn/211733 "2011-09-15T15:32:33Z")

</div>

Hi! I pushed some rather sizable changes to SVN, primarily in gtk2. I removed all methods that implement methods already implemented as properties. I also removed unnecessary/superfluous/frivolous calls to G\_DEF\_SE…

---

## [Ruby to solve a physics question](https://www.ruby-forum.com/t/ruby-to-solve-a-physics-question/211802)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 14, 2011, 7:32pm UTC](https://www.ruby-forum.com/t/ruby-to-solve-a-physics-question/211802 "2011-09-14T19:32:31Z")

</div>

I am trying to solve one of my graduate level physics problems with ruby… Here is what I have so far… a6=0.0 for n1 in -10…10 for n2 in -10…10 for n3 in -10…10 if n1!=0 and n2!=0 and n3!=0 p=Math.sqrt(n12+n22+n3\*…

---

## [Using set\_sensitive on a button](https://www.ruby-forum.com/t/using-set-sensitive-on-a-button/211709)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 13, 2011, 1:48pm UTC](https://www.ruby-forum.com/t/using-set-sensitive-on-a-button/211709 "2011-09-13T13:48:38Z")

</div>

Hi. I use .set\_sensitive on a button. That button then becomes: non functional (you can’t click on it) greyed out in case it has an image I am fine with the non-functional part of the button. I don’t want it to res…

---

## [Wxruby is dead?](https://www.ruby-forum.com/t/wxruby-is-dead/199777)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 17\
**Last updated:** [September 13, 2011, 10:26am UTC](https://www.ruby-forum.com/t/wxruby-is-dead/199777 "2011-09-13T10:26:12Z")

</div>

I wanted to know whether the development of the project is still active or not. many bugs in the bug tracker are open from 25/03/2009 … thank you very much Carlo Bertini

---

## [Mounting a samba share?](https://www.ruby-forum.com/t/mounting-a-samba-share/211675)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 12, 2011, 12:28am UTC](https://www.ruby-forum.com/t/mounting-a-samba-share/211675 "2011-09-12T00:28:26Z")

</div>

Hello, I can’t get mounts working with gio. I guess the problem is that I don’t have the main loop and ruby-gio2 implements only asynchronous mount. I don’t have and don’t want gtk but there’s not GLib.main. Also I …

---

## [Clipboard not working on Windows in 1.0.0](https://www.ruby-forum.com/t/clipboard-not-working-on-windows-in-1-0-0/211602)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 10, 2011, 4:50pm UTC](https://www.ruby-forum.com/t/clipboard-not-working-on-windows-in-1-0-0/211602 "2011-09-10T16:50:52Z")

</div>

Hi! The clipboard isn’t working on Windows in 1.0.0. I saw that this has been previously discussed: http://librelist.com/browser//shoes/2011/7/19/green-shoes-edit-box-copy-and-paste/#92820c259aa549d70ac0e85cbf212056 W…

---

## [Cannot run file.mount\_enclosing\_volume with arguments](https://www.ruby-forum.com/t/cannot-run-file-mount-enclosing-volume-with-arguments/211644)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 10, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/cannot-run-file-mount-enclosing-volume-with-arguments/211644 "2011-09-10T16:40:21Z")

</div>

Hello, Whenever I run something like file.mount\_enclosing\_volume 0, mop I get Exception \`TypeError’ at gfselect.rb:53 - GMountMountFlags is not a GFlags passing in the GLib ‘NONE’ constant does not make any differe…

---

## [Problems with the Windows gems](https://www.ruby-forum.com/t/problems-with-the-windows-gems/211517)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 10, 2011, 3:48pm UTC](https://www.ruby-forum.com/t/problems-with-the-windows-gems/211517 "2011-09-10T15:48:25Z")

</div>

Here are a couple of problems that I’ve found with the recent Windows gems (1.0.0) that occur if you want to compile against the Gtk/GLib system underneath it. Pkg-config is missing You can download it from http://w…

---

## [Find\_enclosing\_mountpoint docs don't match reality](https://www.ruby-forum.com/t/find-enclosing-mountpoint-docs-dont-match-reality/211641)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 10, 2011, 12:32pm UTC](https://www.ruby-forum.com/t/find-enclosing-mountpoint-docs-dont-match-reality/211641 "2011-09-10T12:32:22Z")

</div>

Hello. From the docs: find\_enclosing\_mount(cancellable = nil) Gets a GLib::Mount for the GLib::File. If the file doesnâ€™t have a mount (for example, possibly a remote share), a GLib::IO::NotFoundError will be raise…

---

## [How to set text of SourceBuffer or TextBuffer](https://www.ruby-forum.com/t/how-to-set-text-of-sourcebuffer-or-textbuffer/211584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 8, 2011, 1:02am UTC](https://www.ruby-forum.com/t/how-to-set-text-of-sourcebuffer-or-textbuffer/211584 "2011-09-08T01:02:26Z")

</div>

Hi, I have code snippet like this: source\_buffer = Gtk::SourceBuffer.new source\_buffer.text = “Yada yada\\nya” This used to work but no longer works. Does someone know how to set the text content of a SourceBuffer wi…

---

## [\[patch\] Rakefile made ready for Psych](https://www.ruby-forum.com/t/patch-rakefile-made-ready-for-psych/211426)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 8:37pm UTC](https://www.ruby-forum.com/t/patch-rakefile-made-ready-for-psych/211426 "2011-09-06T20:37:51Z")

</div>

Hi there, I don’t know wheather any of the wxRuby devs has tried to compile wxRuby on Ruby 1.9 with Psych enabled (Ruby’s new YAML parser automatically used by RubyGems if available–Psych is available if libyaml was …

---

## [Gtk::SourceView - how to disallow modifications? (read only)](https://www.ruby-forum.com/t/gtk-sourceview-how-to-disallow-modifications-read-only/211508)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 5:10pm UTC](https://www.ruby-forum.com/t/gtk-sourceview-how-to-disallow-modifications-read-only/211508 "2011-09-06T17:10:50Z")

</div>

Hi, I sometimes want to read in a file into SourceView but disallow the user from making modifications (unless a check box is clicked, for instance.) Is this possible?

---

## [Border around a Button - coloured?](https://www.ruby-forum.com/t/border-around-a-button-coloured/211489)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [September 6, 2011, 4:36am UTC](https://www.ruby-forum.com/t/border-around-a-button-coloured/211489 "2011-09-06T04:36:52Z")

</div>

Is it possible to make a border in colours around a button easily? In CSS: border: 1px solid crimson; Hmm… In CSS it is really easy… (I don’t use GTK Themes.)

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

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