Ruby-glade-create-template bug

Hi all:

This is my first post here.

I am using ruby-gnome to work in engineering applications for Windows.

Where i can post a bug to ruby-glade-create-template ???

we don´t have exit signal. Every time you start the app you have a new
instance therefore:

@glade = GladeXML.new(path_or_data, root, domain, localedir, flag)

{|handler| method(handler)}
@window = @glade[‘window1’]
@window.signal_connect(“destroy”) { Gtk.main_quit }

It´s would be great add this las line to the ruby-glade-create-template.

Regards.

Martin V. wrote:

Hi all:

This is my first post here.

I am using ruby-gnome to work in engineering applications for Windows.

Where i can post a bug to ruby-glade-create-template ???

we don´t have exit signal. Every time you start the app you have a new
instance therefore:

@glade = GladeXML.new(path_or_data, root, domain, localedir, flag)

{|handler| method(handler)}
@window = @glade[‘window1’]
@window.signal_connect(“destroy”) { Gtk.main_quit }

It´s would be great add this last line to the ruby-glade-create-template.

Regards.

Hmm, sometimes I use multiple glade file for an application. I need to
control the exit signal myself so some windows destroy will not trigger
the ‘Gtk.main_quit’. I think this is the reason they don’t include the
exit signal in the template generator. This is just my thought, adding a
single line on the file is easy and don’t need to add to the template.

Regards,
Shin Guey

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs