forked from AuroraMiddleware/gtk
Deprecate functions according to deprecated GtkButton signals
https://bugzilla.gnome.org/show_bug.cgi?id=599218
This commit is contained in:
parent
6271cb9672
commit
da8dde446d
@ -195,6 +195,7 @@ Emits a #GtkButton::pressed signal to the given #GtkButton.
|
||||
</para>
|
||||
|
||||
@button: The #GtkButton you want to send the signal to.
|
||||
@Deprecated: 2.20: Use the #GtkWidget::button-press-event signal.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_button_released ##### -->
|
||||
@ -203,6 +204,7 @@ Emits a #GtkButton::released signal to the given #GtkButton.
|
||||
</para>
|
||||
|
||||
@button: The #GtkButton you want to send the signal to.
|
||||
@Deprecated: 2.20: Use the #GtkWidget::button-release-event signal.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_button_clicked ##### -->
|
||||
@ -213,12 +215,14 @@ Emits a #GtkButton::clicked signal to the given #GtkButton.
|
||||
@button: The #GtkButton you want to send the signal to.
|
||||
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_button_enter ##### -->
|
||||
<para>
|
||||
Emits a #GtkButton::enter signal to the given #GtkButton.
|
||||
</para>
|
||||
|
||||
@button: The #GtkButton you want to send the signal to.
|
||||
@Deprecated: 2.20: Use the #GtkWidget::enter-notify-event signal.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_button_leave ##### -->
|
||||
@ -227,6 +231,7 @@ Emits a #GtkButton::leave signal to the given #GtkButton.
|
||||
</para>
|
||||
|
||||
@button: The #GtkButton you want to send the signal to.
|
||||
@Deprecated: 2.20: Use the #GtkWidget::leave-notify-event signal.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION gtk_button_set_relief ##### -->
|
||||
|
@ -541,7 +541,9 @@ gtk_button_box_set_layout
|
||||
#if IN_HEADER(__GTK_BUTTON_H__)
|
||||
#if IN_FILE(__GTK_BUTTON_C__)
|
||||
gtk_button_clicked
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
gtk_button_enter
|
||||
#endif
|
||||
gtk_button_get_alignment
|
||||
gtk_button_get_focus_on_click
|
||||
gtk_button_get_image
|
||||
@ -551,13 +553,17 @@ gtk_button_get_relief
|
||||
gtk_button_get_type G_GNUC_CONST
|
||||
gtk_button_get_use_stock
|
||||
gtk_button_get_use_underline
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
gtk_button_leave
|
||||
#endif
|
||||
gtk_button_new
|
||||
gtk_button_new_from_stock
|
||||
gtk_button_new_with_label
|
||||
gtk_button_new_with_mnemonic
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
gtk_button_pressed
|
||||
gtk_button_released
|
||||
#endif
|
||||
gtk_button_set_alignment
|
||||
gtk_button_set_focus_on_click
|
||||
gtk_button_set_image
|
||||
|
@ -93,11 +93,15 @@ GtkWidget* gtk_button_new (void);
|
||||
GtkWidget* gtk_button_new_with_label (const gchar *label);
|
||||
GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
|
||||
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
void gtk_button_pressed (GtkButton *button);
|
||||
void gtk_button_released (GtkButton *button);
|
||||
#endif
|
||||
void gtk_button_clicked (GtkButton *button);
|
||||
#ifndef GTK_DISABLE_DEPRECATED
|
||||
void gtk_button_enter (GtkButton *button);
|
||||
void gtk_button_leave (GtkButton *button);
|
||||
#endif
|
||||
|
||||
void gtk_button_set_relief (GtkButton *button,
|
||||
GtkReliefStyle newstyle);
|
||||
|
Loading…
Reference in New Issue
Block a user