Re: Clone a notebook tab?
- From: dhk <dhkuhl optonline net>
- To: roland astrofoto org
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Clone a notebook tab?
- Date: Thu, 28 Aug 2008 12:44:07 +0000
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 associated with the tab
just like I do when the first camera attaches. Is there any shortcut
other than writing the layout completely in code?
roland
I get the object out of the .glade file whenever I need to duplicate a
widget and then add it to the container. In your case, a notebook tab,
the object would be probably be a vbox in the .glade file and your
container would be the notebook you want to add it to.
dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]