#include "gtklabel.h"
#include "gtkmarshalers.h"
#include "gtkradiobutton.h"
+#include "gtkprivate.h"
#include "gtkintl.h"
+#include "gtkalias.h"
enum {
P_("Group"),
P_("The radio button whose group this widget belongs to."),
GTK_TYPE_RADIO_BUTTON,
- G_PARAM_WRITABLE));
+ GTK_PARAM_WRITABLE));
object_class->destroy = gtk_radio_button_destroy;
widget_class->focus = gtk_radio_button_focus;
class->group_changed = NULL;
/**
- * GtkStyle::group-changed:
+ * GtkRadioButton::group-changed:
* @style: the object which received the signal
*
* Emitted when the group of radio buttons that a radio button belongs
g_object_ref (radio_button);
+ g_object_notify (G_OBJECT (radio_button), "group");
g_signal_emit (radio_button, group_changed_signal, 0);
if (old_group_singleton)
{
{
GtkWidget *radio_button;
- radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON, "label", label, "use_underline", TRUE, NULL);
+ radio_button = g_object_new (GTK_TYPE_RADIO_BUTTON,
+ "label", label,
+ "use-underline", TRUE,
+ NULL);
if (group)
gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_button), group);
{
GtkWidget *child = tmp_list->data;
- if (GTK_WIDGET_VISIBLE (child) && GTK_WIDGET_IS_SENSITIVE (child))
+ if (GTK_WIDGET_REALIZED (child) && GTK_WIDGET_IS_SENSITIVE (child))
{
new_focus = child;
break;
{
GtkWidget *child = tmp_list->data;
- if (GTK_WIDGET_VISIBLE (child) && GTK_WIDGET_IS_SENSITIVE (child))
+ if (GTK_WIDGET_REALIZED (child) && GTK_WIDGET_IS_SENSITIVE (child))
{
new_focus = child;
break;
toggle_button = GTK_TOGGLE_BUTTON (check_button);
gtk_widget_style_get (widget,
- "interior_focus", &interior_focus,
+ "interior-focus", &interior_focus,
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,
NULL);
x, y, indicator_size, indicator_size);
}
}
+
+#define __GTK_RADIO_BUTTON_C__
+#include "gtkaliasdef.c"