On Thu, 2009-05-28 at 17:35 -0700, Ian Martin wrote:
> On an unrelated topic, can a Gdk::DrawingArea be put inside another
> widget? For example, the clock in the docs works fine as a standalone
> program. If I try to put it inside a Frame, the program fails to draw
> the clock.
You need to show
>Well, I don't think there is a ready-made method for it. Most of the
>time, you'd just destroy the HBox.
You can empty a box using the boxlist. It's a STL type list attached to the
box that contains its widgets, with the expected methods.
Gtk::Box_Helpers::BoxList PClist = m_PC_data.children()
Daniel Elstner wrote:
That's because of the static class data here:
const Glib::RefPtr DeckGUI::deck[ACE+1][SPADE+1] =
{ // Set up NINE of {DIAMOND,CLUB,HEART,SPADE}
{Gdk::Pixbuf::create_from_file("pixmaps/card_0_0.xpm"),
Gdk::Pixbuf::create_from_file("pixmaps/card_0_1.xpm"),
[...]
Gdk::
On Thu, 2009-05-28 at 19:21 +0200, Daniel Elstner wrote:
> > Is there a spot with good documentation on the memory manager?
> There's not much
> > in the reference manual. How does this interact with using the
> remove() call on
> > a container?
>
> If you remove a managed widget from a containe
Hi,
Am Donnerstag, den 28.05.2009, 12:30 -0400 schrieb Caroline Kierstead:
> Is this example-pixbuf.cc? I'm on a Mac, so finding the files that were
> installed takes quite a bit of digging. I may be better off just dowloading
> the
> tar ball to unpack the examples, I guess.
The standalone v
Hi,
Am Donnerstag, den 28.05.2009, 11:13 -0400 schrieb Caroline Kierstead:
> Sorry to bother you again, but I hit another bizarre stumbling block.
>
> > const Glib::RefPtr
> > pixbuf = Gdk::Pixbuf::create_from_file("filename");
> > // ...
> >
>
> I managed to get this to work if
Am Mittwoch, den 27.05.2009, 13:35 -0400 schrieb Caroline Kierstead:
> Daniel Elstner wrote:
> > Am Dienstag, den 26.05.2009, 18:05 -0400 schrieb Caroline Kierstead:
> >> Does anybody know why, if I pass in the same dereferenced pointer to a
> >> Gtk::Image to multiple Gtk::Button objects using se
Am Dienstag, den 26.05.2009, 18:05 -0400 schrieb Caroline Kierstead:
> Does anybody know why, if I pass in the same dereferenced pointer to a
> Gtk::Image to multiple Gtk::Button objects using set_image(), only the image
> in
> the most recent one is displayed? I didn't see a note about it in th
Caroline Kierstead wrote:
Does anybody know why, if I pass in the same dereferenced pointer to a
Gtk::Image to multiple Gtk::Button objects using set_image(), only the
image in the most recent one is displayed? I didn't see a note about it
in the reference manual, though I may have missed it.
Does anybody know why, if I pass in the same dereferenced pointer to a
Gtk::Image to multiple Gtk::Button objects using set_image(), only the image in
the most recent one is displayed? I didn't see a note about it in the reference
manual, though I may have missed it.
Thanks!
--
---
Caroline Ki
Antonio Coralles wrote:
[Repost]
When i create a Gtk::Button object with its default constructor, and
then add a image to it, using set_image(...), the image doesn't appear.
But when i create the button with ustring(""), the image shows up. Is
there a particular reason for this behavour, or is i
When i create a Gtk::Button object with its default constructor, and
then add a image to it, using set_image(...), the image doesn't appear.
But when i create the button with ustring(""), the image shows up. Is
there a particular reason for this behavour, or is it possible that i'm
doing something
12 matches
Mail list logo