Re: Why gtk_bin_get_child() does not work?

2006-07-09 Thread chao yeaj
Yes, if i create radio button widget with label, my application is ok. Thank you!!! On 7/8/06, J. Ali Harlow [EMAIL PROTECTED] wrote: On 2006-07-08 02:26:46 AM, Micah Carrick wrote: This should work: GtkWidget *radio /* More code here to get or create 'radio' as a GtkRadioButton

Re: Why gtk_bin_get_child() does not work?

2006-07-08 Thread J. Ali Harlow
On 2006-07-08 02:26:46 AM, Micah Carrick wrote: This should work: GtkWidget *radio /* More code here to get or create 'radio' as a GtkRadioButton widget */ gtk_label_set_markup(GTK_LABEL(GTK_BIN(radio)-child), bhello/b); Can't see how accessing the child member directly is going to

Why gtk_bin_get_child() does not work?

2006-07-07 Thread chao yeaj
Hello ,everyone I have a problem with gtk_bin_get_child my code is like this: // GtkWidget * radio_button = NULL; GtkWidget * label = NULL; radio_button = gtk_radio_button_new(NULL); /* There ,the pointer

Re: Why gtk_bin_get_child() does not work?

2006-07-07 Thread Micah Carrick
This should work: GtkWidget *radio /* More code here to get or create 'radio' as a GtkRadioButton widget */ gtk_label_set_markup(GTK_LABEL(GTK_BIN(radio)-child), bhello/b); - Micah Carrick http://www.micahcarrick.com | GTK+ Forums http://www.gtkforums.com chao yeaj wrote: Hello ,everyone