Re: Question regarding cell editing mode in the Gtk::TreeView

2006-09-13 Thread Murray Cumming
Hi all, I'm trying to make a Gtk::TreeView instance behave in a certain way. I have a tree view with text cells (CellRendererText). I turn on the editable property for the column in question. Now I can make it go into edit mode (the cell suddenly accepts input) it seems only by

Re: Gtk::StatusIcon 'activate' signal

2006-09-13 Thread Rui Tiago Cação Matos
Sorry for the lag. On Seg, 2006-09-11 at 12:32 +0200, Murray Cumming wrote: Is your C version based on an official example, or on official documentation? It's not based on an official example and the documentation I read was the gtk+ API reference, nothing else. Thanks for looking into this.

Re: Creating widgets at runtime

2006-09-13 Thread Bob Caryl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe that andypaxo is referring to widgets created dynamically during program execution in response to user input: I'm trying to add widgets to a program at runtime (as a simple example, adding buttons to an HBox in response to user input).

Re: Creating widgets at runtime

2006-09-13 Thread andypaxo
From all the replies given I am now doing the following: - Creating a widget via new() - Adding it to a container - Using gtkmm's manage() to take care of it after that And now widgets can be created and got rid of at any time during execution. Thanks for everyone's help! -- View this message

Re: Question regarding cell editing mode in the Gtk::TreeView

2006-09-13 Thread Bob Caryl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 snip Heh. Sorry my bad. I did mean set_cursor(). ...and it does not work, sadly. When I specify set_cursor( Path, Column, true ), it does not force the cell into editing mode, so I guess I must have just discovered a bug...? snip I too have

Re: Creating widgets at runtime

2006-09-13 Thread Chris Vine
On Wednesday 13 September 2006 15:08, andypaxo wrote: From all the replies given I am now doing the following: - Creating a widget via new() - Adding it to a container - Using gtkmm's manage() to take care of it after that And now widgets can be created and got rid of at any time during