Re: ComboBoxText and getting the index

2006-01-02 Thread Harm Hamberg
Because Gtk::ComboBoxText is derived from Gtk::ComboBox, I think you can use the member function: int get_active_row_number () const Returns the index of the currently active item, or -1 if there's no active item. Harm Hamberg Sean Kelley schreef: Hi, I am porting my Qt

Deleting a timer

2006-01-02 Thread [EMAIL PROTECTED]
Hi, I used g_timeout_add to call a function every tot seconds (or minutes). Now I'd want to delete and add dynamically the timer. In other words, i've a button that initialize the timer, and another button that stop the timer. So if i click the first button: std::cout Inizialiting timer...\n;

Re: Deleting a timer

2006-01-02 Thread Chris Vine
On Monday 02 January 2006 14:36, [EMAIL PROTECTED] wrote: Hi, I used g_timeout_add to call a function every tot seconds (or minutes). Now I'd want to delete and add dynamically the timer. In other words, i've a button that initialize the timer, and another button that stop the timer. So if i

Re: Gtk::Stock and buttons on win32

2006-01-02 Thread Alexander
for showing images on buttons in MS-Windows theme you must: 1. open file ...\share\themes\MS-Windows\gtk-2.0\gtkrc 2. change gtk-button-images = 0 to gtk-button-images = 1 That's all! On Mon, 02 Jan 2006 15:14:23 +0200, Cedric Gustin [EMAIL PROTECTED] wrote: This is a followup to a recent

Re: Deleting a timer

2006-01-02 Thread Chris Vine
On Monday 02 January 2006 16:10, [EMAIL PROTECTED] wrote: What is the right list, so I can post there? This is the mailing list for the C++ bindings for GTK+ and glib - it would therefore be relevant if you were inquiring about the Glib::signal_timeout().connect() wrapper function for

Glib option parsing

2006-01-02 Thread Jonathon Jongsma
Up til now I've only used really basic commandline parsing with Glib, but now I'm playing around with something a bit more involved. Basically I want to provide a bunch of commandline switches and then also require one extra argument. For example, the format for the command should be:

Re: Signal when a file changes

2006-01-02 Thread Michael Ott
Hello Andrew! Can someone give me a simple code example or point at a references that shows a good way to signal a gtkmm application that a file changed? I use gtk_timeout_add in GTK+. CU Michael --

Re: Working with gtkmm libraries

2006-01-02 Thread Rob Benton
Sean Kelley wrote: While learning more about gtkmm, I've struggled initially to understand the automake and autoconf approach. I came across a few tutorials: http://www.openismus.com/documents/linux/automake/automake.shtml