Re: Clone a notebook tab?

2008-08-28 Thread Roland Roberts
dhk wrote: Roland Roberts wrote: Is there a way to clone a notebook tab? I'm writing an application where I've laid out the tab using glade. The tab is for controlling a camera, and I may have multiple cameras. Each time I connect one, I'd like to clone a generic tab then reassign data

Re: Clone a notebook tab?

2008-08-28 Thread Roland Roberts
Gabriele Greco wrote: Is there a way to clone a notebook tab? I'm writing an application where I've laid out the tab using glade. The tab is for controlling a camera, and I may have multiple cameras. Each time I connect one, I'd like to clone a generic tab then reassign

`GtkNotebook' has no property named `sensistive'

2008-08-28 Thread Roland Roberts
I have a notebook where one of the tabs is another notebook. When the device which corresponds to that tab is disconnected, I want to make the tab insensitive. So in the callback I have something like this: g_object_set(tab_widget, sensistive, FALSE, NULL); When I actually get to the

Re: GtkTreeView row colors

2008-08-27 Thread Roland Roberts
Damien Caliste wrote: Le 26/08/2008, Roland Roberts [EMAIL PROTECTED] a écrit : I'm having trouble figuring out how to change the font color/weight for each row individually in my GtkTreeView. Have a look to this answer: http://www.mail-archive.com/gtk-app-devel-list%40gnome.org

Re: GtkTreeView row colors

2008-08-27 Thread Roland Roberts
Damien Caliste wrote: Have a look to this answer: http://www.mail-archive.com/gtk-app-devel-list%40gnome.org/msg11865.htm I've posted a complete example on my blog at http://www.astrofoto.org/node/793 so I don't forget what I learned :-) Thanks again, I had a big conceptual hurdle to get over

Clone a notebook tab?

2008-08-27 Thread Roland Roberts
Is there a way to clone a notebook tab? I'm writing an application where I've laid out the tab using glade. The tab is for controlling a camera, and I may have multiple cameras. Each time I connect one, I'd like to clone a generic tab then reassign data associated with the tab just like I

GtkTreeView row colors

2008-08-26 Thread Roland Roberts
I'm having trouble figuring out how to change the font color/weight for each row individually in my GtkTreeView. I'm using a GtkListStore and want the rows color coded depending on the data used to fill the row. Actually, I want color coding based on data which is *not* actually displayed

GtkAboutDialog close

2008-08-15 Thread Roland Roberts
Okay, I'm a newbie with Gtk. I'm designing with glade-3. I've got an annoying problem with my about dialog. I connected the help-about menu item to a callback that pops up the dialog. The Credits and License buttons work fine. The Close button does nothing. I've seen a bug report in one

Re: GtkAboutDialog close

2008-08-15 Thread Roland Roberts
Roland Roberts wrote: How can I get the Close button to just hide the dialog so I don't have to do the run/hide thing in the callback? Ack, I posted this after fighting with it all day and then found my answer right after posting. Apparently, the correct signal is to attach a callback