Some Questions (ProgressBar, Moving Tabs, VTE+commands ...)

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.

  1. Is it possible to use Gtk::ProgressBar
    as some kind of … status-bar, let me
    explain:

    Consider I have a counter from 0 to 100,
    stepping in +1. So I have 0, 1, 2 etc.

    Can - or should - I use the ProgressBar
    to denote at which level i am currently?

    (Think of RolePlayingSystem, and Hitpoint
    status bar…)

  2. Is it possible to use ruby libraries
    like rubygame, and embed it into a tab?
    For example, a little spacegame written in ruby/rubygame(SDL)
    The only difference to starting it from a console
    would be to embed it into a Gtk::Notebook tab, and play
    it there.
    I am not sure how much work is needed to make this
    possible - I assume it requires fiddling around with
    C? Is it even possible at all?

  3. There are some docus on the Wiki missing.
    For instance, CanvasRect and other Canvas, to name
    one example.

  4. Can I send commands to a created VTE Terminal?
    I would like to source certain shell files when a new VTE
    Terminal is made, ie containing some/different aliases and
    variables and functions.

  5. The last question for now :slight_smile:

    How does the drag and drop of tabs work, like in forefox,
    or in one of the sample scripts? I had a look at the source,
    it seems to have a lot to do with Glib and signals,
    and I didnt fully understand it. Is there an easier way
    to just get drag-and-drop of tabs to work?


Get your free email from http://www.linuxmail.org

Powered by Outblaze


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 Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Hi,

In [email protected]
“[ruby-gnome2-devel-en] Some Questions (ProgressBar, Moving Tabs,
VTE+commands …)” on Sun, 22 Oct 2006 15:12:51 +0100,
“Roebe XXX” [email protected] wrote:

  1. Is it possible to use Gtk::ProgressBar
    as some kind of … status-bar, let me
    explain:

Yes, you can.

  1. Is it possible to use ruby libraries
    like rubygame, and embed it into a tab?

No. You can embed only Gtk::Widget into a tab.

  1. There are some docus on the Wiki missing.
    For instance, CanvasRect and other Canvas, to name
    one example.

We need your help.

  1. Can I send commands to a created VTE Terminal?

Yes.

  1. The last question for now :slight_smile:

    How does the drag and drop of tabs work, like in forefox,
    or in one of the sample scripts? I had a look at the source,
    it seems to have a lot to do with Glib and signals,
    and I didnt fully understand it. Is there an easier way
    to just get drag-and-drop of tabs to work?

Yes in GTK+ 2.10. The next release of Ruby-GNOME2 will
support. Or you can implement by yourself if you can’t wait.

Thanks,

kou


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 Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642