How to access a member of a box
- From: <cesarbs brturbo com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: How to access a member of a box
- Date: Fri, 10 Dec 2004 15:34:06 -0200 (BRST)
Hello,
I have a program with the following lines
int main (int argc, char *argv[])
{
GtkWidget *box1;
...
box1 = color_selector_new ("Toolbar Color","toolbar.color",next_id());
...
}
(color_selector_new() is a function that returns a box containing a label and a button)
I would like to know how could I access the button inside box1. I've tried
G_LIST(GTK_BOX(box1)->children)->button
but it didn't work.
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]