[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: file_selection widget



On Fri, Oct 22, 1999 at 03:22:18PM +0100,
Carlos Pereira <carlos@pehoe.civil.ist.utl.pt> wrote:
> > GTK_FILE_SELECTION(file_selection)->cancel_button
> 
> I suppose this gives me the pointer to the button, which contains
> the label, what I need is the pointer to the label, I am sure
> there is some function (gtk_widget_get_child or so) to access the
> child from the parent... I didn't find it yet though...

label = gtk_container_children(GTK_CONTAINER(button))->data;

-- 
Eric Gillespie, Jr. <*> epg@pobox.com

"Man is a rope, tied between beast and overman--a rope over an abyss.
 A dangerous across, a dangerous on-the-way, a dangerous looking-back,
 a dangerous shuddering and stopping."
 --Friedrich Nietzsche

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]