´ÙÀ½ ÀÌÀü Â÷·Ê

15. WidgetÀÇ ¼Ó¼ºÀ» ¼¼ÆÃÇϱâ

¿©±â¼­´Â widgetµéÀ» Á¶ÀÛÇϱâ À§ÇÑ ÇÔ¼öµéÀÌ ¼Ò°³µÈ´Ù. À̰͵éÀº style, padding, size µîÀ» ¼¼ÆÃÇϱâ À§ÇØ ¾²ÀδÙ.

(Accelerator¿¡ ´ëÇÑ º°µµÀÇ ¼½¼ÇÀÌ ÇÊ¿äÇÑ °Í °°´Ù.)

void       gtk_widget_install_accelerator (GtkWidget           *widget,
                                           GtkAcceleratorTable *table,
                                           gchar               *signal_name,
                                           gchar                key,
                                           guint8               modifiers);

void       gtk_widget_remove_accelerator  (GtkWidget           *widget,
                                           GtkAcceleratorTable *table,
                                           gchar               *signal_name);

void       gtk_widget_activate            (GtkWidget           *widget);

void       gtk_widget_set_name            (GtkWidget           *widget,
                                           gchar               *name);
gchar*     gtk_widget_get_name            (GtkWidget           *widget);

void       gtk_widget_set_sensitive       (GtkWidget           *widget,
                                           gint                 sensitive);

void       gtk_widget_set_style           (GtkWidget           *widget,
                                           GtkStyle            *style);

GtkStyle*    gtk_widget_get_style     (GtkWidget *widget);

GtkStyle*    gtk_widget_get_default_style    (void);

void       gtk_widget_set_uposition       (GtkWidget           *widget,
                                           gint                 x,
                                           gint                 y);
void       gtk_widget_set_usize           (GtkWidget           *widget,
                                             gint                 width,
                                             gint                 height);

void       gtk_widget_grab_focus          (GtkWidget           *widget);

void       gtk_widget_show                (GtkWidget           *widget);

void       gtk_widget_hide                (GtkWidget           *widget);


´ÙÀ½ ÀÌÀü Â÷·Ê