Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
This commit is contained in:
@ -86,6 +86,7 @@ struct _GtkColorSelectionClass
|
|||||||
|
|
||||||
/* ColorSelection */
|
/* ColorSelection */
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_color_selection_get_type (void) G_GNUC_CONST;
|
GType gtk_color_selection_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_widget_new)
|
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_widget_new)
|
||||||
GtkWidget *gtk_color_selection_new (void);
|
GtkWidget *gtk_color_selection_new (void);
|
||||||
@ -136,6 +137,7 @@ GDK_DEPRECATED_IN_3_4
|
|||||||
gchar* gtk_color_selection_palette_to_string (const GdkColor *colors,
|
gchar* gtk_color_selection_palette_to_string (const GdkColor *colors,
|
||||||
gint n_colors);
|
gint n_colors);
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func);
|
GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
|
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
|
||||||
|
@ -68,6 +68,7 @@ struct _GtkColorSelectionDialogClass
|
|||||||
|
|
||||||
|
|
||||||
/* ColorSelectionDialog */
|
/* ColorSelectionDialog */
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_dialog_new)
|
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_dialog_new)
|
||||||
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
|
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
|
||||||
|
@ -103,6 +103,7 @@ struct _GtkFontSelectionDialogClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_font_selection_get_type (void) G_GNUC_CONST;
|
GType gtk_font_selection_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
|
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
|
||||||
GtkWidget * gtk_font_selection_new (void);
|
GtkWidget * gtk_font_selection_new (void);
|
||||||
@ -136,7 +137,7 @@ GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
|
|||||||
void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel,
|
void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
|
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
|
||||||
GtkWidget *gtk_font_selection_dialog_new (const gchar *title);
|
GtkWidget *gtk_font_selection_dialog_new (const gchar *title);
|
||||||
|
@ -31,6 +31,7 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define GTK_TYPE_GRADIENT (gtk_gradient_get_type ())
|
#define GTK_TYPE_GRADIENT (gtk_gradient_get_type ())
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_8
|
||||||
GType gtk_gradient_get_type (void) G_GNUC_CONST;
|
GType gtk_gradient_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_8
|
GDK_DEPRECATED_IN_3_8
|
||||||
|
@ -74,6 +74,7 @@ struct _GtkHandleBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_handle_box_get_type (void) G_GNUC_CONST;
|
GType gtk_handle_box_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4
|
GDK_DEPRECATED_IN_3_4
|
||||||
GtkWidget* gtk_handle_box_new (void);
|
GtkWidget* gtk_handle_box_new (void);
|
||||||
|
@ -56,6 +56,7 @@ struct _GtkHButtonBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hbutton_box_get_type (void) G_GNUC_CONST;
|
GType gtk_hbutton_box_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
|
||||||
GtkWidget* gtk_hbutton_box_new (void);
|
GtkWidget* gtk_hbutton_box_new (void);
|
||||||
|
@ -57,6 +57,7 @@ struct _GtkHBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hbox_get_type (void) G_GNUC_CONST;
|
GType gtk_hbox_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
|
||||||
GtkWidget * gtk_hbox_new (gboolean homogeneous,
|
GtkWidget * gtk_hbox_new (gboolean homogeneous,
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkHPanedClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hpaned_get_type (void) G_GNUC_CONST;
|
GType gtk_hpaned_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
|
||||||
GtkWidget * gtk_hpaned_new (void);
|
GtkWidget * gtk_hpaned_new (void);
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkHScaleClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hscale_get_type (void) G_GNUC_CONST;
|
GType gtk_hscale_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
|
||||||
GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment);
|
GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment);
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkHScrollbarClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hscrollbar_get_type (void) G_GNUC_CONST;
|
GType gtk_hscrollbar_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
|
||||||
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
|
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkHSeparatorClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_hseparator_get_type (void) G_GNUC_CONST;
|
GType gtk_hseparator_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
|
||||||
GtkWidget* gtk_hseparator_new (void);
|
GtkWidget* gtk_hseparator_new (void);
|
||||||
|
@ -77,6 +77,7 @@ struct _GtkHSVClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_hsv_get_type (void) G_GNUC_CONST;
|
GType gtk_hsv_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4
|
GDK_DEPRECATED_IN_3_4
|
||||||
GtkWidget* gtk_hsv_new (void);
|
GtkWidget* gtk_hsv_new (void);
|
||||||
|
@ -175,6 +175,7 @@ void gtk_rc_parse_string (const gchar *rc_string);
|
|||||||
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
||||||
gboolean gtk_rc_reparse_all (void);
|
gboolean gtk_rc_reparse_all (void);
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_0
|
||||||
GType gtk_rc_style_get_type (void) G_GNUC_CONST;
|
GType gtk_rc_style_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
||||||
GtkRcStyle* gtk_rc_style_new (void);
|
GtkRcStyle* gtk_rc_style_new (void);
|
||||||
|
@ -366,6 +366,7 @@ struct _GtkStyleClass
|
|||||||
void (*_gtk_reserved11) (void);
|
void (*_gtk_reserved11) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_0
|
||||||
GType gtk_style_get_type (void) G_GNUC_CONST;
|
GType gtk_style_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
|
||||||
GtkStyle* gtk_style_new (void);
|
GtkStyle* gtk_style_new (void);
|
||||||
|
@ -29,6 +29,7 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
#define GTK_TYPE_SYMBOLIC_COLOR (gtk_symbolic_color_get_type ())
|
#define GTK_TYPE_SYMBOLIC_COLOR (gtk_symbolic_color_get_type ())
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_8
|
||||||
GType gtk_symbolic_color_get_type (void) G_GNUC_CONST;
|
GType gtk_symbolic_color_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_8
|
GDK_DEPRECATED_IN_3_8
|
||||||
|
@ -96,6 +96,7 @@ struct _GtkTableRowCol
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_table_get_type (void) G_GNUC_CONST;
|
GType gtk_table_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
|
GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
|
||||||
GtkWidget* gtk_table_new (guint rows,
|
GtkWidget* gtk_table_new (guint rows,
|
||||||
|
@ -65,6 +65,7 @@ struct _GtkTearoffMenuItemClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_4
|
||||||
GType gtk_tearoff_menu_item_get_type (void) G_GNUC_CONST;
|
GType gtk_tearoff_menu_item_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_4
|
GDK_DEPRECATED_IN_3_4
|
||||||
GtkWidget* gtk_tearoff_menu_item_new (void);
|
GtkWidget* gtk_tearoff_menu_item_new (void);
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkVButtonBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vbutton_box_get_type (void) G_GNUC_CONST;
|
GType gtk_vbutton_box_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
|
||||||
GtkWidget *gtk_vbutton_box_new (void);
|
GtkWidget *gtk_vbutton_box_new (void);
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkVBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vbox_get_type (void) G_GNUC_CONST;
|
GType gtk_vbox_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
|
||||||
GtkWidget * gtk_vbox_new (gboolean homogeneous,
|
GtkWidget * gtk_vbox_new (gboolean homogeneous,
|
||||||
|
@ -55,6 +55,7 @@ struct _GtkVPanedClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vpaned_get_type (void) G_GNUC_CONST;
|
GType gtk_vpaned_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
|
||||||
GtkWidget * gtk_vpaned_new (void);
|
GtkWidget * gtk_vpaned_new (void);
|
||||||
|
@ -61,6 +61,7 @@ struct _GtkVScaleClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vscale_get_type (void) G_GNUC_CONST;
|
GType gtk_vscale_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
|
||||||
GtkWidget* gtk_vscale_new (GtkAdjustment *adjustment);
|
GtkWidget* gtk_vscale_new (GtkAdjustment *adjustment);
|
||||||
|
@ -61,6 +61,7 @@ struct _GtkVScrollbarClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vscrollbar_get_type (void) G_GNUC_CONST;
|
GType gtk_vscrollbar_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
|
||||||
GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment);
|
GtkWidget* gtk_vscrollbar_new (GtkAdjustment *adjustment);
|
||||||
|
@ -61,6 +61,7 @@ struct _GtkVSeparatorClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_DEPRECATED_IN_3_2
|
||||||
GType gtk_vseparator_get_type (void) G_GNUC_CONST;
|
GType gtk_vseparator_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
|
GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
|
||||||
GtkWidget* gtk_vseparator_new (void);
|
GtkWidget* gtk_vseparator_new (void);
|
||||||
|
@ -105,56 +105,89 @@ struct _GtkAboutDialogClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_about_dialog_new (void);
|
GtkWidget *gtk_about_dialog_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_show_about_dialog (GtkWindow *parent,
|
void gtk_show_about_dialog (GtkWindow *parent,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_program_name (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_program_name (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_program_name (GtkAboutDialog *about,
|
void gtk_about_dialog_set_program_name (GtkAboutDialog *about,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_version (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_version (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_version (GtkAboutDialog *about,
|
void gtk_about_dialog_set_version (GtkAboutDialog *about,
|
||||||
const gchar *version);
|
const gchar *version);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_copyright (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_copyright (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_copyright (GtkAboutDialog *about,
|
void gtk_about_dialog_set_copyright (GtkAboutDialog *about,
|
||||||
const gchar *copyright);
|
const gchar *copyright);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_comments (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_comments (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_comments (GtkAboutDialog *about,
|
void gtk_about_dialog_set_comments (GtkAboutDialog *about,
|
||||||
const gchar *comments);
|
const gchar *comments);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_license (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_license (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_license (GtkAboutDialog *about,
|
void gtk_about_dialog_set_license (GtkAboutDialog *about,
|
||||||
const gchar *license);
|
const gchar *license);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_license_type (GtkAboutDialog *about,
|
void gtk_about_dialog_set_license_type (GtkAboutDialog *about,
|
||||||
GtkLicense license_type);
|
GtkLicense license_type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkLicense gtk_about_dialog_get_license_type (GtkAboutDialog *about);
|
GtkLicense gtk_about_dialog_get_license_type (GtkAboutDialog *about);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_about_dialog_get_wrap_license (GtkAboutDialog *about);
|
gboolean gtk_about_dialog_get_wrap_license (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_wrap_license (GtkAboutDialog *about,
|
void gtk_about_dialog_set_wrap_license (GtkAboutDialog *about,
|
||||||
gboolean wrap_license);
|
gboolean wrap_license);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_website (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_website (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_website (GtkAboutDialog *about,
|
void gtk_about_dialog_set_website (GtkAboutDialog *about,
|
||||||
const gchar *website);
|
const gchar *website);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_website_label (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_website_label (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_website_label (GtkAboutDialog *about,
|
void gtk_about_dialog_set_website_label (GtkAboutDialog *about,
|
||||||
const gchar *website_label);
|
const gchar *website_label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* const * gtk_about_dialog_get_authors (GtkAboutDialog *about);
|
const gchar* const * gtk_about_dialog_get_authors (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_authors (GtkAboutDialog *about,
|
void gtk_about_dialog_set_authors (GtkAboutDialog *about,
|
||||||
const gchar **authors);
|
const gchar **authors);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* const * gtk_about_dialog_get_documenters (GtkAboutDialog *about);
|
const gchar* const * gtk_about_dialog_get_documenters (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_documenters (GtkAboutDialog *about,
|
void gtk_about_dialog_set_documenters (GtkAboutDialog *about,
|
||||||
const gchar **documenters);
|
const gchar **documenters);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* const * gtk_about_dialog_get_artists (GtkAboutDialog *about);
|
const gchar* const * gtk_about_dialog_get_artists (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_artists (GtkAboutDialog *about,
|
void gtk_about_dialog_set_artists (GtkAboutDialog *about,
|
||||||
const gchar **artists);
|
const gchar **artists);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_translator_credits (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_translator_credits (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_translator_credits (GtkAboutDialog *about,
|
void gtk_about_dialog_set_translator_credits (GtkAboutDialog *about,
|
||||||
const gchar *translator_credits);
|
const gchar *translator_credits);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf *gtk_about_dialog_get_logo (GtkAboutDialog *about);
|
GdkPixbuf *gtk_about_dialog_get_logo (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_logo (GtkAboutDialog *about,
|
void gtk_about_dialog_set_logo (GtkAboutDialog *about,
|
||||||
GdkPixbuf *logo);
|
GdkPixbuf *logo);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about);
|
const gchar * gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
|
void gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
|
@ -113,26 +113,37 @@ struct _GtkAccelKey
|
|||||||
|
|
||||||
|
|
||||||
/* -- Accelerator Groups --- */
|
/* -- Accelerator Groups --- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_accel_group_get_type (void) G_GNUC_CONST;
|
GType gtk_accel_group_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAccelGroup* gtk_accel_group_new (void);
|
GtkAccelGroup* gtk_accel_group_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group);
|
gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkModifierType
|
GdkModifierType
|
||||||
gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group);
|
gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_group_lock (GtkAccelGroup *accel_group);
|
void gtk_accel_group_lock (GtkAccelGroup *accel_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_group_unlock (GtkAccelGroup *accel_group);
|
void gtk_accel_group_unlock (GtkAccelGroup *accel_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_group_connect (GtkAccelGroup *accel_group,
|
void gtk_accel_group_connect (GtkAccelGroup *accel_group,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods,
|
GdkModifierType accel_mods,
|
||||||
GtkAccelFlags accel_flags,
|
GtkAccelFlags accel_flags,
|
||||||
GClosure *closure);
|
GClosure *closure);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group,
|
void gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group,
|
||||||
const gchar *accel_path,
|
const gchar *accel_path,
|
||||||
GClosure *closure);
|
GClosure *closure);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group,
|
gboolean gtk_accel_group_disconnect (GtkAccelGroup *accel_group,
|
||||||
GClosure *closure);
|
GClosure *closure);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group,
|
gboolean gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods);
|
GdkModifierType accel_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group,
|
gboolean gtk_accel_group_activate (GtkAccelGroup *accel_group,
|
||||||
GQuark accel_quark,
|
GQuark accel_quark,
|
||||||
GObject *acceleratable,
|
GObject *acceleratable,
|
||||||
@ -145,19 +156,25 @@ void _gtk_accel_group_attach (GtkAccelGroup *accel_group,
|
|||||||
GObject *object);
|
GObject *object);
|
||||||
void _gtk_accel_group_detach (GtkAccelGroup *accel_group,
|
void _gtk_accel_group_detach (GtkAccelGroup *accel_group,
|
||||||
GObject *object);
|
GObject *object);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_groups_activate (GObject *object,
|
gboolean gtk_accel_groups_activate (GObject *object,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods);
|
GdkModifierType accel_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList* gtk_accel_groups_from_object (GObject *object);
|
GSList* gtk_accel_groups_from_object (GObject *object);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
|
GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
|
||||||
GtkAccelGroupFindFunc find_func,
|
GtkAccelGroupFindFunc find_func,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure);
|
GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure);
|
||||||
|
|
||||||
|
|
||||||
/* --- Accelerators--- */
|
/* --- Accelerators--- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accelerator_valid (guint keyval,
|
gboolean gtk_accelerator_valid (guint keyval,
|
||||||
GdkModifierType modifiers) G_GNUC_CONST;
|
GdkModifierType modifiers) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accelerator_parse (const gchar *accelerator,
|
void gtk_accelerator_parse (const gchar *accelerator,
|
||||||
guint *accelerator_key,
|
guint *accelerator_key,
|
||||||
GdkModifierType *accelerator_mods);
|
GdkModifierType *accelerator_mods);
|
||||||
@ -166,6 +183,7 @@ void gtk_accelerator_parse_with_keycode (const gchar *accelerator,
|
|||||||
guint *accelerator_key,
|
guint *accelerator_key,
|
||||||
guint **accelerator_codes,
|
guint **accelerator_codes,
|
||||||
GdkModifierType *accelerator_mods);
|
GdkModifierType *accelerator_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar* gtk_accelerator_name (guint accelerator_key,
|
gchar* gtk_accelerator_name (guint accelerator_key,
|
||||||
GdkModifierType accelerator_mods);
|
GdkModifierType accelerator_mods);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
@ -173,6 +191,7 @@ gchar* gtk_accelerator_name_with_keycode (GdkDisplay *display,
|
|||||||
guint accelerator_key,
|
guint accelerator_key,
|
||||||
guint keycode,
|
guint keycode,
|
||||||
GdkModifierType accelerator_mods);
|
GdkModifierType accelerator_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar* gtk_accelerator_get_label (guint accelerator_key,
|
gchar* gtk_accelerator_get_label (guint accelerator_key,
|
||||||
GdkModifierType accelerator_mods);
|
GdkModifierType accelerator_mods);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
@ -180,12 +199,15 @@ gchar* gtk_accelerator_get_label_with_keycode (GdkDisplay *display,
|
|||||||
guint accelerator_key,
|
guint accelerator_key,
|
||||||
guint keycode,
|
guint keycode,
|
||||||
GdkModifierType accelerator_mods);
|
GdkModifierType accelerator_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask);
|
void gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkModifierType
|
GdkModifierType
|
||||||
gtk_accelerator_get_default_mod_mask (void);
|
gtk_accelerator_get_default_mod_mask (void);
|
||||||
|
|
||||||
|
|
||||||
/* --- internal --- */
|
/* --- internal --- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group,
|
GtkAccelGroupEntry* gtk_accel_group_query (GtkAccelGroup *accel_group,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods,
|
GdkModifierType accel_mods,
|
||||||
|
@ -81,14 +81,21 @@ struct _GtkAccelLabelClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_accel_label_get_type (void) G_GNUC_CONST;
|
GType gtk_accel_label_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_accel_label_new (const gchar *string);
|
GtkWidget* gtk_accel_label_new (const gchar *string);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label);
|
GtkWidget* gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label);
|
guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label,
|
void gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label,
|
||||||
GtkWidget *accel_widget);
|
GtkWidget *accel_widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label,
|
void gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label,
|
||||||
GClosure *accel_closure);
|
GClosure *accel_closure);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label);
|
gboolean gtk_accel_label_refetch (GtkAccelLabel *accel_label);
|
||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
void gtk_accel_label_set_accel (GtkAccelLabel *accel_label,
|
void gtk_accel_label_set_accel (GtkAccelLabel *accel_label,
|
||||||
|
@ -58,33 +58,48 @@ typedef void (*GtkAccelMapForeach) (gpointer data,
|
|||||||
|
|
||||||
/* --- public API --- */
|
/* --- public API --- */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_add_entry (const gchar *accel_path,
|
void gtk_accel_map_add_entry (const gchar *accel_path,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods);
|
GdkModifierType accel_mods);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_map_lookup_entry (const gchar *accel_path,
|
gboolean gtk_accel_map_lookup_entry (const gchar *accel_path,
|
||||||
GtkAccelKey *key);
|
GtkAccelKey *key);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_accel_map_change_entry (const gchar *accel_path,
|
gboolean gtk_accel_map_change_entry (const gchar *accel_path,
|
||||||
guint accel_key,
|
guint accel_key,
|
||||||
GdkModifierType accel_mods,
|
GdkModifierType accel_mods,
|
||||||
gboolean replace);
|
gboolean replace);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_load (const gchar *file_name);
|
void gtk_accel_map_load (const gchar *file_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_save (const gchar *file_name);
|
void gtk_accel_map_save (const gchar *file_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_foreach (gpointer data,
|
void gtk_accel_map_foreach (gpointer data,
|
||||||
GtkAccelMapForeach foreach_func);
|
GtkAccelMapForeach foreach_func);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_load_fd (gint fd);
|
void gtk_accel_map_load_fd (gint fd);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_load_scanner (GScanner *scanner);
|
void gtk_accel_map_load_scanner (GScanner *scanner);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_save_fd (gint fd);
|
void gtk_accel_map_save_fd (gint fd);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_lock_path (const gchar *accel_path);
|
void gtk_accel_map_lock_path (const gchar *accel_path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_unlock_path (const gchar *accel_path);
|
void gtk_accel_map_unlock_path (const gchar *accel_path);
|
||||||
|
|
||||||
/* --- filter functions --- */
|
/* --- filter functions --- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_add_filter (const gchar *filter_pattern);
|
void gtk_accel_map_add_filter (const gchar *filter_pattern);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accel_map_foreach_unfiltered (gpointer data,
|
void gtk_accel_map_foreach_unfiltered (gpointer data,
|
||||||
GtkAccelMapForeach foreach_func);
|
GtkAccelMapForeach foreach_func);
|
||||||
|
|
||||||
/* --- notification --- */
|
/* --- notification --- */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_accel_map_get_type (void) G_GNUC_CONST;
|
GType gtk_accel_map_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAccelMap *gtk_accel_map_get (void);
|
GtkAccelMap *gtk_accel_map_get (void);
|
||||||
|
|
||||||
|
|
||||||
|
@ -59,10 +59,13 @@ struct _GtkAccessibleClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_accessible_get_type (void) G_GNUC_CONST;
|
GType gtk_accessible_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_accessible_set_widget (GtkAccessible *accessible,
|
void gtk_accessible_set_widget (GtkAccessible *accessible,
|
||||||
GtkWidget *widget);
|
GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_accessible_get_widget (GtkAccessible *accessible);
|
GtkWidget *gtk_accessible_get_widget (GtkAccessible *accessible);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_accessible_set_widget)
|
GDK_DEPRECATED_IN_3_4_FOR(gtk_accessible_set_widget)
|
||||||
|
@ -83,35 +83,55 @@ struct _GtkActionClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_action_get_type (void) G_GNUC_CONST;
|
GType gtk_action_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAction *gtk_action_new (const gchar *name,
|
GtkAction *gtk_action_new (const gchar *name,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
const gchar *tooltip,
|
const gchar *tooltip,
|
||||||
const gchar *stock_id);
|
const gchar *stock_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_action_get_name (GtkAction *action);
|
const gchar* gtk_action_get_name (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_is_sensitive (GtkAction *action);
|
gboolean gtk_action_is_sensitive (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_sensitive (GtkAction *action);
|
gboolean gtk_action_get_sensitive (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_sensitive (GtkAction *action,
|
void gtk_action_set_sensitive (GtkAction *action,
|
||||||
gboolean sensitive);
|
gboolean sensitive);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_is_visible (GtkAction *action);
|
gboolean gtk_action_is_visible (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_visible (GtkAction *action);
|
gboolean gtk_action_get_visible (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_visible (GtkAction *action,
|
void gtk_action_set_visible (GtkAction *action,
|
||||||
gboolean visible);
|
gboolean visible);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_activate (GtkAction *action);
|
void gtk_action_activate (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_action_create_icon (GtkAction *action,
|
GtkWidget * gtk_action_create_icon (GtkAction *action,
|
||||||
GtkIconSize icon_size);
|
GtkIconSize icon_size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_action_create_menu_item (GtkAction *action);
|
GtkWidget * gtk_action_create_menu_item (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_action_create_tool_item (GtkAction *action);
|
GtkWidget * gtk_action_create_tool_item (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_action_create_menu (GtkAction *action);
|
GtkWidget * gtk_action_create_menu (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList * gtk_action_get_proxies (GtkAction *action);
|
GSList * gtk_action_get_proxies (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_connect_accelerator (GtkAction *action);
|
void gtk_action_connect_accelerator (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_disconnect_accelerator (GtkAction *action);
|
void gtk_action_disconnect_accelerator (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar *gtk_action_get_accel_path (GtkAction *action);
|
const gchar *gtk_action_get_accel_path (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GClosure *gtk_action_get_accel_closure (GtkAction *action);
|
GClosure *gtk_action_get_accel_closure (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_block_activate (GtkAction *action);
|
void gtk_action_block_activate (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_unblock_activate (GtkAction *action);
|
void gtk_action_unblock_activate (GtkAction *action);
|
||||||
|
|
||||||
|
|
||||||
void _gtk_action_add_to_proxy_list (GtkAction *action,
|
void _gtk_action_add_to_proxy_list (GtkAction *action,
|
||||||
GtkWidget *proxy);
|
GtkWidget *proxy);
|
||||||
void _gtk_action_remove_from_proxy_list(GtkAction *action,
|
void _gtk_action_remove_from_proxy_list(GtkAction *action,
|
||||||
@ -121,43 +141,65 @@ void _gtk_action_remove_from_proxy_list(GtkAction *action,
|
|||||||
void _gtk_action_emit_activate (GtkAction *action);
|
void _gtk_action_emit_activate (GtkAction *action);
|
||||||
|
|
||||||
/* protected ... for use by action groups */
|
/* protected ... for use by action groups */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_accel_path (GtkAction *action,
|
void gtk_action_set_accel_path (GtkAction *action,
|
||||||
const gchar *accel_path);
|
const gchar *accel_path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_accel_group (GtkAction *action,
|
void gtk_action_set_accel_group (GtkAction *action,
|
||||||
GtkAccelGroup *accel_group);
|
GtkAccelGroup *accel_group);
|
||||||
void _gtk_action_sync_menu_visible (GtkAction *action,
|
void _gtk_action_sync_menu_visible (GtkAction *action,
|
||||||
GtkWidget *proxy,
|
GtkWidget *proxy,
|
||||||
gboolean empty);
|
gboolean empty);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_label (GtkAction *action,
|
void gtk_action_set_label (GtkAction *action,
|
||||||
const gchar *label);
|
const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_get_label (GtkAction *action);
|
const gchar * gtk_action_get_label (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_short_label (GtkAction *action,
|
void gtk_action_set_short_label (GtkAction *action,
|
||||||
const gchar *short_label);
|
const gchar *short_label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_get_short_label (GtkAction *action);
|
const gchar * gtk_action_get_short_label (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_tooltip (GtkAction *action,
|
void gtk_action_set_tooltip (GtkAction *action,
|
||||||
const gchar *tooltip);
|
const gchar *tooltip);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_get_tooltip (GtkAction *action);
|
const gchar * gtk_action_get_tooltip (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_stock_id (GtkAction *action,
|
void gtk_action_set_stock_id (GtkAction *action,
|
||||||
const gchar *stock_id);
|
const gchar *stock_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_get_stock_id (GtkAction *action);
|
const gchar * gtk_action_get_stock_id (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_gicon (GtkAction *action,
|
void gtk_action_set_gicon (GtkAction *action,
|
||||||
GIcon *icon);
|
GIcon *icon);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GIcon *gtk_action_get_gicon (GtkAction *action);
|
GIcon *gtk_action_get_gicon (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_icon_name (GtkAction *action,
|
void gtk_action_set_icon_name (GtkAction *action,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_get_icon_name (GtkAction *action);
|
const gchar * gtk_action_get_icon_name (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_visible_horizontal (GtkAction *action,
|
void gtk_action_set_visible_horizontal (GtkAction *action,
|
||||||
gboolean visible_horizontal);
|
gboolean visible_horizontal);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_visible_horizontal (GtkAction *action);
|
gboolean gtk_action_get_visible_horizontal (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_visible_vertical (GtkAction *action,
|
void gtk_action_set_visible_vertical (GtkAction *action,
|
||||||
gboolean visible_vertical);
|
gboolean visible_vertical);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_visible_vertical (GtkAction *action);
|
gboolean gtk_action_get_visible_vertical (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_is_important (GtkAction *action,
|
void gtk_action_set_is_important (GtkAction *action,
|
||||||
gboolean is_important);
|
gboolean is_important);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_is_important (GtkAction *action);
|
gboolean gtk_action_get_is_important (GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_set_always_show_image (GtkAction *action,
|
void gtk_action_set_always_show_image (GtkAction *action,
|
||||||
gboolean always_show);
|
gboolean always_show);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_get_always_show_image (GtkAction *action);
|
gboolean gtk_action_get_always_show_image (GtkAction *action);
|
||||||
|
|
||||||
|
|
||||||
|
@ -156,13 +156,20 @@ struct _GtkRadioActionEntry
|
|||||||
gint value;
|
gint value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_action_group_get_type (void) G_GNUC_CONST;
|
GType gtk_action_group_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkActionGroup *gtk_action_group_new (const gchar *name);
|
GtkActionGroup *gtk_action_group_new (const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar *gtk_action_group_get_name (GtkActionGroup *action_group);
|
const gchar *gtk_action_group_get_name (GtkActionGroup *action_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_group_get_sensitive (GtkActionGroup *action_group);
|
gboolean gtk_action_group_get_sensitive (GtkActionGroup *action_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_set_sensitive (GtkActionGroup *action_group,
|
void gtk_action_group_set_sensitive (GtkActionGroup *action_group,
|
||||||
gboolean sensitive);
|
gboolean sensitive);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_action_group_get_visible (GtkActionGroup *action_group);
|
gboolean gtk_action_group_get_visible (GtkActionGroup *action_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_set_visible (GtkActionGroup *action_group,
|
void gtk_action_group_set_visible (GtkActionGroup *action_group,
|
||||||
gboolean visible);
|
gboolean visible);
|
||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
@ -171,40 +178,51 @@ GDK_AVAILABLE_IN_3_6
|
|||||||
void gtk_action_group_set_accel_group (GtkActionGroup *action_group,
|
void gtk_action_group_set_accel_group (GtkActionGroup *action_group,
|
||||||
GtkAccelGroup *accel_group);
|
GtkAccelGroup *accel_group);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group,
|
GtkAction *gtk_action_group_get_action (GtkActionGroup *action_group,
|
||||||
const gchar *action_name);
|
const gchar *action_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList *gtk_action_group_list_actions (GtkActionGroup *action_group);
|
GList *gtk_action_group_list_actions (GtkActionGroup *action_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_action (GtkActionGroup *action_group,
|
void gtk_action_group_add_action (GtkActionGroup *action_group,
|
||||||
GtkAction *action);
|
GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
|
void gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
|
||||||
GtkAction *action,
|
GtkAction *action,
|
||||||
const gchar *accelerator);
|
const gchar *accelerator);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_remove_action (GtkActionGroup *action_group,
|
void gtk_action_group_remove_action (GtkActionGroup *action_group,
|
||||||
GtkAction *action);
|
GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_actions (GtkActionGroup *action_group,
|
void gtk_action_group_add_actions (GtkActionGroup *action_group,
|
||||||
const GtkActionEntry *entries,
|
const GtkActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group,
|
void gtk_action_group_add_toggle_actions (GtkActionGroup *action_group,
|
||||||
const GtkToggleActionEntry *entries,
|
const GtkToggleActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
|
void gtk_action_group_add_radio_actions (GtkActionGroup *action_group,
|
||||||
const GtkRadioActionEntry *entries,
|
const GtkRadioActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
gint value,
|
gint value,
|
||||||
GCallback on_change,
|
GCallback on_change,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_actions_full (GtkActionGroup *action_group,
|
void gtk_action_group_add_actions_full (GtkActionGroup *action_group,
|
||||||
const GtkActionEntry *entries,
|
const GtkActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_group,
|
void gtk_action_group_add_toggle_actions_full (GtkActionGroup *action_group,
|
||||||
const GtkToggleActionEntry *entries,
|
const GtkToggleActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
|
void gtk_action_group_add_radio_actions_full (GtkActionGroup *action_group,
|
||||||
const GtkRadioActionEntry *entries,
|
const GtkRadioActionEntry *entries,
|
||||||
guint n_entries,
|
guint n_entries,
|
||||||
@ -212,12 +230,15 @@ void gtk_action_group_add_radio_actions_full (GtkActionGroup
|
|||||||
GCallback on_change,
|
GCallback on_change,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_set_translate_func (GtkActionGroup *action_group,
|
void gtk_action_group_set_translate_func (GtkActionGroup *action_group,
|
||||||
GtkTranslateFunc func,
|
GtkTranslateFunc func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_action_group_set_translation_domain (GtkActionGroup *action_group,
|
void gtk_action_group_set_translation_domain (GtkActionGroup *action_group,
|
||||||
const gchar *domain);
|
const gchar *domain);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_action_group_translate_string (GtkActionGroup *action_group,
|
const gchar * gtk_action_group_translate_string (GtkActionGroup *action_group,
|
||||||
const gchar *string);
|
const gchar *string);
|
||||||
|
|
||||||
|
@ -63,20 +63,27 @@ struct _GtkActivatableIface
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_activatable_get_type (void) G_GNUC_CONST;
|
GType gtk_activatable_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_activatable_sync_action_properties (GtkActivatable *activatable,
|
void gtk_activatable_sync_action_properties (GtkActivatable *activatable,
|
||||||
GtkAction *action);
|
GtkAction *action);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_activatable_set_related_action (GtkActivatable *activatable,
|
void gtk_activatable_set_related_action (GtkActivatable *activatable,
|
||||||
GtkAction *action);
|
GtkAction *action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAction *gtk_activatable_get_related_action (GtkActivatable *activatable);
|
GtkAction *gtk_activatable_get_related_action (GtkActivatable *activatable);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_activatable_set_use_action_appearance (GtkActivatable *activatable,
|
void gtk_activatable_set_use_action_appearance (GtkActivatable *activatable,
|
||||||
gboolean use_appearance);
|
gboolean use_appearance);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_activatable_get_use_action_appearance (GtkActivatable *activatable);
|
gboolean gtk_activatable_get_use_action_appearance (GtkActivatable *activatable);
|
||||||
|
|
||||||
/* For use in activatable implementations */
|
/* For use in activatable implementations */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_activatable_do_set_related_action (GtkActivatable *activatable,
|
void gtk_activatable_do_set_related_action (GtkActivatable *activatable,
|
||||||
GtkAction *action);
|
GtkAction *action);
|
||||||
|
|
||||||
|
@ -73,7 +73,9 @@ struct _GtkAdjustmentClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_adjustment_get_type (void) G_GNUC_CONST;
|
GType gtk_adjustment_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAdjustment* gtk_adjustment_new (gdouble value,
|
GtkAdjustment* gtk_adjustment_new (gdouble value,
|
||||||
gdouble lower,
|
gdouble lower,
|
||||||
gdouble upper,
|
gdouble upper,
|
||||||
@ -81,31 +83,47 @@ GtkAdjustment* gtk_adjustment_new (gdouble value,
|
|||||||
gdouble page_increment,
|
gdouble page_increment,
|
||||||
gdouble page_size);
|
gdouble page_size);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_changed (GtkAdjustment *adjustment);
|
void gtk_adjustment_changed (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_value_changed (GtkAdjustment *adjustment);
|
void gtk_adjustment_value_changed (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
|
void gtk_adjustment_clamp_page (GtkAdjustment *adjustment,
|
||||||
gdouble lower,
|
gdouble lower,
|
||||||
gdouble upper);
|
gdouble upper);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_value (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_value (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_value (GtkAdjustment *adjustment,
|
||||||
gdouble value);
|
gdouble value);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_lower (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_lower (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_lower (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_lower (GtkAdjustment *adjustment,
|
||||||
gdouble lower);
|
gdouble lower);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_upper (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_upper (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_upper (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_upper (GtkAdjustment *adjustment,
|
||||||
gdouble upper);
|
gdouble upper);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_step_increment (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_step_increment (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_step_increment (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_step_increment (GtkAdjustment *adjustment,
|
||||||
gdouble step_increment);
|
gdouble step_increment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_page_increment (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_page_increment (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_page_increment (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_page_increment (GtkAdjustment *adjustment,
|
||||||
gdouble page_increment);
|
gdouble page_increment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_adjustment_get_page_size (GtkAdjustment *adjustment);
|
gdouble gtk_adjustment_get_page_size (GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_set_page_size (GtkAdjustment *adjustment,
|
void gtk_adjustment_set_page_size (GtkAdjustment *adjustment,
|
||||||
gdouble page_size);
|
gdouble page_size);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_adjustment_configure (GtkAdjustment *adjustment,
|
void gtk_adjustment_configure (GtkAdjustment *adjustment,
|
||||||
gdouble value,
|
gdouble value,
|
||||||
gdouble lower,
|
gdouble lower,
|
||||||
|
@ -67,23 +67,28 @@ struct _GtkAlignmentClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_alignment_get_type (void) G_GNUC_CONST;
|
GType gtk_alignment_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_alignment_new (gfloat xalign,
|
GtkWidget* gtk_alignment_new (gfloat xalign,
|
||||||
gfloat yalign,
|
gfloat yalign,
|
||||||
gfloat xscale,
|
gfloat xscale,
|
||||||
gfloat yscale);
|
gfloat yscale);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_alignment_set (GtkAlignment *alignment,
|
void gtk_alignment_set (GtkAlignment *alignment,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign,
|
gfloat yalign,
|
||||||
gfloat xscale,
|
gfloat xscale,
|
||||||
gfloat yscale);
|
gfloat yscale);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_alignment_set_padding (GtkAlignment *alignment,
|
void gtk_alignment_set_padding (GtkAlignment *alignment,
|
||||||
guint padding_top,
|
guint padding_top,
|
||||||
guint padding_bottom,
|
guint padding_bottom,
|
||||||
guint padding_left,
|
guint padding_left,
|
||||||
guint padding_right);
|
guint padding_right);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_alignment_get_padding (GtkAlignment *alignment,
|
void gtk_alignment_get_padding (GtkAlignment *alignment,
|
||||||
guint *padding_top,
|
guint *padding_top,
|
||||||
guint *padding_bottom,
|
guint *padding_bottom,
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -37,10 +38,14 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
typedef struct _GtkAppChooser GtkAppChooser;
|
typedef struct _GtkAppChooser GtkAppChooser;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_app_chooser_get_type (void) G_GNUC_CONST;
|
GType gtk_app_chooser_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self);
|
GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self);
|
gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_refresh (GtkAppChooser *self);
|
void gtk_app_chooser_refresh (GtkAppChooser *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -59,23 +59,32 @@ struct _GtkAppChooserButtonClass {
|
|||||||
gpointer padding[16];
|
gpointer padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_app_chooser_button_get_type (void) G_GNUC_CONST;
|
GType gtk_app_chooser_button_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_app_chooser_button_new (const gchar *content_type);
|
GtkWidget * gtk_app_chooser_button_new (const gchar *content_type);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_button_append_separator (GtkAppChooserButton *self);
|
void gtk_app_chooser_button_append_separator (GtkAppChooserButton *self);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_button_append_custom_item (GtkAppChooserButton *self,
|
void gtk_app_chooser_button_append_custom_item (GtkAppChooserButton *self,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GIcon *icon);
|
GIcon *icon);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_button_set_active_custom_item (GtkAppChooserButton *self,
|
void gtk_app_chooser_button_set_active_custom_item (GtkAppChooserButton *self,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_button_set_show_dialog_item (GtkAppChooserButton *self,
|
void gtk_app_chooser_button_set_show_dialog_item (GtkAppChooserButton *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_button_get_show_dialog_item (GtkAppChooserButton *self);
|
gboolean gtk_app_chooser_button_get_show_dialog_item (GtkAppChooserButton *self);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_button_set_heading (GtkAppChooserButton *self,
|
void gtk_app_chooser_button_set_heading (GtkAppChooserButton *self,
|
||||||
const gchar *heading);
|
const gchar *heading);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar *
|
const gchar *
|
||||||
gtk_app_chooser_button_get_heading (GtkAppChooserButton *self);
|
gtk_app_chooser_button_get_heading (GtkAppChooserButton *self);
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
|
@ -59,18 +59,24 @@ struct _GtkAppChooserDialogClass {
|
|||||||
gpointer padding[16];
|
gpointer padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_app_chooser_dialog_new (GtkWindow *parent,
|
GtkWidget * gtk_app_chooser_dialog_new (GtkWindow *parent,
|
||||||
GtkDialogFlags flags,
|
GtkDialogFlags flags,
|
||||||
GFile *file);
|
GFile *file);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent,
|
GtkWidget * gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent,
|
||||||
GtkDialogFlags flags,
|
GtkDialogFlags flags,
|
||||||
const gchar *content_type);
|
const gchar *content_type);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self);
|
GtkWidget * gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_dialog_set_heading (GtkAppChooserDialog *self,
|
void gtk_app_chooser_dialog_set_heading (GtkAppChooserDialog *self,
|
||||||
const gchar *heading);
|
const gchar *heading);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_app_chooser_dialog_get_heading (GtkAppChooserDialog *self);
|
const gchar * gtk_app_chooser_dialog_get_heading (GtkAppChooserDialog *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -70,32 +70,46 @@ struct _GtkAppChooserWidgetClass {
|
|||||||
gpointer padding[16];
|
gpointer padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_app_chooser_widget_get_type (void) G_GNUC_CONST;
|
GType gtk_app_chooser_widget_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_app_chooser_widget_new (const gchar *content_type);
|
GtkWidget * gtk_app_chooser_widget_new (const gchar *content_type);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_show_default (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_show_default (GtkAppChooserWidget *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_widget_get_show_default (GtkAppChooserWidget *self);
|
gboolean gtk_app_chooser_widget_get_show_default (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_show_recommended (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_show_recommended (GtkAppChooserWidget *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_widget_get_show_recommended (GtkAppChooserWidget *self);
|
gboolean gtk_app_chooser_widget_get_show_recommended (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_show_fallback (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_show_fallback (GtkAppChooserWidget *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_widget_get_show_fallback (GtkAppChooserWidget *self);
|
gboolean gtk_app_chooser_widget_get_show_fallback (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_show_other (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_show_other (GtkAppChooserWidget *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_widget_get_show_other (GtkAppChooserWidget *self);
|
gboolean gtk_app_chooser_widget_get_show_other (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_show_all (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_show_all (GtkAppChooserWidget *self,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_app_chooser_widget_get_show_all (GtkAppChooserWidget *self);
|
gboolean gtk_app_chooser_widget_get_show_all (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_app_chooser_widget_set_default_text (GtkAppChooserWidget *self,
|
void gtk_app_chooser_widget_set_default_text (GtkAppChooserWidget *self,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_app_chooser_widget_get_default_text (GtkAppChooserWidget *self);
|
const gchar * gtk_app_chooser_widget_get_default_text (GtkAppChooserWidget *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -61,16 +61,21 @@ struct _GtkApplicationClass
|
|||||||
gpointer padding[12];
|
gpointer padding[12];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_application_get_type (void) G_GNUC_CONST;
|
GType gtk_application_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkApplication * gtk_application_new (const gchar *application_id,
|
GtkApplication * gtk_application_new (const gchar *application_id,
|
||||||
GApplicationFlags flags);
|
GApplicationFlags flags);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_application_add_window (GtkApplication *application,
|
void gtk_application_add_window (GtkApplication *application,
|
||||||
GtkWindow *window);
|
GtkWindow *window);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_application_remove_window (GtkApplication *application,
|
void gtk_application_remove_window (GtkApplication *application,
|
||||||
GtkWindow *window);
|
GtkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gtk_application_get_windows (GtkApplication *application);
|
GList * gtk_application_get_windows (GtkApplication *application);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
|
@ -67,9 +67,12 @@ struct _GtkArrowClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_arrow_get_type (void) G_GNUC_CONST;
|
GType gtk_arrow_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_arrow_new (GtkArrowType arrow_type,
|
GtkWidget* gtk_arrow_new (GtkArrowType arrow_type,
|
||||||
GtkShadowType shadow_type);
|
GtkShadowType shadow_type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_arrow_set (GtkArrow *arrow,
|
void gtk_arrow_set (GtkArrow *arrow,
|
||||||
GtkArrowType arrow_type,
|
GtkArrowType arrow_type,
|
||||||
GtkShadowType shadow_type);
|
GtkShadowType shadow_type);
|
||||||
|
@ -66,12 +66,15 @@ struct _GtkAspectFrameClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_aspect_frame_get_type (void) G_GNUC_CONST;
|
GType gtk_aspect_frame_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_aspect_frame_new (const gchar *label,
|
GtkWidget* gtk_aspect_frame_new (const gchar *label,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign,
|
gfloat yalign,
|
||||||
gfloat ratio,
|
gfloat ratio,
|
||||||
gboolean obey_child);
|
gboolean obey_child);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame,
|
void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign,
|
gfloat yalign,
|
||||||
|
@ -120,38 +120,54 @@ struct _GtkAssistantClass
|
|||||||
*/
|
*/
|
||||||
typedef gint (*GtkAssistantPageFunc) (gint current_page, gpointer data);
|
typedef gint (*GtkAssistantPageFunc) (gint current_page, gpointer data);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_assistant_get_type (void) G_GNUC_CONST;
|
GType gtk_assistant_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_assistant_new (void);
|
GtkWidget *gtk_assistant_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_next_page (GtkAssistant *assistant);
|
void gtk_assistant_next_page (GtkAssistant *assistant);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_previous_page (GtkAssistant *assistant);
|
void gtk_assistant_previous_page (GtkAssistant *assistant);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_assistant_get_current_page (GtkAssistant *assistant);
|
gint gtk_assistant_get_current_page (GtkAssistant *assistant);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_set_current_page (GtkAssistant *assistant,
|
void gtk_assistant_set_current_page (GtkAssistant *assistant,
|
||||||
gint page_num);
|
gint page_num);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_assistant_get_n_pages (GtkAssistant *assistant);
|
gint gtk_assistant_get_n_pages (GtkAssistant *assistant);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_assistant_get_nth_page (GtkAssistant *assistant,
|
GtkWidget *gtk_assistant_get_nth_page (GtkAssistant *assistant,
|
||||||
gint page_num);
|
gint page_num);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_assistant_prepend_page (GtkAssistant *assistant,
|
gint gtk_assistant_prepend_page (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_assistant_append_page (GtkAssistant *assistant,
|
gint gtk_assistant_append_page (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_assistant_insert_page (GtkAssistant *assistant,
|
gint gtk_assistant_insert_page (GtkAssistant *assistant,
|
||||||
GtkWidget *page,
|
GtkWidget *page,
|
||||||
gint position);
|
gint position);
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
void gtk_assistant_remove_page (GtkAssistant *assistant,
|
void gtk_assistant_remove_page (GtkAssistant *assistant,
|
||||||
gint page_num);
|
gint page_num);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_set_forward_page_func (GtkAssistant *assistant,
|
void gtk_assistant_set_forward_page_func (GtkAssistant *assistant,
|
||||||
GtkAssistantPageFunc page_func,
|
GtkAssistantPageFunc page_func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_set_page_type (GtkAssistant *assistant,
|
void gtk_assistant_set_page_type (GtkAssistant *assistant,
|
||||||
GtkWidget *page,
|
GtkWidget *page,
|
||||||
GtkAssistantPageType type);
|
GtkAssistantPageType type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAssistantPageType gtk_assistant_get_page_type (GtkAssistant *assistant,
|
GtkAssistantPageType gtk_assistant_get_page_type (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_set_page_title (GtkAssistant *assistant,
|
void gtk_assistant_set_page_title (GtkAssistant *assistant,
|
||||||
GtkWidget *page,
|
GtkWidget *page,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_assistant_get_page_title (GtkAssistant *assistant,
|
const gchar * gtk_assistant_get_page_title (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
|
||||||
@ -170,17 +186,23 @@ GDK_DEPRECATED_IN_3_2
|
|||||||
GdkPixbuf *gtk_assistant_get_page_side_image (GtkAssistant *assistant,
|
GdkPixbuf *gtk_assistant_get_page_side_image (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_set_page_complete (GtkAssistant *assistant,
|
void gtk_assistant_set_page_complete (GtkAssistant *assistant,
|
||||||
GtkWidget *page,
|
GtkWidget *page,
|
||||||
gboolean complete);
|
gboolean complete);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_assistant_get_page_complete (GtkAssistant *assistant,
|
gboolean gtk_assistant_get_page_complete (GtkAssistant *assistant,
|
||||||
GtkWidget *page);
|
GtkWidget *page);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_add_action_widget (GtkAssistant *assistant,
|
void gtk_assistant_add_action_widget (GtkAssistant *assistant,
|
||||||
GtkWidget *child);
|
GtkWidget *child);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_remove_action_widget (GtkAssistant *assistant,
|
void gtk_assistant_remove_action_widget (GtkAssistant *assistant,
|
||||||
GtkWidget *child);
|
GtkWidget *child);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_update_buttons_state (GtkAssistant *assistant);
|
void gtk_assistant_update_buttons_state (GtkAssistant *assistant);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_assistant_commit (GtkAssistant *assistant);
|
void gtk_assistant_commit (GtkAssistant *assistant);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -66,13 +66,19 @@ struct _GtkButtonBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_button_box_get_type (void) G_GNUC_CONST;
|
GType gtk_button_box_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_button_box_new (GtkOrientation orientation);
|
GtkWidget * gtk_button_box_new (GtkOrientation orientation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget);
|
GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_box_set_layout (GtkButtonBox *widget,
|
void gtk_button_box_set_layout (GtkButtonBox *widget,
|
||||||
GtkButtonBoxStyle layout_style);
|
GtkButtonBoxStyle layout_style);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_button_box_get_child_secondary (GtkButtonBox *widget,
|
gboolean gtk_button_box_get_child_secondary (GtkButtonBox *widget,
|
||||||
GtkWidget *child);
|
GtkWidget *child);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_box_set_child_secondary (GtkButtonBox *widget,
|
void gtk_button_box_set_child_secondary (GtkButtonBox *widget,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean is_secondary);
|
gboolean is_secondary);
|
||||||
|
@ -67,8 +67,10 @@ struct _GtkBinClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_bin_get_type (void) G_GNUC_CONST;
|
GType gtk_bin_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_bin_get_child (GtkBin *bin);
|
GtkWidget *gtk_bin_get_child (GtkBin *bin);
|
||||||
|
|
||||||
void _gtk_bin_set_child (GtkBin *bin,
|
void _gtk_bin_set_child (GtkBin *bin,
|
||||||
|
@ -141,39 +141,50 @@ struct _GtkBindingSignal
|
|||||||
GtkBindingArg *args;
|
GtkBindingArg *args;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBindingSet *gtk_binding_set_new (const gchar *set_name);
|
GtkBindingSet *gtk_binding_set_new (const gchar *set_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBindingSet *gtk_binding_set_by_class (gpointer object_class);
|
GtkBindingSet *gtk_binding_set_by_class (gpointer object_class);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBindingSet *gtk_binding_set_find (const gchar *set_name);
|
GtkBindingSet *gtk_binding_set_find (const gchar *set_name);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_bindings_activate (GObject *object,
|
gboolean gtk_bindings_activate (GObject *object,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers);
|
GdkModifierType modifiers);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_bindings_activate_event (GObject *object,
|
gboolean gtk_bindings_activate_event (GObject *object,
|
||||||
GdkEventKey *event);
|
GdkEventKey *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_binding_set_activate (GtkBindingSet *binding_set,
|
gboolean gtk_binding_set_activate (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers,
|
GdkModifierType modifiers,
|
||||||
GObject *object);
|
GObject *object);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_binding_entry_skip (GtkBindingSet *binding_set,
|
void gtk_binding_entry_skip (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers);
|
GdkModifierType modifiers);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
|
void gtk_binding_entry_add_signal (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers,
|
GdkModifierType modifiers,
|
||||||
const gchar *signal_name,
|
const gchar *signal_name,
|
||||||
guint n_args,
|
guint n_args,
|
||||||
...);
|
...);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
void gtk_binding_entry_add_signall (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers,
|
GdkModifierType modifiers,
|
||||||
const gchar *signal_name,
|
const gchar *signal_name,
|
||||||
GSList *binding_args);
|
GSList *binding_args);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GTokenType gtk_binding_entry_add_signal_from_string
|
GTokenType gtk_binding_entry_add_signal_from_string
|
||||||
(GtkBindingSet *binding_set,
|
(GtkBindingSet *binding_set,
|
||||||
const gchar *signal_desc);
|
const gchar *signal_desc);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_binding_entry_remove (GtkBindingSet *binding_set,
|
void gtk_binding_entry_remove (GtkBindingSet *binding_set,
|
||||||
guint keyval,
|
guint keyval,
|
||||||
GdkModifierType modifiers);
|
GdkModifierType modifiers);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -55,9 +56,13 @@ struct _GtkBorder
|
|||||||
gint16 bottom;
|
gint16 bottom;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_border_get_type (void) G_GNUC_CONST;
|
GType gtk_border_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBorder *gtk_border_new (void) G_GNUC_MALLOC;
|
GtkBorder *gtk_border_new (void) G_GNUC_MALLOC;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBorder *gtk_border_copy (const GtkBorder *border_);
|
GtkBorder *gtk_border_copy (const GtkBorder *border_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_border_free (GtkBorder *border_);
|
void gtk_border_free (GtkBorder *border_);
|
||||||
|
|
||||||
|
|
||||||
|
11
gtk/gtkbox.h
11
gtk/gtkbox.h
@ -68,26 +68,34 @@ struct _GtkBoxClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_box_get_type (void) G_GNUC_CONST;
|
GType gtk_box_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_box_new (GtkOrientation orientation,
|
GtkWidget* gtk_box_new (GtkOrientation orientation,
|
||||||
gint spacing);
|
gint spacing);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_pack_start (GtkBox *box,
|
void gtk_box_pack_start (GtkBox *box,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
gboolean fill,
|
gboolean fill,
|
||||||
guint padding);
|
guint padding);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_pack_end (GtkBox *box,
|
void gtk_box_pack_end (GtkBox *box,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
gboolean fill,
|
gboolean fill,
|
||||||
guint padding);
|
guint padding);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_set_homogeneous (GtkBox *box,
|
void gtk_box_set_homogeneous (GtkBox *box,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_box_get_homogeneous (GtkBox *box);
|
gboolean gtk_box_get_homogeneous (GtkBox *box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_set_spacing (GtkBox *box,
|
void gtk_box_set_spacing (GtkBox *box,
|
||||||
gint spacing);
|
gint spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_box_get_spacing (GtkBox *box);
|
gint gtk_box_get_spacing (GtkBox *box);
|
||||||
GDK_AVAILABLE_IN_3_10
|
GDK_AVAILABLE_IN_3_10
|
||||||
void gtk_box_set_baseline_position (GtkBox *box,
|
void gtk_box_set_baseline_position (GtkBox *box,
|
||||||
@ -95,16 +103,19 @@ void gtk_box_set_baseline_position (GtkBox *box,
|
|||||||
GDK_AVAILABLE_IN_3_10
|
GDK_AVAILABLE_IN_3_10
|
||||||
GtkBaselinePosition gtk_box_get_baseline_position (GtkBox *box);
|
GtkBaselinePosition gtk_box_get_baseline_position (GtkBox *box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_reorder_child (GtkBox *box,
|
void gtk_box_reorder_child (GtkBox *box,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gint position);
|
gint position);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_query_child_packing (GtkBox *box,
|
void gtk_box_query_child_packing (GtkBox *box,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean *expand,
|
gboolean *expand,
|
||||||
gboolean *fill,
|
gboolean *fill,
|
||||||
guint *padding,
|
guint *padding,
|
||||||
GtkPackType *pack_type);
|
GtkPackType *pack_type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_box_set_child_packing (GtkBox *box,
|
void gtk_box_set_child_packing (GtkBox *box,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
|
@ -130,40 +130,51 @@ struct _GtkBuildableIface
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_buildable_get_type (void) G_GNUC_CONST;
|
GType gtk_buildable_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_set_name (GtkBuildable *buildable,
|
void gtk_buildable_set_name (GtkBuildable *buildable,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_buildable_get_name (GtkBuildable *buildable);
|
const gchar * gtk_buildable_get_name (GtkBuildable *buildable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_add_child (GtkBuildable *buildable,
|
void gtk_buildable_add_child (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
const gchar *type);
|
const gchar *type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_set_buildable_property (GtkBuildable *buildable,
|
void gtk_buildable_set_buildable_property (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
const GValue *value);
|
const GValue *value);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GObject * gtk_buildable_construct_child (GtkBuildable *buildable,
|
GObject * gtk_buildable_construct_child (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable,
|
gboolean gtk_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
GMarkupParser *parser,
|
GMarkupParser *parser,
|
||||||
gpointer *data);
|
gpointer *data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_custom_tag_end (GtkBuildable *buildable,
|
void gtk_buildable_custom_tag_end (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
gpointer *data);
|
gpointer *data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_custom_finished (GtkBuildable *buildable,
|
void gtk_buildable_custom_finished (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
GObject *child,
|
GObject *child,
|
||||||
const gchar *tagname,
|
const gchar *tagname,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_buildable_parser_finished (GtkBuildable *buildable,
|
void gtk_buildable_parser_finished (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder);
|
GtkBuilder *builder);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable,
|
GObject * gtk_buildable_get_internal_child (GtkBuildable *buildable,
|
||||||
GtkBuilder *builder,
|
GtkBuilder *builder,
|
||||||
const gchar *childname);
|
const gchar *childname);
|
||||||
|
@ -80,6 +80,7 @@ typedef enum
|
|||||||
GTK_BUILDER_ERROR_TEMPLATE_MISMATCH
|
GTK_BUILDER_ERROR_TEMPLATE_MISMATCH
|
||||||
} GtkBuilderError;
|
} GtkBuilderError;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GQuark gtk_builder_error_quark (void);
|
GQuark gtk_builder_error_quark (void);
|
||||||
|
|
||||||
struct _GtkBuilder
|
struct _GtkBuilder
|
||||||
@ -107,19 +108,25 @@ struct _GtkBuilderClass
|
|||||||
void (*_gtk_reserved8) (void);
|
void (*_gtk_reserved8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_builder_get_type (void) G_GNUC_CONST;
|
GType gtk_builder_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkBuilder* gtk_builder_new (void);
|
GtkBuilder* gtk_builder_new (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_builder_add_from_file (GtkBuilder *builder,
|
guint gtk_builder_add_from_file (GtkBuilder *builder,
|
||||||
const gchar *filename,
|
const gchar *filename,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_builder_add_from_resource (GtkBuilder *builder,
|
guint gtk_builder_add_from_resource (GtkBuilder *builder,
|
||||||
const gchar *resource_path,
|
const gchar *resource_path,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_builder_add_from_string (GtkBuilder *builder,
|
guint gtk_builder_add_from_string (GtkBuilder *builder,
|
||||||
const gchar *buffer,
|
const gchar *buffer,
|
||||||
gsize length,
|
gsize length,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_builder_add_objects_from_file (GtkBuilder *builder,
|
guint gtk_builder_add_objects_from_file (GtkBuilder *builder,
|
||||||
const gchar *filename,
|
const gchar *filename,
|
||||||
gchar **object_ids,
|
gchar **object_ids,
|
||||||
@ -129,34 +136,44 @@ guint gtk_builder_add_objects_from_resource(GtkBuilder *builder,
|
|||||||
const gchar *resource_path,
|
const gchar *resource_path,
|
||||||
gchar **object_ids,
|
gchar **object_ids,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_builder_add_objects_from_string (GtkBuilder *builder,
|
guint gtk_builder_add_objects_from_string (GtkBuilder *builder,
|
||||||
const gchar *buffer,
|
const gchar *buffer,
|
||||||
gsize length,
|
gsize length,
|
||||||
gchar **object_ids,
|
gchar **object_ids,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GObject* gtk_builder_get_object (GtkBuilder *builder,
|
GObject* gtk_builder_get_object (GtkBuilder *builder,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList* gtk_builder_get_objects (GtkBuilder *builder);
|
GSList* gtk_builder_get_objects (GtkBuilder *builder);
|
||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
void gtk_builder_expose_object (GtkBuilder *builder,
|
void gtk_builder_expose_object (GtkBuilder *builder,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
GObject *object);
|
GObject *object);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_builder_connect_signals (GtkBuilder *builder,
|
void gtk_builder_connect_signals (GtkBuilder *builder,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_builder_connect_signals_full (GtkBuilder *builder,
|
void gtk_builder_connect_signals_full (GtkBuilder *builder,
|
||||||
GtkBuilderConnectFunc func,
|
GtkBuilderConnectFunc func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_builder_set_translation_domain (GtkBuilder *builder,
|
void gtk_builder_set_translation_domain (GtkBuilder *builder,
|
||||||
const gchar *domain);
|
const gchar *domain);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_builder_get_translation_domain (GtkBuilder *builder);
|
const gchar* gtk_builder_get_translation_domain (GtkBuilder *builder);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_builder_get_type_from_name (GtkBuilder *builder,
|
GType gtk_builder_get_type_from_name (GtkBuilder *builder,
|
||||||
const char *type_name);
|
const char *type_name);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_builder_value_from_string (GtkBuilder *builder,
|
gboolean gtk_builder_value_from_string (GtkBuilder *builder,
|
||||||
GParamSpec *pspec,
|
GParamSpec *pspec,
|
||||||
const gchar *string,
|
const gchar *string,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_builder_value_from_string_type (GtkBuilder *builder,
|
gboolean gtk_builder_value_from_string_type (GtkBuilder *builder,
|
||||||
GType type,
|
GType type,
|
||||||
const gchar *string,
|
const gchar *string,
|
||||||
|
@ -74,11 +74,17 @@ struct _GtkButtonClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_button_get_type (void) G_GNUC_CONST;
|
GType gtk_button_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_button_new (void);
|
GtkWidget* gtk_button_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_button_new_with_label (const gchar *label);
|
GtkWidget* gtk_button_new_with_label (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
|
GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
|
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_clicked (GtkButton *button);
|
void gtk_button_clicked (GtkButton *button);
|
||||||
GDK_DEPRECATED
|
GDK_DEPRECATED
|
||||||
void gtk_button_pressed (GtkButton *button);
|
void gtk_button_pressed (GtkButton *button);
|
||||||
@ -89,32 +95,48 @@ void gtk_button_enter (GtkButton *button);
|
|||||||
GDK_DEPRECATED
|
GDK_DEPRECATED
|
||||||
void gtk_button_leave (GtkButton *button);
|
void gtk_button_leave (GtkButton *button);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_relief (GtkButton *button,
|
void gtk_button_set_relief (GtkButton *button,
|
||||||
GtkReliefStyle newstyle);
|
GtkReliefStyle newstyle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkReliefStyle gtk_button_get_relief (GtkButton *button);
|
GtkReliefStyle gtk_button_get_relief (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_label (GtkButton *button,
|
void gtk_button_set_label (GtkButton *button,
|
||||||
const gchar *label);
|
const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_button_get_label (GtkButton *button);
|
const gchar * gtk_button_get_label (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_use_underline (GtkButton *button,
|
void gtk_button_set_use_underline (GtkButton *button,
|
||||||
gboolean use_underline);
|
gboolean use_underline);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_button_get_use_underline (GtkButton *button);
|
gboolean gtk_button_get_use_underline (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_use_stock (GtkButton *button,
|
void gtk_button_set_use_stock (GtkButton *button,
|
||||||
gboolean use_stock);
|
gboolean use_stock);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_button_get_use_stock (GtkButton *button);
|
gboolean gtk_button_get_use_stock (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_focus_on_click (GtkButton *button,
|
void gtk_button_set_focus_on_click (GtkButton *button,
|
||||||
gboolean focus_on_click);
|
gboolean focus_on_click);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_button_get_focus_on_click (GtkButton *button);
|
gboolean gtk_button_get_focus_on_click (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_alignment (GtkButton *button,
|
void gtk_button_set_alignment (GtkButton *button,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign);
|
gfloat yalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_get_alignment (GtkButton *button,
|
void gtk_button_get_alignment (GtkButton *button,
|
||||||
gfloat *xalign,
|
gfloat *xalign,
|
||||||
gfloat *yalign);
|
gfloat *yalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_image (GtkButton *button,
|
void gtk_button_set_image (GtkButton *button,
|
||||||
GtkWidget *image);
|
GtkWidget *image);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_button_get_image (GtkButton *button);
|
GtkWidget* gtk_button_get_image (GtkButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_button_set_image_position (GtkButton *button,
|
void gtk_button_set_image_position (GtkButton *button,
|
||||||
GtkPositionType position);
|
GtkPositionType position);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkPositionType gtk_button_get_image_position (GtkButton *button);
|
GtkPositionType gtk_button_get_image_position (GtkButton *button);
|
||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
void gtk_button_set_always_show_image (GtkButton *button,
|
void gtk_button_set_always_show_image (GtkButton *button,
|
||||||
@ -122,6 +144,7 @@ void gtk_button_set_always_show_image (GtkButton *button,
|
|||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
gboolean gtk_button_get_always_show_image (GtkButton *button);
|
gboolean gtk_button_get_always_show_image (GtkButton *button);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkWindow* gtk_button_get_event_window (GtkButton *button);
|
GdkWindow* gtk_button_get_event_window (GtkButton *button);
|
||||||
|
|
||||||
|
|
||||||
|
@ -123,44 +123,60 @@ struct _GtkCalendarClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_calendar_get_type (void) G_GNUC_CONST;
|
GType gtk_calendar_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_calendar_new (void);
|
GtkWidget* gtk_calendar_new (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_select_month (GtkCalendar *calendar,
|
void gtk_calendar_select_month (GtkCalendar *calendar,
|
||||||
guint month,
|
guint month,
|
||||||
guint year);
|
guint year);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_select_day (GtkCalendar *calendar,
|
void gtk_calendar_select_day (GtkCalendar *calendar,
|
||||||
guint day);
|
guint day);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_mark_day (GtkCalendar *calendar,
|
void gtk_calendar_mark_day (GtkCalendar *calendar,
|
||||||
guint day);
|
guint day);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_unmark_day (GtkCalendar *calendar,
|
void gtk_calendar_unmark_day (GtkCalendar *calendar,
|
||||||
guint day);
|
guint day);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_clear_marks (GtkCalendar *calendar);
|
void gtk_calendar_clear_marks (GtkCalendar *calendar);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_set_display_options (GtkCalendar *calendar,
|
void gtk_calendar_set_display_options (GtkCalendar *calendar,
|
||||||
GtkCalendarDisplayOptions flags);
|
GtkCalendarDisplayOptions flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCalendarDisplayOptions
|
GtkCalendarDisplayOptions
|
||||||
gtk_calendar_get_display_options (GtkCalendar *calendar);
|
gtk_calendar_get_display_options (GtkCalendar *calendar);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_get_date (GtkCalendar *calendar,
|
void gtk_calendar_get_date (GtkCalendar *calendar,
|
||||||
guint *year,
|
guint *year,
|
||||||
guint *month,
|
guint *month,
|
||||||
guint *day);
|
guint *day);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_set_detail_func (GtkCalendar *calendar,
|
void gtk_calendar_set_detail_func (GtkCalendar *calendar,
|
||||||
GtkCalendarDetailFunc func,
|
GtkCalendarDetailFunc func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_set_detail_width_chars (GtkCalendar *calendar,
|
void gtk_calendar_set_detail_width_chars (GtkCalendar *calendar,
|
||||||
gint chars);
|
gint chars);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_calendar_set_detail_height_rows (GtkCalendar *calendar,
|
void gtk_calendar_set_detail_height_rows (GtkCalendar *calendar,
|
||||||
gint rows);
|
gint rows);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_calendar_get_detail_width_chars (GtkCalendar *calendar);
|
gint gtk_calendar_get_detail_width_chars (GtkCalendar *calendar);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_calendar_get_detail_height_rows (GtkCalendar *calendar);
|
gint gtk_calendar_get_detail_height_rows (GtkCalendar *calendar);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_calendar_get_day_is_marked (GtkCalendar *calendar,
|
gboolean gtk_calendar_get_day_is_marked (GtkCalendar *calendar,
|
||||||
guint day);
|
guint day);
|
||||||
|
|
||||||
|
@ -276,18 +276,24 @@ struct _GtkCellAreaClass
|
|||||||
void (*_gtk_reserved8) (void);
|
void (*_gtk_reserved8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_area_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_area_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* Basic methods */
|
/* Basic methods */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_add (GtkCellArea *area,
|
void gtk_cell_area_add (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_remove (GtkCellArea *area,
|
void gtk_cell_area_remove (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_has_renderer (GtkCellArea *area,
|
gboolean gtk_cell_area_has_renderer (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_foreach (GtkCellArea *area,
|
void gtk_cell_area_foreach (GtkCellArea *area,
|
||||||
GtkCellCallback callback,
|
GtkCellCallback callback,
|
||||||
gpointer callback_data);
|
gpointer callback_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_foreach_alloc (GtkCellArea *area,
|
void gtk_cell_area_foreach_alloc (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
@ -295,12 +301,14 @@ void gtk_cell_area_foreach_alloc (GtkCellArea
|
|||||||
const GdkRectangle *background_area,
|
const GdkRectangle *background_area,
|
||||||
GtkCellAllocCallback callback,
|
GtkCellAllocCallback callback,
|
||||||
gpointer callback_data);
|
gpointer callback_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_cell_area_event (GtkCellArea *area,
|
gint gtk_cell_area_event (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GdkEvent *event,
|
GdkEvent *event,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags);
|
GtkCellRendererState flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_render (GtkCellArea *area,
|
void gtk_cell_area_render (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
@ -310,12 +318,14 @@ void gtk_cell_area_render (GtkCellArea
|
|||||||
GtkCellRendererState flags,
|
GtkCellRendererState flags,
|
||||||
gboolean paint_focus);
|
gboolean paint_focus);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_get_cell_allocation (GtkCellArea *area,
|
void gtk_cell_area_get_cell_allocation (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GdkRectangle *allocation);
|
GdkRectangle *allocation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_area_get_cell_at_position (GtkCellArea *area,
|
GtkCellRenderer *gtk_cell_area_get_cell_at_position (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
@ -325,137 +335,174 @@ GtkCellRenderer *gtk_cell_area_get_cell_at_position (GtkCellArea
|
|||||||
GdkRectangle *alloc_area);
|
GdkRectangle *alloc_area);
|
||||||
|
|
||||||
/* Geometry */
|
/* Geometry */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellAreaContext *gtk_cell_area_create_context (GtkCellArea *area);
|
GtkCellAreaContext *gtk_cell_area_create_context (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellAreaContext *gtk_cell_area_copy_context (GtkCellArea *area,
|
GtkCellAreaContext *gtk_cell_area_copy_context (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context);
|
GtkCellAreaContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkSizeRequestMode gtk_cell_area_get_request_mode (GtkCellArea *area);
|
GtkSizeRequestMode gtk_cell_area_get_request_mode (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_get_preferred_width (GtkCellArea *area,
|
void gtk_cell_area_get_preferred_width (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint *minimum_width,
|
gint *minimum_width,
|
||||||
gint *natural_width);
|
gint *natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_get_preferred_height_for_width (GtkCellArea *area,
|
void gtk_cell_area_get_preferred_height_for_width (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint width,
|
gint width,
|
||||||
gint *minimum_height,
|
gint *minimum_height,
|
||||||
gint *natural_height);
|
gint *natural_height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_get_preferred_height (GtkCellArea *area,
|
void gtk_cell_area_get_preferred_height (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint *minimum_height,
|
gint *minimum_height,
|
||||||
gint *natural_height);
|
gint *natural_height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_get_preferred_width_for_height (GtkCellArea *area,
|
void gtk_cell_area_get_preferred_width_for_height (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint height,
|
gint height,
|
||||||
gint *minimum_width,
|
gint *minimum_width,
|
||||||
gint *natural_width);
|
gint *natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_cell_area_get_current_path_string (GtkCellArea *area);
|
const gchar * gtk_cell_area_get_current_path_string (GtkCellArea *area);
|
||||||
|
|
||||||
|
|
||||||
/* Attributes */
|
/* Attributes */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_apply_attributes (GtkCellArea *area,
|
void gtk_cell_area_apply_attributes (GtkCellArea *area,
|
||||||
GtkTreeModel *tree_model,
|
GtkTreeModel *tree_model,
|
||||||
GtkTreeIter *iter,
|
GtkTreeIter *iter,
|
||||||
gboolean is_expander,
|
gboolean is_expander,
|
||||||
gboolean is_expanded);
|
gboolean is_expanded);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_attribute_connect (GtkCellArea *area,
|
void gtk_cell_area_attribute_connect (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *attribute,
|
const gchar *attribute,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_attribute_disconnect (GtkCellArea *area,
|
void gtk_cell_area_attribute_disconnect (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *attribute);
|
const gchar *attribute);
|
||||||
|
|
||||||
/* Cell Properties */
|
/* Cell Properties */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_class_install_cell_property (GtkCellAreaClass *aclass,
|
void gtk_cell_area_class_install_cell_property (GtkCellAreaClass *aclass,
|
||||||
guint property_id,
|
guint property_id,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GParamSpec* gtk_cell_area_class_find_cell_property (GtkCellAreaClass *aclass,
|
GParamSpec* gtk_cell_area_class_find_cell_property (GtkCellAreaClass *aclass,
|
||||||
const gchar *property_name);
|
const gchar *property_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GParamSpec** gtk_cell_area_class_list_cell_properties (GtkCellAreaClass *aclass,
|
GParamSpec** gtk_cell_area_class_list_cell_properties (GtkCellAreaClass *aclass,
|
||||||
guint *n_properties);
|
guint *n_properties);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_add_with_properties (GtkCellArea *area,
|
void gtk_cell_area_add_with_properties (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_set (GtkCellArea *area,
|
void gtk_cell_area_cell_set (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_get (GtkCellArea *area,
|
void gtk_cell_area_cell_get (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_set_valist (GtkCellArea *area,
|
void gtk_cell_area_cell_set_valist (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
va_list var_args);
|
va_list var_args);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_get_valist (GtkCellArea *area,
|
void gtk_cell_area_cell_get_valist (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
va_list var_args);
|
va_list var_args);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_set_property (GtkCellArea *area,
|
void gtk_cell_area_cell_set_property (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const GValue *value);
|
const GValue *value);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_cell_get_property (GtkCellArea *area,
|
void gtk_cell_area_cell_get_property (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
GValue *value);
|
GValue *value);
|
||||||
|
|
||||||
/* Focus */
|
/* Focus */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_is_activatable (GtkCellArea *area);
|
gboolean gtk_cell_area_is_activatable (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_activate (GtkCellArea *area,
|
gboolean gtk_cell_area_activate (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context,
|
GtkCellAreaContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags,
|
GtkCellRendererState flags,
|
||||||
gboolean edit_only);
|
gboolean edit_only);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_focus (GtkCellArea *area,
|
gboolean gtk_cell_area_focus (GtkCellArea *area,
|
||||||
GtkDirectionType direction);
|
GtkDirectionType direction);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_set_focus_cell (GtkCellArea *area,
|
void gtk_cell_area_set_focus_cell (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_area_get_focus_cell (GtkCellArea *area);
|
GtkCellRenderer *gtk_cell_area_get_focus_cell (GtkCellArea *area);
|
||||||
|
|
||||||
|
|
||||||
/* Focus siblings */
|
/* Focus siblings */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_add_focus_sibling (GtkCellArea *area,
|
void gtk_cell_area_add_focus_sibling (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
GtkCellRenderer *sibling);
|
GtkCellRenderer *sibling);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_remove_focus_sibling (GtkCellArea *area,
|
void gtk_cell_area_remove_focus_sibling (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
GtkCellRenderer *sibling);
|
GtkCellRenderer *sibling);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_is_focus_sibling (GtkCellArea *area,
|
gboolean gtk_cell_area_is_focus_sibling (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
GtkCellRenderer *sibling);
|
GtkCellRenderer *sibling);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const GList * gtk_cell_area_get_focus_siblings (GtkCellArea *area,
|
const GList * gtk_cell_area_get_focus_siblings (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_area_get_focus_from_sibling (GtkCellArea *area,
|
GtkCellRenderer *gtk_cell_area_get_focus_from_sibling (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer);
|
GtkCellRenderer *renderer);
|
||||||
|
|
||||||
/* Cell Activation/Editing */
|
/* Cell Activation/Editing */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_area_get_edited_cell (GtkCellArea *area);
|
GtkCellRenderer *gtk_cell_area_get_edited_cell (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellEditable *gtk_cell_area_get_edit_widget (GtkCellArea *area);
|
GtkCellEditable *gtk_cell_area_get_edit_widget (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_area_activate_cell (GtkCellArea *area,
|
gboolean gtk_cell_area_activate_cell (GtkCellArea *area,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
GdkEvent *event,
|
GdkEvent *event,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags);
|
GtkCellRendererState flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_stop_editing (GtkCellArea *area,
|
void gtk_cell_area_stop_editing (GtkCellArea *area,
|
||||||
gboolean canceled);
|
gboolean canceled);
|
||||||
|
|
||||||
/* Functions for area implementations */
|
/* Functions for area implementations */
|
||||||
|
|
||||||
/* Distinguish the inner cell area from the whole requested area including margins */
|
/* Distinguish the inner cell area from the whole requested area including margins */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_inner_cell_area (GtkCellArea *area,
|
void gtk_cell_area_inner_cell_area (GtkCellArea *area,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GdkRectangle *inner_area);
|
GdkRectangle *inner_area);
|
||||||
|
|
||||||
/* Request the size of a cell while respecting the cell margins (requests are margin inclusive) */
|
/* Request the size of a cell while respecting the cell margins (requests are margin inclusive) */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_request_renderer (GtkCellArea *area,
|
void gtk_cell_area_request_renderer (GtkCellArea *area,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
GtkOrientation orientation,
|
GtkOrientation orientation,
|
||||||
|
@ -61,20 +61,26 @@ struct _GtkCellAreaBoxClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_area_box_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_area_box_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellArea *gtk_cell_area_box_new (void);
|
GtkCellArea *gtk_cell_area_box_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_box_pack_start (GtkCellAreaBox *box,
|
void gtk_cell_area_box_pack_start (GtkCellAreaBox *box,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
gboolean align,
|
gboolean align,
|
||||||
gboolean fixed);
|
gboolean fixed);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_box_pack_end (GtkCellAreaBox *box,
|
void gtk_cell_area_box_pack_end (GtkCellAreaBox *box,
|
||||||
GtkCellRenderer *renderer,
|
GtkCellRenderer *renderer,
|
||||||
gboolean expand,
|
gboolean expand,
|
||||||
gboolean align,
|
gboolean align,
|
||||||
gboolean fixed);
|
gboolean fixed);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_cell_area_box_get_spacing (GtkCellAreaBox *box);
|
gint gtk_cell_area_box_get_spacing (GtkCellAreaBox *box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_box_set_spacing (GtkCellAreaBox *box,
|
void gtk_cell_area_box_set_spacing (GtkCellAreaBox *box,
|
||||||
gint spacing);
|
gint spacing);
|
||||||
|
|
||||||
|
@ -90,32 +90,41 @@ struct _GtkCellAreaContextClass
|
|||||||
void (*_gtk_reserved6) (void);
|
void (*_gtk_reserved6) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_area_context_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_area_context_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* Main apis */
|
/* Main apis */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellArea *gtk_cell_area_context_get_area (GtkCellAreaContext *context);
|
GtkCellArea *gtk_cell_area_context_get_area (GtkCellAreaContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_allocate (GtkCellAreaContext *context,
|
void gtk_cell_area_context_allocate (GtkCellAreaContext *context,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_reset (GtkCellAreaContext *context);
|
void gtk_cell_area_context_reset (GtkCellAreaContext *context);
|
||||||
|
|
||||||
/* Apis for GtkCellArea clients to consult cached values
|
/* Apis for GtkCellArea clients to consult cached values
|
||||||
* for a series of GtkTreeModel rows
|
* for a series of GtkTreeModel rows
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_get_preferred_width (GtkCellAreaContext *context,
|
void gtk_cell_area_context_get_preferred_width (GtkCellAreaContext *context,
|
||||||
gint *minimum_width,
|
gint *minimum_width,
|
||||||
gint *natural_width);
|
gint *natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_get_preferred_height (GtkCellAreaContext *context,
|
void gtk_cell_area_context_get_preferred_height (GtkCellAreaContext *context,
|
||||||
gint *minimum_height,
|
gint *minimum_height,
|
||||||
gint *natural_height);
|
gint *natural_height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_get_preferred_height_for_width (GtkCellAreaContext *context,
|
void gtk_cell_area_context_get_preferred_height_for_width (GtkCellAreaContext *context,
|
||||||
gint width,
|
gint width,
|
||||||
gint *minimum_height,
|
gint *minimum_height,
|
||||||
gint *natural_height);
|
gint *natural_height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_get_preferred_width_for_height (GtkCellAreaContext *context,
|
void gtk_cell_area_context_get_preferred_width_for_height (GtkCellAreaContext *context,
|
||||||
gint height,
|
gint height,
|
||||||
gint *minimum_width,
|
gint *minimum_width,
|
||||||
gint *natural_width);
|
gint *natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_get_allocation (GtkCellAreaContext *context,
|
void gtk_cell_area_context_get_allocation (GtkCellAreaContext *context,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
@ -123,9 +132,11 @@ void gtk_cell_area_context_get_allocation (GtkCellAreaCo
|
|||||||
/* Apis for GtkCellArea implementations to update cached values
|
/* Apis for GtkCellArea implementations to update cached values
|
||||||
* for multiple GtkTreeModel rows
|
* for multiple GtkTreeModel rows
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_push_preferred_width (GtkCellAreaContext *context,
|
void gtk_cell_area_context_push_preferred_width (GtkCellAreaContext *context,
|
||||||
gint minimum_width,
|
gint minimum_width,
|
||||||
gint natural_width);
|
gint natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_area_context_push_preferred_height (GtkCellAreaContext *context,
|
void gtk_cell_area_context_push_preferred_height (GtkCellAreaContext *context,
|
||||||
gint minimum_height,
|
gint minimum_height,
|
||||||
gint natural_height);
|
gint natural_height);
|
||||||
|
@ -49,11 +49,15 @@ struct _GtkCellEditableIface
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_editable_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_editable_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable,
|
void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable,
|
||||||
GdkEvent *event);
|
GdkEvent *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable);
|
void gtk_cell_editable_editing_done (GtkCellEditable *cell_editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable);
|
void gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable);
|
||||||
|
|
||||||
|
|
||||||
|
@ -86,32 +86,43 @@ struct _GtkCellLayoutIface
|
|||||||
GtkCellArea *(* get_area) (GtkCellLayout *cell_layout);
|
GtkCellArea *(* get_area) (GtkCellLayout *cell_layout);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_layout_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_layout_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_pack_start (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_pack_start (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
gboolean expand);
|
gboolean expand);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_pack_end (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_pack_end (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
gboolean expand);
|
gboolean expand);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList *gtk_cell_layout_get_cells (GtkCellLayout *cell_layout);
|
GList *gtk_cell_layout_get_cells (GtkCellLayout *cell_layout);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_clear (GtkCellLayout *cell_layout);
|
void gtk_cell_layout_clear (GtkCellLayout *cell_layout);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
const gchar *attribute,
|
const gchar *attribute,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
GtkCellLayoutDataFunc func,
|
GtkCellLayoutDataFunc func,
|
||||||
gpointer func_data,
|
gpointer func_data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell);
|
GtkCellRenderer *cell);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_layout_reorder (GtkCellLayout *cell_layout,
|
void gtk_cell_layout_reorder (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
gint position);
|
gint position);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellArea *gtk_cell_layout_get_area (GtkCellLayout *cell_layout);
|
GtkCellArea *gtk_cell_layout_get_area (GtkCellLayout *cell_layout);
|
||||||
|
|
||||||
gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
|
gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
|
||||||
|
@ -161,31 +161,39 @@ struct _GtkCellRendererClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkSizeRequestMode gtk_cell_renderer_get_request_mode (GtkCellRenderer *cell);
|
GtkSizeRequestMode gtk_cell_renderer_get_request_mode (GtkCellRenderer *cell);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint *minimum_size,
|
gint *minimum_size,
|
||||||
gint *natural_size);
|
gint *natural_size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_preferred_height_for_width (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_preferred_height_for_width (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint width,
|
gint width,
|
||||||
gint *minimum_height,
|
gint *minimum_height,
|
||||||
gint *natural_height);
|
gint *natural_height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_preferred_height (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_preferred_height (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint *minimum_size,
|
gint *minimum_size,
|
||||||
gint *natural_size);
|
gint *natural_size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_preferred_width_for_height (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_preferred_width_for_height (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint height,
|
gint height,
|
||||||
gint *minimum_width,
|
gint *minimum_width,
|
||||||
gint *natural_width);
|
gint *natural_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_preferred_size (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_preferred_size (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GtkRequisition *minimum_size,
|
GtkRequisition *minimum_size,
|
||||||
GtkRequisition *natural_size);
|
GtkRequisition *natural_size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_aligned_area (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_aligned_area (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GtkCellRendererState flags,
|
GtkCellRendererState flags,
|
||||||
@ -200,12 +208,14 @@ void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
|
|||||||
gint *y_offset,
|
gint *y_offset,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_render (GtkCellRenderer *cell,
|
void gtk_cell_renderer_render (GtkCellRenderer *cell,
|
||||||
cairo_t *cr,
|
cairo_t *cr,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
const GdkRectangle *background_area,
|
const GdkRectangle *background_area,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags);
|
GtkCellRendererState flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell,
|
gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell,
|
||||||
GdkEvent *event,
|
GdkEvent *event,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
@ -213,6 +223,7 @@ gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell,
|
|||||||
const GdkRectangle *background_area,
|
const GdkRectangle *background_area,
|
||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags);
|
GtkCellRendererState flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell,
|
GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell,
|
||||||
GdkEvent *event,
|
GdkEvent *event,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
@ -221,38 +232,50 @@ GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell,
|
|||||||
const GdkRectangle *cell_area,
|
const GdkRectangle *cell_area,
|
||||||
GtkCellRendererState flags);
|
GtkCellRendererState flags);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell,
|
void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_set_alignment (GtkCellRenderer *cell,
|
void gtk_cell_renderer_set_alignment (GtkCellRenderer *cell,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign);
|
gfloat yalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_alignment (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_alignment (GtkCellRenderer *cell,
|
||||||
gfloat *xalign,
|
gfloat *xalign,
|
||||||
gfloat *yalign);
|
gfloat *yalign);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_set_padding (GtkCellRenderer *cell,
|
void gtk_cell_renderer_set_padding (GtkCellRenderer *cell,
|
||||||
gint xpad,
|
gint xpad,
|
||||||
gint ypad);
|
gint ypad);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_get_padding (GtkCellRenderer *cell,
|
void gtk_cell_renderer_get_padding (GtkCellRenderer *cell,
|
||||||
gint *xpad,
|
gint *xpad,
|
||||||
gint *ypad);
|
gint *ypad);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_set_visible (GtkCellRenderer *cell,
|
void gtk_cell_renderer_set_visible (GtkCellRenderer *cell,
|
||||||
gboolean visible);
|
gboolean visible);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_get_visible (GtkCellRenderer *cell);
|
gboolean gtk_cell_renderer_get_visible (GtkCellRenderer *cell);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell,
|
void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell,
|
||||||
gboolean sensitive);
|
gboolean sensitive);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell);
|
gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_is_activatable (GtkCellRenderer *cell);
|
gboolean gtk_cell_renderer_is_activatable (GtkCellRenderer *cell);
|
||||||
|
|
||||||
/* For use by cell renderer implementations only */
|
/* For use by cell renderer implementations only */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
|
void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
|
||||||
gboolean canceled);
|
gboolean canceled);
|
||||||
|
|
||||||
@ -265,10 +288,12 @@ void _gtk_cell_renderer_calc_offset (GtkCellRenderer *cell,
|
|||||||
gint *x_offset,
|
gint *x_offset,
|
||||||
gint *y_offset);
|
gint *y_offset);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkStateFlags gtk_cell_renderer_get_state (GtkCellRenderer *cell,
|
GtkStateFlags gtk_cell_renderer_get_state (GtkCellRenderer *cell,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
GtkCellRendererState cell_state);
|
GtkCellRendererState cell_state);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_class_set_accessible_type
|
void gtk_cell_renderer_class_set_accessible_type
|
||||||
(GtkCellRendererClass *renderer_class,
|
(GtkCellRendererClass *renderer_class,
|
||||||
GType type);
|
GType type);
|
||||||
|
@ -74,7 +74,9 @@ struct _GtkCellRendererAccelClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_accel_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_accel_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_accel_new (void);
|
GtkCellRenderer *gtk_cell_renderer_accel_new (void);
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,7 +57,9 @@ struct _GtkCellRendererComboClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_combo_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_combo_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_combo_new (void);
|
GtkCellRenderer *gtk_cell_renderer_combo_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -58,7 +58,9 @@ struct _GtkCellRendererPixbufClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void);
|
GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void);
|
||||||
|
|
||||||
|
|
||||||
|
@ -64,7 +64,9 @@ struct _GtkCellRendererProgressClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer* gtk_cell_renderer_progress_new (void);
|
GtkCellRenderer* gtk_cell_renderer_progress_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -56,7 +56,9 @@ struct _GtkCellRendererSpinClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_spin_get_type (void);
|
GType gtk_cell_renderer_spin_get_type (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_spin_new (void);
|
GtkCellRenderer *gtk_cell_renderer_spin_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -59,7 +59,9 @@ struct _GtkCellRendererSpinnerClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_spinner_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_spinner_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
|
GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -63,9 +63,12 @@ struct _GtkCellRendererTextClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_text_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_text_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_text_new (void);
|
GtkCellRenderer *gtk_cell_renderer_text_new (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer,
|
void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer,
|
||||||
gint number_of_rows);
|
gint number_of_rows);
|
||||||
|
|
||||||
|
@ -61,18 +61,26 @@ struct _GtkCellRendererToggleClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_renderer_toggle_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_renderer_toggle_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCellRenderer *gtk_cell_renderer_toggle_new (void);
|
GtkCellRenderer *gtk_cell_renderer_toggle_new (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle);
|
gboolean gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle,
|
void gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle,
|
||||||
gboolean radio);
|
gboolean radio);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle);
|
gboolean gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle,
|
void gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_renderer_toggle_get_activatable (GtkCellRendererToggle *toggle);
|
gboolean gtk_cell_renderer_toggle_get_activatable (GtkCellRendererToggle *toggle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_renderer_toggle_set_activatable (GtkCellRendererToggle *toggle,
|
void gtk_cell_renderer_toggle_set_activatable (GtkCellRendererToggle *toggle,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
|
||||||
|
@ -60,25 +60,40 @@ struct _GtkCellViewClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_cell_view_get_type (void) G_GNUC_CONST;
|
GType gtk_cell_view_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_cell_view_new (void);
|
GtkWidget *gtk_cell_view_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_cell_view_new_with_context (GtkCellArea *area,
|
GtkWidget *gtk_cell_view_new_with_context (GtkCellArea *area,
|
||||||
GtkCellAreaContext *context);
|
GtkCellAreaContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_cell_view_new_with_text (const gchar *text);
|
GtkWidget *gtk_cell_view_new_with_text (const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_cell_view_new_with_markup (const gchar *markup);
|
GtkWidget *gtk_cell_view_new_with_markup (const gchar *markup);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_cell_view_new_with_pixbuf (GdkPixbuf *pixbuf);
|
GtkWidget *gtk_cell_view_new_with_pixbuf (GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_view_set_model (GtkCellView *cell_view,
|
void gtk_cell_view_set_model (GtkCellView *cell_view,
|
||||||
GtkTreeModel *model);
|
GtkTreeModel *model);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreeModel *gtk_cell_view_get_model (GtkCellView *cell_view);
|
GtkTreeModel *gtk_cell_view_get_model (GtkCellView *cell_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_view_set_displayed_row (GtkCellView *cell_view,
|
void gtk_cell_view_set_displayed_row (GtkCellView *cell_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_view);
|
GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_view_set_background_rgba (GtkCellView *cell_view,
|
void gtk_cell_view_set_background_rgba (GtkCellView *cell_view,
|
||||||
const GdkRGBA *rgba);
|
const GdkRGBA *rgba);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view);
|
gboolean gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view,
|
void gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view,
|
||||||
gboolean draw_sensitive);
|
gboolean draw_sensitive);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_cell_view_get_fit_model (GtkCellView *cell_view);
|
gboolean gtk_cell_view_get_fit_model (GtkCellView *cell_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_cell_view_set_fit_model (GtkCellView *cell_view,
|
void gtk_cell_view_set_fit_model (GtkCellView *cell_view,
|
||||||
gboolean fit_model);
|
gboolean fit_model);
|
||||||
|
|
||||||
|
@ -66,9 +66,13 @@ struct _GtkCheckButtonClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_check_button_get_type (void) G_GNUC_CONST;
|
GType gtk_check_button_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_button_new (void);
|
GtkWidget* gtk_check_button_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_button_new_with_label (const gchar *label);
|
GtkWidget* gtk_check_button_new_with_label (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_button_new_with_mnemonic (const gchar *label);
|
GtkWidget* gtk_check_button_new_with_mnemonic (const gchar *label);
|
||||||
|
|
||||||
void _gtk_check_button_get_props (GtkCheckButton *check_button,
|
void _gtk_check_button_get_props (GtkCheckButton *check_button,
|
||||||
|
@ -71,20 +71,31 @@ struct _GtkCheckMenuItemClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_check_menu_item_get_type (void) G_GNUC_CONST;
|
GType gtk_check_menu_item_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_menu_item_new (void);
|
GtkWidget* gtk_check_menu_item_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label);
|
GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label);
|
GtkWidget* gtk_check_menu_item_new_with_mnemonic (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item,
|
void gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item,
|
||||||
gboolean is_active);
|
gboolean is_active);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_check_menu_item_get_active (GtkCheckMenuItem *check_menu_item);
|
gboolean gtk_check_menu_item_get_active (GtkCheckMenuItem *check_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item);
|
void gtk_check_menu_item_toggled (GtkCheckMenuItem *check_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item,
|
void gtk_check_menu_item_set_inconsistent (GtkCheckMenuItem *check_menu_item,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item);
|
gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
|
void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
|
||||||
gboolean draw_as_radio);
|
gboolean draw_as_radio);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item);
|
gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item);
|
||||||
|
|
||||||
|
|
||||||
|
@ -147,84 +147,113 @@ typedef void (* GtkClipboardGetFunc) (GtkClipboard *clipboard,
|
|||||||
typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard,
|
typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard,
|
||||||
gpointer user_data_or_owner);
|
gpointer user_data_or_owner);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_clipboard_get_type (void) G_GNUC_CONST;
|
GType gtk_clipboard_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display,
|
GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display,
|
||||||
GdkAtom selection);
|
GdkAtom selection);
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkClipboard *gtk_clipboard_get (GdkAtom selection);
|
GtkClipboard *gtk_clipboard_get (GdkAtom selection);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDisplay *gtk_clipboard_get_display (GtkClipboard *clipboard);
|
GdkDisplay *gtk_clipboard_get_display (GtkClipboard *clipboard);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_set_with_data (GtkClipboard *clipboard,
|
gboolean gtk_clipboard_set_with_data (GtkClipboard *clipboard,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
guint n_targets,
|
guint n_targets,
|
||||||
GtkClipboardGetFunc get_func,
|
GtkClipboardGetFunc get_func,
|
||||||
GtkClipboardClearFunc clear_func,
|
GtkClipboardClearFunc clear_func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_set_with_owner (GtkClipboard *clipboard,
|
gboolean gtk_clipboard_set_with_owner (GtkClipboard *clipboard,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
guint n_targets,
|
guint n_targets,
|
||||||
GtkClipboardGetFunc get_func,
|
GtkClipboardGetFunc get_func,
|
||||||
GtkClipboardClearFunc clear_func,
|
GtkClipboardClearFunc clear_func,
|
||||||
GObject *owner);
|
GObject *owner);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GObject *gtk_clipboard_get_owner (GtkClipboard *clipboard);
|
GObject *gtk_clipboard_get_owner (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_clear (GtkClipboard *clipboard);
|
void gtk_clipboard_clear (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_set_text (GtkClipboard *clipboard,
|
void gtk_clipboard_set_text (GtkClipboard *clipboard,
|
||||||
const gchar *text,
|
const gchar *text,
|
||||||
gint len);
|
gint len);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_set_image (GtkClipboard *clipboard,
|
void gtk_clipboard_set_image (GtkClipboard *clipboard,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_contents (GtkClipboard *clipboard,
|
void gtk_clipboard_request_contents (GtkClipboard *clipboard,
|
||||||
GdkAtom target,
|
GdkAtom target,
|
||||||
GtkClipboardReceivedFunc callback,
|
GtkClipboardReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_text (GtkClipboard *clipboard,
|
void gtk_clipboard_request_text (GtkClipboard *clipboard,
|
||||||
GtkClipboardTextReceivedFunc callback,
|
GtkClipboardTextReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_rich_text (GtkClipboard *clipboard,
|
void gtk_clipboard_request_rich_text (GtkClipboard *clipboard,
|
||||||
GtkTextBuffer *buffer,
|
GtkTextBuffer *buffer,
|
||||||
GtkClipboardRichTextReceivedFunc callback,
|
GtkClipboardRichTextReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_image (GtkClipboard *clipboard,
|
void gtk_clipboard_request_image (GtkClipboard *clipboard,
|
||||||
GtkClipboardImageReceivedFunc callback,
|
GtkClipboardImageReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_uris (GtkClipboard *clipboard,
|
void gtk_clipboard_request_uris (GtkClipboard *clipboard,
|
||||||
GtkClipboardURIReceivedFunc callback,
|
GtkClipboardURIReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_request_targets (GtkClipboard *clipboard,
|
void gtk_clipboard_request_targets (GtkClipboard *clipboard,
|
||||||
GtkClipboardTargetsReceivedFunc callback,
|
GtkClipboardTargetsReceivedFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkSelectionData *gtk_clipboard_wait_for_contents (GtkClipboard *clipboard,
|
GtkSelectionData *gtk_clipboard_wait_for_contents (GtkClipboard *clipboard,
|
||||||
GdkAtom target);
|
GdkAtom target);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_clipboard_wait_for_text (GtkClipboard *clipboard);
|
gchar * gtk_clipboard_wait_for_text (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint8 * gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard,
|
guint8 * gtk_clipboard_wait_for_rich_text (GtkClipboard *clipboard,
|
||||||
GtkTextBuffer *buffer,
|
GtkTextBuffer *buffer,
|
||||||
GdkAtom *format,
|
GdkAtom *format,
|
||||||
gsize *length);
|
gsize *length);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_clipboard_wait_for_image (GtkClipboard *clipboard);
|
GdkPixbuf * gtk_clipboard_wait_for_image (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard);
|
gchar ** gtk_clipboard_wait_for_uris (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
|
gboolean gtk_clipboard_wait_for_targets (GtkClipboard *clipboard,
|
||||||
GdkAtom **targets,
|
GdkAtom **targets,
|
||||||
gint *n_targets);
|
gint *n_targets);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard);
|
gboolean gtk_clipboard_wait_is_text_available (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_is_rich_text_available (GtkClipboard *clipboard,
|
gboolean gtk_clipboard_wait_is_rich_text_available (GtkClipboard *clipboard,
|
||||||
GtkTextBuffer *buffer);
|
GtkTextBuffer *buffer);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard);
|
gboolean gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard);
|
gboolean gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard,
|
gboolean gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard,
|
||||||
GdkAtom target);
|
GdkAtom target);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
|
void gtk_clipboard_set_can_store (GtkClipboard *clipboard,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
gint n_targets);
|
gint n_targets);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_clipboard_store (GtkClipboard *clipboard);
|
void gtk_clipboard_store (GtkClipboard *clipboard);
|
||||||
|
|
||||||
/* private */
|
/* private */
|
||||||
|
@ -71,11 +71,16 @@ struct _GtkColorButtonClass {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_color_button_get_type (void) G_GNUC_CONST;
|
GType gtk_color_button_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_color_button_new (void);
|
GtkWidget * gtk_color_button_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_color_button_new_with_rgba (const GdkRGBA *rgba);
|
GtkWidget * gtk_color_button_new_with_rgba (const GdkRGBA *rgba);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_color_button_set_title (GtkColorButton *button,
|
void gtk_color_button_set_title (GtkColorButton *button,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar *gtk_color_button_get_title (GtkColorButton *button);
|
const gchar *gtk_color_button_get_title (GtkColorButton *button);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba)
|
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba)
|
||||||
|
@ -35,11 +35,14 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_hsv_to_rgb (gdouble h, gdouble s, gdouble v,
|
void gtk_hsv_to_rgb (gdouble h, gdouble s, gdouble v,
|
||||||
gdouble *r, gdouble *g, gdouble *b);
|
gdouble *r, gdouble *g, gdouble *b);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_rgb_to_hsv (gdouble r, gdouble g, gdouble b,
|
void gtk_rgb_to_hsv (gdouble r, gdouble g, gdouble b,
|
||||||
gdouble *h, gdouble *s, gdouble *v);
|
gdouble *h, gdouble *s, gdouble *v);
|
||||||
|
|
||||||
|
@ -64,81 +64,123 @@ struct _GtkComboBoxClass
|
|||||||
|
|
||||||
|
|
||||||
/* construction */
|
/* construction */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_combo_box_get_type (void) G_GNUC_CONST;
|
GType gtk_combo_box_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new (void);
|
GtkWidget *gtk_combo_box_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new_with_area (GtkCellArea *area);
|
GtkWidget *gtk_combo_box_new_with_area (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new_with_area_and_entry (GtkCellArea *area);
|
GtkWidget *gtk_combo_box_new_with_area_and_entry (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new_with_entry (void);
|
GtkWidget *gtk_combo_box_new_with_entry (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model);
|
GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_combo_box_new_with_model_and_entry (GtkTreeModel *model);
|
GtkWidget *gtk_combo_box_new_with_model_and_entry (GtkTreeModel *model);
|
||||||
|
|
||||||
/* grids */
|
/* grids */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_wrap_width (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_wrap_width (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_wrap_width (GtkComboBox *combo_box,
|
void gtk_combo_box_set_wrap_width (GtkComboBox *combo_box,
|
||||||
gint width);
|
gint width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_row_span_column (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_row_span_column (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_row_span_column (GtkComboBox *combo_box,
|
void gtk_combo_box_set_row_span_column (GtkComboBox *combo_box,
|
||||||
gint row_span);
|
gint row_span);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_column_span_column (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_column_span_column (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
|
void gtk_combo_box_set_column_span_column (GtkComboBox *combo_box,
|
||||||
gint column_span);
|
gint column_span);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_get_add_tearoffs (GtkComboBox *combo_box);
|
gboolean gtk_combo_box_get_add_tearoffs (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box,
|
void gtk_combo_box_set_add_tearoffs (GtkComboBox *combo_box,
|
||||||
gboolean add_tearoffs);
|
gboolean add_tearoffs);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_combo_box_get_title (GtkComboBox *combo_box);
|
const gchar * gtk_combo_box_get_title (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_title (GtkComboBox *combo_box,
|
void gtk_combo_box_set_title (GtkComboBox *combo_box,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_get_focus_on_click (GtkComboBox *combo);
|
gboolean gtk_combo_box_get_focus_on_click (GtkComboBox *combo);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_focus_on_click (GtkComboBox *combo,
|
void gtk_combo_box_set_focus_on_click (GtkComboBox *combo,
|
||||||
gboolean focus_on_click);
|
gboolean focus_on_click);
|
||||||
|
|
||||||
/* get/set active item */
|
/* get/set active item */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_active (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_active (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_active (GtkComboBox *combo_box,
|
void gtk_combo_box_set_active (GtkComboBox *combo_box,
|
||||||
gint index_);
|
gint index_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box,
|
gboolean gtk_combo_box_get_active_iter (GtkComboBox *combo_box,
|
||||||
GtkTreeIter *iter);
|
GtkTreeIter *iter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_active_iter (GtkComboBox *combo_box,
|
void gtk_combo_box_set_active_iter (GtkComboBox *combo_box,
|
||||||
GtkTreeIter *iter);
|
GtkTreeIter *iter);
|
||||||
|
|
||||||
/* getters and setters */
|
/* getters and setters */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_model (GtkComboBox *combo_box,
|
void gtk_combo_box_set_model (GtkComboBox *combo_box,
|
||||||
GtkTreeModel *model);
|
GtkTreeModel *model);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box);
|
GtkTreeModel *gtk_combo_box_get_model (GtkComboBox *combo_box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreeViewRowSeparatorFunc gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box);
|
GtkTreeViewRowSeparatorFunc gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box,
|
void gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box,
|
||||||
GtkTreeViewRowSeparatorFunc func,
|
GtkTreeViewRowSeparatorFunc func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify destroy);
|
GDestroyNotify destroy);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box,
|
void gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box,
|
||||||
GtkSensitivityType sensitivity);
|
GtkSensitivityType sensitivity);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkSensitivityType gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box);
|
GtkSensitivityType gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_get_has_entry (GtkComboBox *combo_box);
|
gboolean gtk_combo_box_get_has_entry (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box,
|
void gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box,
|
||||||
gint text_column);
|
gint text_column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_popup_fixed_width (GtkComboBox *combo_box,
|
void gtk_combo_box_set_popup_fixed_width (GtkComboBox *combo_box,
|
||||||
gboolean fixed);
|
gboolean fixed);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box);
|
gboolean gtk_combo_box_get_popup_fixed_width (GtkComboBox *combo_box);
|
||||||
|
|
||||||
/* programmatic control */
|
/* programmatic control */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_popup (GtkComboBox *combo_box);
|
void gtk_combo_box_popup (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_popup_for_device (GtkComboBox *combo_box,
|
void gtk_combo_box_popup_for_device (GtkComboBox *combo_box,
|
||||||
GdkDevice *device);
|
GdkDevice *device);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_popdown (GtkComboBox *combo_box);
|
void gtk_combo_box_popdown (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box);
|
AtkObject* gtk_combo_box_get_popup_accessible (GtkComboBox *combo_box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_combo_box_get_id_column (GtkComboBox *combo_box);
|
gint gtk_combo_box_get_id_column (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_set_id_column (GtkComboBox *combo_box,
|
void gtk_combo_box_set_id_column (GtkComboBox *combo_box,
|
||||||
gint id_column);
|
gint id_column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_combo_box_get_active_id (GtkComboBox *combo_box);
|
const gchar * gtk_combo_box_get_active_id (GtkComboBox *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_combo_box_set_active_id (GtkComboBox *combo_box,
|
gboolean gtk_combo_box_set_active_id (GtkComboBox *combo_box,
|
||||||
const gchar *active_id);
|
const gchar *active_id);
|
||||||
|
|
||||||
|
@ -57,28 +57,40 @@ struct _GtkComboBoxTextClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_combo_box_text_get_type (void) G_GNUC_CONST;
|
GType gtk_combo_box_text_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_combo_box_text_new (void);
|
GtkWidget* gtk_combo_box_text_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_combo_box_text_new_with_entry (void);
|
GtkWidget* gtk_combo_box_text_new_with_entry (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box,
|
||||||
gint position,
|
gint position,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_remove (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_remove (GtkComboBoxText *combo_box,
|
||||||
gint position);
|
gint position);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box);
|
void gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
|
gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_insert (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_insert (GtkComboBoxText *combo_box,
|
||||||
gint position,
|
gint position,
|
||||||
const gchar *id,
|
const gchar *id,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_append (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_append (GtkComboBoxText *combo_box,
|
||||||
const gchar *id,
|
const gchar *id,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box,
|
void gtk_combo_box_text_prepend (GtkComboBoxText *combo_box,
|
||||||
const gchar *id,
|
const gchar *id,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
@ -105,34 +105,48 @@ struct _GtkContainerClass
|
|||||||
|
|
||||||
/* Application-level methods */
|
/* Application-level methods */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_container_get_type (void) G_GNUC_CONST;
|
GType gtk_container_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_border_width (GtkContainer *container,
|
void gtk_container_set_border_width (GtkContainer *container,
|
||||||
guint border_width);
|
guint border_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_container_get_border_width (GtkContainer *container);
|
guint gtk_container_get_border_width (GtkContainer *container);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_add (GtkContainer *container,
|
void gtk_container_add (GtkContainer *container,
|
||||||
GtkWidget *widget);
|
GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_remove (GtkContainer *container,
|
void gtk_container_remove (GtkContainer *container,
|
||||||
GtkWidget *widget);
|
GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_resize_mode (GtkContainer *container,
|
void gtk_container_set_resize_mode (GtkContainer *container,
|
||||||
GtkResizeMode resize_mode);
|
GtkResizeMode resize_mode);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container);
|
GtkResizeMode gtk_container_get_resize_mode (GtkContainer *container);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_check_resize (GtkContainer *container);
|
void gtk_container_check_resize (GtkContainer *container);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_foreach (GtkContainer *container,
|
void gtk_container_foreach (GtkContainer *container,
|
||||||
GtkCallback callback,
|
GtkCallback callback,
|
||||||
gpointer callback_data);
|
gpointer callback_data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList* gtk_container_get_children (GtkContainer *container);
|
GList* gtk_container_get_children (GtkContainer *container);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_propagate_draw (GtkContainer *container,
|
void gtk_container_propagate_draw (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
cairo_t *cr);
|
cairo_t *cr);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_focus_chain (GtkContainer *container,
|
void gtk_container_set_focus_chain (GtkContainer *container,
|
||||||
GList *focusable_widgets);
|
GList *focusable_widgets);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_container_get_focus_chain (GtkContainer *container,
|
gboolean gtk_container_get_focus_chain (GtkContainer *container,
|
||||||
GList **focusable_widgets);
|
GList **focusable_widgets);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_unset_focus_chain (GtkContainer *container);
|
void gtk_container_unset_focus_chain (GtkContainer *container);
|
||||||
|
|
||||||
#define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) && \
|
#define GTK_IS_RESIZE_CONTAINER(widget) (GTK_IS_CONTAINER (widget) && \
|
||||||
@ -140,55 +154,74 @@ void gtk_container_unset_focus_chain (GtkContainer *container);
|
|||||||
|
|
||||||
/* Widget-level methods */
|
/* Widget-level methods */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_reallocate_redraws (GtkContainer *container,
|
void gtk_container_set_reallocate_redraws (GtkContainer *container,
|
||||||
gboolean needs_redraws);
|
gboolean needs_redraws);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_focus_child (GtkContainer *container,
|
void gtk_container_set_focus_child (GtkContainer *container,
|
||||||
GtkWidget *child);
|
GtkWidget *child);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
gtk_container_get_focus_child (GtkContainer *container);
|
gtk_container_get_focus_child (GtkContainer *container);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_focus_vadjustment (GtkContainer *container,
|
void gtk_container_set_focus_vadjustment (GtkContainer *container,
|
||||||
GtkAdjustment *adjustment);
|
GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container);
|
GtkAdjustment *gtk_container_get_focus_vadjustment (GtkContainer *container);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_set_focus_hadjustment (GtkContainer *container,
|
void gtk_container_set_focus_hadjustment (GtkContainer *container,
|
||||||
GtkAdjustment *adjustment);
|
GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container);
|
GtkAdjustment *gtk_container_get_focus_hadjustment (GtkContainer *container);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_resize_children (GtkContainer *container);
|
void gtk_container_resize_children (GtkContainer *container);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_container_child_type (GtkContainer *container);
|
GType gtk_container_child_type (GtkContainer *container);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_class_install_child_property (GtkContainerClass *cclass,
|
void gtk_container_class_install_child_property (GtkContainerClass *cclass,
|
||||||
guint property_id,
|
guint property_id,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass,
|
GParamSpec* gtk_container_class_find_child_property (GObjectClass *cclass,
|
||||||
const gchar *property_name);
|
const gchar *property_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass,
|
GParamSpec** gtk_container_class_list_child_properties (GObjectClass *cclass,
|
||||||
guint *n_properties);
|
guint *n_properties);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_add_with_properties (GtkContainer *container,
|
void gtk_container_add_with_properties (GtkContainer *container,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_set (GtkContainer *container,
|
void gtk_container_child_set (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_get (GtkContainer *container,
|
void gtk_container_child_get (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *first_prop_name,
|
const gchar *first_prop_name,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_set_valist (GtkContainer *container,
|
void gtk_container_child_set_valist (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
va_list var_args);
|
va_list var_args);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_get_valist (GtkContainer *container,
|
void gtk_container_child_get_valist (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *first_property_name,
|
const gchar *first_property_name,
|
||||||
va_list var_args);
|
va_list var_args);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_set_property (GtkContainer *container,
|
void gtk_container_child_set_property (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const GValue *value);
|
const GValue *value);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_child_get_property (GtkContainer *container,
|
void gtk_container_child_get_property (GtkContainer *container,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
@ -213,12 +246,15 @@ void gtk_container_child_notify (GtkContainer *container,
|
|||||||
G_OBJECT_WARN_INVALID_PSPEC ((object), "child property id", (property_id), (pspec))
|
G_OBJECT_WARN_INVALID_PSPEC ((object), "child property id", (property_id), (pspec))
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_forall (GtkContainer *container,
|
void gtk_container_forall (GtkContainer *container,
|
||||||
GtkCallback callback,
|
GtkCallback callback,
|
||||||
gpointer callback_data);
|
gpointer callback_data);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_container_class_handle_border_width (GtkContainerClass *klass);
|
void gtk_container_class_handle_border_width (GtkContainerClass *klass);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidgetPath * gtk_container_get_path_for_child (GtkContainer *container,
|
GtkWidgetPath * gtk_container_get_path_for_child (GtkContainer *container,
|
||||||
GtkWidget *child);
|
GtkWidget *child);
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ typedef enum
|
|||||||
GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE
|
GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE
|
||||||
} GtkCssProviderError;
|
} GtkCssProviderError;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GQuark gtk_css_provider_error_quark (void);
|
GQuark gtk_css_provider_error_quark (void);
|
||||||
|
|
||||||
typedef struct _GtkCssProvider GtkCssProvider;
|
typedef struct _GtkCssProvider GtkCssProvider;
|
||||||
@ -68,26 +69,33 @@ struct _GtkCssProviderClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_css_provider_get_type (void) G_GNUC_CONST;
|
GType gtk_css_provider_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCssProvider * gtk_css_provider_new (void);
|
GtkCssProvider * gtk_css_provider_new (void);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
char * gtk_css_provider_to_string (GtkCssProvider *provider);
|
char * gtk_css_provider_to_string (GtkCssProvider *provider);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
|
gboolean gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
|
||||||
const gchar *data,
|
const gchar *data,
|
||||||
gssize length,
|
gssize length,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_css_provider_load_from_file (GtkCssProvider *css_provider,
|
gboolean gtk_css_provider_load_from_file (GtkCssProvider *css_provider,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_css_provider_load_from_path (GtkCssProvider *css_provider,
|
gboolean gtk_css_provider_load_from_path (GtkCssProvider *css_provider,
|
||||||
const gchar *path,
|
const gchar *path,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCssProvider * gtk_css_provider_get_default (void);
|
GtkCssProvider * gtk_css_provider_get_default (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkCssProvider * gtk_css_provider_get_named (const gchar *name,
|
GtkCssProvider * gtk_css_provider_get_named (const gchar *name,
|
||||||
const gchar *variant);
|
const gchar *variant);
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ struct _GtkCustomPaperUnixDialogClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_custom_paper_unix_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_custom_paper_unix_dialog_get_type (void) G_GNUC_CONST;
|
||||||
GtkWidget * _gtk_custom_paper_unix_dialog_new (GtkWindow *parent,
|
GtkWidget * _gtk_custom_paper_unix_dialog_new (GtkWindow *parent,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -63,7 +64,9 @@ typedef enum {
|
|||||||
|
|
||||||
#endif /* G_ENABLE_DEBUG */
|
#endif /* G_ENABLE_DEBUG */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_get_debug_flags (void);
|
guint gtk_get_debug_flags (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_set_debug_flags (guint flags);
|
void gtk_set_debug_flags (guint flags);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -129,51 +129,68 @@ struct _GtkDialogClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_dialog_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_dialog_new (void);
|
GtkWidget* gtk_dialog_new (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_dialog_new_with_buttons (const gchar *title,
|
GtkWidget* gtk_dialog_new_with_buttons (const gchar *title,
|
||||||
GtkWindow *parent,
|
GtkWindow *parent,
|
||||||
GtkDialogFlags flags,
|
GtkDialogFlags flags,
|
||||||
const gchar *first_button_text,
|
const gchar *first_button_text,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_add_action_widget (GtkDialog *dialog,
|
void gtk_dialog_add_action_widget (GtkDialog *dialog,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gint response_id);
|
gint response_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_dialog_add_button (GtkDialog *dialog,
|
GtkWidget* gtk_dialog_add_button (GtkDialog *dialog,
|
||||||
const gchar *button_text,
|
const gchar *button_text,
|
||||||
gint response_id);
|
gint response_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_add_buttons (GtkDialog *dialog,
|
void gtk_dialog_add_buttons (GtkDialog *dialog,
|
||||||
const gchar *first_button_text,
|
const gchar *first_button_text,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_set_response_sensitive (GtkDialog *dialog,
|
void gtk_dialog_set_response_sensitive (GtkDialog *dialog,
|
||||||
gint response_id,
|
gint response_id,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_set_default_response (GtkDialog *dialog,
|
void gtk_dialog_set_default_response (GtkDialog *dialog,
|
||||||
gint response_id);
|
gint response_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog,
|
GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog,
|
||||||
gint response_id);
|
gint response_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_dialog_get_response_for_widget (GtkDialog *dialog,
|
gint gtk_dialog_get_response_for_widget (GtkDialog *dialog,
|
||||||
GtkWidget *widget);
|
GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_alternative_dialog_button_order (GdkScreen *screen);
|
gboolean gtk_alternative_dialog_button_order (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_set_alternative_button_order (GtkDialog *dialog,
|
void gtk_dialog_set_alternative_button_order (GtkDialog *dialog,
|
||||||
gint first_response_id,
|
gint first_response_id,
|
||||||
...);
|
...);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_set_alternative_button_order_from_array (GtkDialog *dialog,
|
void gtk_dialog_set_alternative_button_order_from_array (GtkDialog *dialog,
|
||||||
gint n_params,
|
gint n_params,
|
||||||
gint *new_order);
|
gint *new_order);
|
||||||
|
|
||||||
/* Emit response signal */
|
/* Emit response signal */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_dialog_response (GtkDialog *dialog,
|
void gtk_dialog_response (GtkDialog *dialog,
|
||||||
gint response_id);
|
gint response_id);
|
||||||
|
|
||||||
/* Returns response_id */
|
/* Returns response_id */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_dialog_run (GtkDialog *dialog);
|
gint gtk_dialog_run (GtkDialog *dialog);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
|
GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog);
|
GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
34
gtk/gtkdnd.h
34
gtk/gtkdnd.h
@ -89,68 +89,94 @@ typedef enum {
|
|||||||
|
|
||||||
/* Destination side */
|
/* Destination side */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_get_data (GtkWidget *widget,
|
void gtk_drag_get_data (GtkWidget *widget,
|
||||||
GdkDragContext *context,
|
GdkDragContext *context,
|
||||||
GdkAtom target,
|
GdkAtom target,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_finish (GdkDragContext *context,
|
void gtk_drag_finish (GdkDragContext *context,
|
||||||
gboolean success,
|
gboolean success,
|
||||||
gboolean del,
|
gboolean del,
|
||||||
guint32 time_);
|
guint32 time_);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context);
|
GtkWidget *gtk_drag_get_source_widget (GdkDragContext *context);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_highlight (GtkWidget *widget);
|
void gtk_drag_highlight (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_unhighlight (GtkWidget *widget);
|
void gtk_drag_unhighlight (GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_set (GtkWidget *widget,
|
void gtk_drag_dest_set (GtkWidget *widget,
|
||||||
GtkDestDefaults flags,
|
GtkDestDefaults flags,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
gint n_targets,
|
gint n_targets,
|
||||||
GdkDragAction actions);
|
GdkDragAction actions);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_set_proxy (GtkWidget *widget,
|
void gtk_drag_dest_set_proxy (GtkWidget *widget,
|
||||||
GdkWindow *proxy_window,
|
GdkWindow *proxy_window,
|
||||||
GdkDragProtocol protocol,
|
GdkDragProtocol protocol,
|
||||||
gboolean use_coordinates);
|
gboolean use_coordinates);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_unset (GtkWidget *widget);
|
void gtk_drag_dest_unset (GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkAtom gtk_drag_dest_find_target (GtkWidget *widget,
|
GdkAtom gtk_drag_dest_find_target (GtkWidget *widget,
|
||||||
GdkDragContext *context,
|
GdkDragContext *context,
|
||||||
GtkTargetList *target_list);
|
GtkTargetList *target_list);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget);
|
GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_set_target_list (GtkWidget *widget,
|
void gtk_drag_dest_set_target_list (GtkWidget *widget,
|
||||||
GtkTargetList *target_list);
|
GtkTargetList *target_list);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_add_text_targets (GtkWidget *widget);
|
void gtk_drag_dest_add_text_targets (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_add_image_targets (GtkWidget *widget);
|
void gtk_drag_dest_add_image_targets (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_add_uri_targets (GtkWidget *widget);
|
void gtk_drag_dest_add_uri_targets (GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_dest_set_track_motion (GtkWidget *widget,
|
void gtk_drag_dest_set_track_motion (GtkWidget *widget,
|
||||||
gboolean track_motion);
|
gboolean track_motion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget);
|
gboolean gtk_drag_dest_get_track_motion (GtkWidget *widget);
|
||||||
|
|
||||||
/* Source side */
|
/* Source side */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_set (GtkWidget *widget,
|
void gtk_drag_source_set (GtkWidget *widget,
|
||||||
GdkModifierType start_button_mask,
|
GdkModifierType start_button_mask,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
gint n_targets,
|
gint n_targets,
|
||||||
GdkDragAction actions);
|
GdkDragAction actions);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_unset (GtkWidget *widget);
|
void gtk_drag_source_unset (GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget);
|
GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_set_target_list (GtkWidget *widget,
|
void gtk_drag_source_set_target_list (GtkWidget *widget,
|
||||||
GtkTargetList *target_list);
|
GtkTargetList *target_list);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_add_text_targets (GtkWidget *widget);
|
void gtk_drag_source_add_text_targets (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_add_image_targets (GtkWidget *widget);
|
void gtk_drag_source_add_image_targets (GtkWidget *widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_add_uri_targets (GtkWidget *widget);
|
void gtk_drag_source_add_uri_targets (GtkWidget *widget);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
|
void gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_set_icon_stock (GtkWidget *widget,
|
void gtk_drag_source_set_icon_stock (GtkWidget *widget,
|
||||||
const gchar *stock_id);
|
const gchar *stock_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_source_set_icon_name (GtkWidget *widget,
|
void gtk_drag_source_set_icon_name (GtkWidget *widget,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
@ -161,6 +187,7 @@ void gtk_drag_source_set_icon_gicon (GtkWidget *widget,
|
|||||||
* as a GtkTargetList
|
* as a GtkTargetList
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkDragContext *gtk_drag_begin (GtkWidget *widget,
|
GdkDragContext *gtk_drag_begin (GtkWidget *widget,
|
||||||
GtkTargetList *targets,
|
GtkTargetList *targets,
|
||||||
GdkDragAction actions,
|
GdkDragAction actions,
|
||||||
@ -169,20 +196,25 @@ GdkDragContext *gtk_drag_begin (GtkWidget *widget,
|
|||||||
|
|
||||||
/* Set the image being dragged around
|
/* Set the image being dragged around
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_widget (GdkDragContext *context,
|
void gtk_drag_set_icon_widget (GdkDragContext *context,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint hot_x,
|
gint hot_x,
|
||||||
gint hot_y);
|
gint hot_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_pixbuf (GdkDragContext *context,
|
void gtk_drag_set_icon_pixbuf (GdkDragContext *context,
|
||||||
GdkPixbuf *pixbuf,
|
GdkPixbuf *pixbuf,
|
||||||
gint hot_x,
|
gint hot_x,
|
||||||
gint hot_y);
|
gint hot_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_stock (GdkDragContext *context,
|
void gtk_drag_set_icon_stock (GdkDragContext *context,
|
||||||
const gchar *stock_id,
|
const gchar *stock_id,
|
||||||
gint hot_x,
|
gint hot_x,
|
||||||
gint hot_y);
|
gint hot_y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_surface(GdkDragContext *context,
|
void gtk_drag_set_icon_surface(GdkDragContext *context,
|
||||||
cairo_surface_t *surface);
|
cairo_surface_t *surface);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_name (GdkDragContext *context,
|
void gtk_drag_set_icon_name (GdkDragContext *context,
|
||||||
const gchar *icon_name,
|
const gchar *icon_name,
|
||||||
gint hot_x,
|
gint hot_x,
|
||||||
@ -193,8 +225,10 @@ void gtk_drag_set_icon_gicon (GdkDragContext *context,
|
|||||||
gint hot_x,
|
gint hot_x,
|
||||||
gint hot_y);
|
gint hot_y);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_drag_set_icon_default (GdkDragContext *context);
|
void gtk_drag_set_icon_default (GdkDragContext *context);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_drag_check_threshold (GtkWidget *widget,
|
gboolean gtk_drag_check_threshold (GtkWidget *widget,
|
||||||
gint start_x,
|
gint start_x,
|
||||||
gint start_y,
|
gint start_y,
|
||||||
|
@ -66,7 +66,9 @@ struct _GtkDrawingAreaClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_drawing_area_get_type (void) G_GNUC_CONST;
|
GType gtk_drawing_area_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_drawing_area_new (void);
|
GtkWidget* gtk_drawing_area_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -80,32 +80,46 @@ struct _GtkEditableInterface
|
|||||||
gint (* get_position) (GtkEditable *editable);
|
gint (* get_position) (GtkEditable *editable);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_editable_get_type (void) G_GNUC_CONST;
|
GType gtk_editable_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_select_region (GtkEditable *editable,
|
void gtk_editable_select_region (GtkEditable *editable,
|
||||||
gint start_pos,
|
gint start_pos,
|
||||||
gint end_pos);
|
gint end_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_editable_get_selection_bounds (GtkEditable *editable,
|
gboolean gtk_editable_get_selection_bounds (GtkEditable *editable,
|
||||||
gint *start_pos,
|
gint *start_pos,
|
||||||
gint *end_pos);
|
gint *end_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_insert_text (GtkEditable *editable,
|
void gtk_editable_insert_text (GtkEditable *editable,
|
||||||
const gchar *new_text,
|
const gchar *new_text,
|
||||||
gint new_text_length,
|
gint new_text_length,
|
||||||
gint *position);
|
gint *position);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_delete_text (GtkEditable *editable,
|
void gtk_editable_delete_text (GtkEditable *editable,
|
||||||
gint start_pos,
|
gint start_pos,
|
||||||
gint end_pos);
|
gint end_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar* gtk_editable_get_chars (GtkEditable *editable,
|
gchar* gtk_editable_get_chars (GtkEditable *editable,
|
||||||
gint start_pos,
|
gint start_pos,
|
||||||
gint end_pos);
|
gint end_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_cut_clipboard (GtkEditable *editable);
|
void gtk_editable_cut_clipboard (GtkEditable *editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_copy_clipboard (GtkEditable *editable);
|
void gtk_editable_copy_clipboard (GtkEditable *editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_paste_clipboard (GtkEditable *editable);
|
void gtk_editable_paste_clipboard (GtkEditable *editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_delete_selection (GtkEditable *editable);
|
void gtk_editable_delete_selection (GtkEditable *editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_set_position (GtkEditable *editable,
|
void gtk_editable_set_position (GtkEditable *editable,
|
||||||
gint position);
|
gint position);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_editable_get_position (GtkEditable *editable);
|
gint gtk_editable_get_position (GtkEditable *editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_editable_set_editable (GtkEditable *editable,
|
void gtk_editable_set_editable (GtkEditable *editable,
|
||||||
gboolean is_editable);
|
gboolean is_editable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_editable_get_editable (GtkEditable *editable);
|
gboolean gtk_editable_get_editable (GtkEditable *editable);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -127,28 +127,41 @@ struct _GtkEntryClass
|
|||||||
void (*_gtk_reserved7) (void);
|
void (*_gtk_reserved7) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_entry_get_type (void) G_GNUC_CONST;
|
GType gtk_entry_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_entry_new (void);
|
GtkWidget* gtk_entry_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_entry_new_with_buffer (GtkEntryBuffer *buffer);
|
GtkWidget* gtk_entry_new_with_buffer (GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkEntryBuffer* gtk_entry_get_buffer (GtkEntry *entry);
|
GtkEntryBuffer* gtk_entry_get_buffer (GtkEntry *entry);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_buffer (GtkEntry *entry,
|
void gtk_entry_set_buffer (GtkEntry *entry,
|
||||||
GtkEntryBuffer *buffer);
|
GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_get_text_area (GtkEntry *entry,
|
void gtk_entry_get_text_area (GtkEntry *entry,
|
||||||
GdkRectangle *text_area);
|
GdkRectangle *text_area);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_visibility (GtkEntry *entry,
|
void gtk_entry_set_visibility (GtkEntry *entry,
|
||||||
gboolean visible);
|
gboolean visible);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_visibility (GtkEntry *entry);
|
gboolean gtk_entry_get_visibility (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_invisible_char (GtkEntry *entry,
|
void gtk_entry_set_invisible_char (GtkEntry *entry,
|
||||||
gunichar ch);
|
gunichar ch);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gunichar gtk_entry_get_invisible_char (GtkEntry *entry);
|
gunichar gtk_entry_get_invisible_char (GtkEntry *entry);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_unset_invisible_char (GtkEntry *entry);
|
void gtk_entry_unset_invisible_char (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_has_frame (GtkEntry *entry,
|
void gtk_entry_set_has_frame (GtkEntry *entry,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_has_frame (GtkEntry *entry);
|
gboolean gtk_entry_get_has_frame (GtkEntry *entry);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_4
|
GDK_DEPRECATED_IN_3_4
|
||||||
@ -157,64 +170,90 @@ void gtk_entry_set_inner_border (GtkEntry *entry,
|
|||||||
GDK_DEPRECATED_IN_3_4
|
GDK_DEPRECATED_IN_3_4
|
||||||
const GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry);
|
const GtkBorder* gtk_entry_get_inner_border (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_overwrite_mode (GtkEntry *entry,
|
void gtk_entry_set_overwrite_mode (GtkEntry *entry,
|
||||||
gboolean overwrite);
|
gboolean overwrite);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_overwrite_mode (GtkEntry *entry);
|
gboolean gtk_entry_get_overwrite_mode (GtkEntry *entry);
|
||||||
|
|
||||||
/* text is truncated if needed */
|
/* text is truncated if needed */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_max_length (GtkEntry *entry,
|
void gtk_entry_set_max_length (GtkEntry *entry,
|
||||||
gint max);
|
gint max);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_get_max_length (GtkEntry *entry);
|
gint gtk_entry_get_max_length (GtkEntry *entry);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint16 gtk_entry_get_text_length (GtkEntry *entry);
|
guint16 gtk_entry_get_text_length (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_activates_default (GtkEntry *entry,
|
void gtk_entry_set_activates_default (GtkEntry *entry,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_activates_default (GtkEntry *entry);
|
gboolean gtk_entry_get_activates_default (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_width_chars (GtkEntry *entry,
|
void gtk_entry_set_width_chars (GtkEntry *entry,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_get_width_chars (GtkEntry *entry);
|
gint gtk_entry_get_width_chars (GtkEntry *entry);
|
||||||
|
|
||||||
/* Somewhat more convenient than the GtkEditable generic functions
|
/* Somewhat more convenient than the GtkEditable generic functions
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_text (GtkEntry *entry,
|
void gtk_entry_set_text (GtkEntry *entry,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
/* returns a reference to the text */
|
/* returns a reference to the text */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_entry_get_text (GtkEntry *entry);
|
const gchar* gtk_entry_get_text (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
PangoLayout* gtk_entry_get_layout (GtkEntry *entry);
|
PangoLayout* gtk_entry_get_layout (GtkEntry *entry);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_get_layout_offsets (GtkEntry *entry,
|
void gtk_entry_get_layout_offsets (GtkEntry *entry,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y);
|
gint *y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_alignment (GtkEntry *entry,
|
void gtk_entry_set_alignment (GtkEntry *entry,
|
||||||
gfloat xalign);
|
gfloat xalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gfloat gtk_entry_get_alignment (GtkEntry *entry);
|
gfloat gtk_entry_get_alignment (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_completion (GtkEntry *entry,
|
void gtk_entry_set_completion (GtkEntry *entry,
|
||||||
GtkEntryCompletion *completion);
|
GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry);
|
GtkEntryCompletion *gtk_entry_get_completion (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_layout_index_to_text_index (GtkEntry *entry,
|
gint gtk_entry_layout_index_to_text_index (GtkEntry *entry,
|
||||||
gint layout_index);
|
gint layout_index);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_text_index_to_layout_index (GtkEntry *entry,
|
gint gtk_entry_text_index_to_layout_index (GtkEntry *entry,
|
||||||
gint text_index);
|
gint text_index);
|
||||||
|
|
||||||
/* For scrolling cursor appropriately
|
/* For scrolling cursor appropriately
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_cursor_hadjustment (GtkEntry *entry,
|
void gtk_entry_set_cursor_hadjustment (GtkEntry *entry,
|
||||||
GtkAdjustment *adjustment);
|
GtkAdjustment *adjustment);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkAdjustment* gtk_entry_get_cursor_hadjustment (GtkEntry *entry);
|
GtkAdjustment* gtk_entry_get_cursor_hadjustment (GtkEntry *entry);
|
||||||
|
|
||||||
/* Progress API
|
/* Progress API
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_progress_fraction (GtkEntry *entry,
|
void gtk_entry_set_progress_fraction (GtkEntry *entry,
|
||||||
gdouble fraction);
|
gdouble fraction);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_entry_get_progress_fraction (GtkEntry *entry);
|
gdouble gtk_entry_get_progress_fraction (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_progress_pulse_step (GtkEntry *entry,
|
void gtk_entry_set_progress_pulse_step (GtkEntry *entry,
|
||||||
gdouble fraction);
|
gdouble fraction);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry);
|
gdouble gtk_entry_get_progress_pulse_step (GtkEntry *entry);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_progress_pulse (GtkEntry *entry);
|
void gtk_entry_progress_pulse (GtkEntry *entry);
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
const gchar* gtk_entry_get_placeholder_text (GtkEntry *entry);
|
const gchar* gtk_entry_get_placeholder_text (GtkEntry *entry);
|
||||||
@ -223,62 +262,85 @@ void gtk_entry_set_placeholder_text (GtkEntry *entry,
|
|||||||
const gchar *text);
|
const gchar *text);
|
||||||
/* Setting and managing icons
|
/* Setting and managing icons
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_from_pixbuf (GtkEntry *entry,
|
void gtk_entry_set_icon_from_pixbuf (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_from_stock (GtkEntry *entry,
|
void gtk_entry_set_icon_from_stock (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
const gchar *stock_id);
|
const gchar *stock_id);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_from_icon_name (GtkEntry *entry,
|
void gtk_entry_set_icon_from_icon_name (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_from_gicon (GtkEntry *entry,
|
void gtk_entry_set_icon_from_gicon (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
GIcon *icon);
|
GIcon *icon);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkImageType gtk_entry_get_icon_storage_type (GtkEntry *entry,
|
GtkImageType gtk_entry_get_icon_storage_type (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf* gtk_entry_get_icon_pixbuf (GtkEntry *entry,
|
GdkPixbuf* gtk_entry_get_icon_pixbuf (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_entry_get_icon_stock (GtkEntry *entry,
|
const gchar* gtk_entry_get_icon_stock (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_entry_get_icon_name (GtkEntry *entry,
|
const gchar* gtk_entry_get_icon_name (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GIcon* gtk_entry_get_icon_gicon (GtkEntry *entry,
|
GIcon* gtk_entry_get_icon_gicon (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_activatable (GtkEntry *entry,
|
void gtk_entry_set_icon_activatable (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
gboolean activatable);
|
gboolean activatable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_icon_activatable (GtkEntry *entry,
|
gboolean gtk_entry_get_icon_activatable (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_sensitive (GtkEntry *entry,
|
void gtk_entry_set_icon_sensitive (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
gboolean sensitive);
|
gboolean sensitive);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_get_icon_sensitive (GtkEntry *entry,
|
gboolean gtk_entry_get_icon_sensitive (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_get_icon_at_pos (GtkEntry *entry,
|
gint gtk_entry_get_icon_at_pos (GtkEntry *entry,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_tooltip_text (GtkEntry *entry,
|
void gtk_entry_set_icon_tooltip_text (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
const gchar *tooltip);
|
const gchar *tooltip);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_entry_get_icon_tooltip_text (GtkEntry *entry,
|
gchar * gtk_entry_get_icon_tooltip_text (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_tooltip_markup (GtkEntry *entry,
|
void gtk_entry_set_icon_tooltip_markup (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
const gchar *tooltip);
|
const gchar *tooltip);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_entry_get_icon_tooltip_markup (GtkEntry *entry,
|
gchar * gtk_entry_get_icon_tooltip_markup (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos);
|
GtkEntryIconPosition icon_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_set_icon_drag_source (GtkEntry *entry,
|
void gtk_entry_set_icon_drag_source (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
GtkTargetList *target_list,
|
GtkTargetList *target_list,
|
||||||
GdkDragAction actions);
|
GdkDragAction actions);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_get_current_icon_drag_source (GtkEntry *entry);
|
gint gtk_entry_get_current_icon_drag_source (GtkEntry *entry);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_get_icon_area (GtkEntry *entry,
|
void gtk_entry_get_icon_area (GtkEntry *entry,
|
||||||
GtkEntryIconPosition icon_pos,
|
GtkEntryIconPosition icon_pos,
|
||||||
GdkRectangle *icon_area);
|
GdkRectangle *icon_area);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
|
gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
|
||||||
GdkEventKey *event);
|
GdkEventKey *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_reset_im_context (GtkEntry *entry);
|
void gtk_entry_reset_im_context (GtkEntry *entry);
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_3_6
|
GDK_AVAILABLE_IN_3_6
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -90,40 +91,52 @@ struct _GtkEntryBufferClass
|
|||||||
void (*_gtk_reserved8) (void);
|
void (*_gtk_reserved8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_entry_buffer_get_type (void) G_GNUC_CONST;
|
GType gtk_entry_buffer_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkEntryBuffer* gtk_entry_buffer_new (const gchar *initial_chars,
|
GtkEntryBuffer* gtk_entry_buffer_new (const gchar *initial_chars,
|
||||||
gint n_initial_chars);
|
gint n_initial_chars);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gsize gtk_entry_buffer_get_bytes (GtkEntryBuffer *buffer);
|
gsize gtk_entry_buffer_get_bytes (GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_entry_buffer_get_length (GtkEntryBuffer *buffer);
|
guint gtk_entry_buffer_get_length (GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_entry_buffer_get_text (GtkEntryBuffer *buffer);
|
const gchar* gtk_entry_buffer_get_text (GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_buffer_set_text (GtkEntryBuffer *buffer,
|
void gtk_entry_buffer_set_text (GtkEntryBuffer *buffer,
|
||||||
const gchar *chars,
|
const gchar *chars,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer,
|
void gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer,
|
||||||
gint max_length);
|
gint max_length);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer);
|
gint gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer,
|
guint gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer,
|
||||||
guint position,
|
guint position,
|
||||||
const gchar *chars,
|
const gchar *chars,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_entry_buffer_delete_text (GtkEntryBuffer *buffer,
|
guint gtk_entry_buffer_delete_text (GtkEntryBuffer *buffer,
|
||||||
guint position,
|
guint position,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_buffer_emit_inserted_text (GtkEntryBuffer *buffer,
|
void gtk_entry_buffer_emit_inserted_text (GtkEntryBuffer *buffer,
|
||||||
guint position,
|
guint position,
|
||||||
const gchar *chars,
|
const gchar *chars,
|
||||||
guint n_chars);
|
guint n_chars);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_buffer_emit_deleted_text (GtkEntryBuffer *buffer,
|
void gtk_entry_buffer_emit_deleted_text (GtkEntryBuffer *buffer,
|
||||||
guint position,
|
guint position,
|
||||||
guint n_chars);
|
guint n_chars);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#error "Only <gtk/gtk.h> can be included directly."
|
#error "Only <gtk/gtk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <gdk/gdk.h>
|
||||||
#include <gtk/gtktreemodel.h>
|
#include <gtk/gtktreemodel.h>
|
||||||
#include <gtk/gtkliststore.h>
|
#include <gtk/gtkliststore.h>
|
||||||
#include <gtk/gtkcellarea.h>
|
#include <gtk/gtkcellarea.h>
|
||||||
@ -95,58 +96,85 @@ struct _GtkEntryCompletionClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* core */
|
/* core */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_entry_completion_get_type (void) G_GNUC_CONST;
|
GType gtk_entry_completion_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkEntryCompletion *gtk_entry_completion_new (void);
|
GtkEntryCompletion *gtk_entry_completion_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkEntryCompletion *gtk_entry_completion_new_with_area (GtkCellArea *area);
|
GtkEntryCompletion *gtk_entry_completion_new_with_area (GtkCellArea *area);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_entry_completion_get_entry (GtkEntryCompletion *completion);
|
GtkWidget *gtk_entry_completion_get_entry (GtkEntryCompletion *completion);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_model (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_model (GtkEntryCompletion *completion,
|
||||||
GtkTreeModel *model);
|
GtkTreeModel *model);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion);
|
GtkTreeModel *gtk_entry_completion_get_model (GtkEntryCompletion *completion);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_match_func (GtkEntryCompletion *completion,
|
||||||
GtkEntryCompletionMatchFunc func,
|
GtkEntryCompletionMatchFunc func,
|
||||||
gpointer func_data,
|
gpointer func_data,
|
||||||
GDestroyNotify func_notify);
|
GDestroyNotify func_notify);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion *completion,
|
||||||
gint length);
|
gint length);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion *completion);
|
gint gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion *completion);
|
||||||
GDK_AVAILABLE_IN_3_4
|
GDK_AVAILABLE_IN_3_4
|
||||||
gchar * gtk_entry_completion_compute_prefix (GtkEntryCompletion *completion,
|
gchar * gtk_entry_completion_compute_prefix (GtkEntryCompletion *completion,
|
||||||
const char *key);
|
const char *key);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_complete (GtkEntryCompletion *completion);
|
void gtk_entry_completion_complete (GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_insert_prefix (GtkEntryCompletion *completion);
|
void gtk_entry_completion_insert_prefix (GtkEntryCompletion *completion);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
|
void gtk_entry_completion_insert_action_text (GtkEntryCompletion *completion,
|
||||||
gint index_,
|
gint index_,
|
||||||
const gchar *text);
|
const gchar *text);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
|
void gtk_entry_completion_insert_action_markup (GtkEntryCompletion *completion,
|
||||||
gint index_,
|
gint index_,
|
||||||
const gchar *markup);
|
const gchar *markup);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_delete_action (GtkEntryCompletion *completion,
|
void gtk_entry_completion_delete_action (GtkEntryCompletion *completion,
|
||||||
gint index_);
|
gint index_);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_inline_completion (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_inline_completion (GtkEntryCompletion *completion,
|
||||||
gboolean inline_completion);
|
gboolean inline_completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_completion_get_inline_completion (GtkEntryCompletion *completion);
|
gboolean gtk_entry_completion_get_inline_completion (GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_inline_selection (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_inline_selection (GtkEntryCompletion *completion,
|
||||||
gboolean inline_selection);
|
gboolean inline_selection);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_completion_get_inline_selection (GtkEntryCompletion *completion);
|
gboolean gtk_entry_completion_get_inline_selection (GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_popup_completion (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_popup_completion (GtkEntryCompletion *completion,
|
||||||
gboolean popup_completion);
|
gboolean popup_completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_completion_get_popup_completion (GtkEntryCompletion *completion);
|
gboolean gtk_entry_completion_get_popup_completion (GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_popup_set_width (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_popup_set_width (GtkEntryCompletion *completion,
|
||||||
gboolean popup_set_width);
|
gboolean popup_set_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_completion_get_popup_set_width (GtkEntryCompletion *completion);
|
gboolean gtk_entry_completion_get_popup_set_width (GtkEntryCompletion *completion);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_popup_single_match (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_popup_single_match (GtkEntryCompletion *completion,
|
||||||
gboolean popup_single_match);
|
gboolean popup_single_match);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_entry_completion_get_popup_single_match (GtkEntryCompletion *completion);
|
gboolean gtk_entry_completion_get_popup_single_match (GtkEntryCompletion *completion);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar *gtk_entry_completion_get_completion_prefix (GtkEntryCompletion *completion);
|
const gchar *gtk_entry_completion_get_completion_prefix (GtkEntryCompletion *completion);
|
||||||
/* convenience */
|
/* convenience */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion,
|
void gtk_entry_completion_set_text_column (GtkEntryCompletion *completion,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_entry_completion_get_text_column (GtkEntryCompletion *completion);
|
gint gtk_entry_completion_get_text_column (GtkEntryCompletion *completion);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -65,12 +65,18 @@ struct _GtkEventBoxClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_event_box_get_type (void) G_GNUC_CONST;
|
GType gtk_event_box_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_event_box_new (void);
|
GtkWidget* gtk_event_box_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_event_box_get_visible_window (GtkEventBox *event_box);
|
gboolean gtk_event_box_get_visible_window (GtkEventBox *event_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_event_box_set_visible_window (GtkEventBox *event_box,
|
void gtk_event_box_set_visible_window (GtkEventBox *event_box,
|
||||||
gboolean visible_window);
|
gboolean visible_window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_event_box_get_above_child (GtkEventBox *event_box);
|
gboolean gtk_event_box_get_above_child (GtkEventBox *event_box);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_event_box_set_above_child (GtkEventBox *event_box,
|
void gtk_event_box_set_above_child (GtkEventBox *event_box,
|
||||||
gboolean above_child);
|
gboolean above_child);
|
||||||
|
|
||||||
|
@ -64,37 +64,54 @@ struct _GtkExpanderClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_expander_get_type (void) G_GNUC_CONST;
|
GType gtk_expander_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_expander_new (const gchar *label);
|
GtkWidget *gtk_expander_new (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_expander_new_with_mnemonic (const gchar *label);
|
GtkWidget *gtk_expander_new_with_mnemonic (const gchar *label);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_expanded (GtkExpander *expander,
|
void gtk_expander_set_expanded (GtkExpander *expander,
|
||||||
gboolean expanded);
|
gboolean expanded);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_expander_get_expanded (GtkExpander *expander);
|
gboolean gtk_expander_get_expanded (GtkExpander *expander);
|
||||||
|
|
||||||
/* Spacing between the expander/label and the child */
|
/* Spacing between the expander/label and the child */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_spacing (GtkExpander *expander,
|
void gtk_expander_set_spacing (GtkExpander *expander,
|
||||||
gint spacing);
|
gint spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_expander_get_spacing (GtkExpander *expander);
|
gint gtk_expander_get_spacing (GtkExpander *expander);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_label (GtkExpander *expander,
|
void gtk_expander_set_label (GtkExpander *expander,
|
||||||
const gchar *label);
|
const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_expander_get_label (GtkExpander *expander);
|
const gchar * gtk_expander_get_label (GtkExpander *expander);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_use_underline (GtkExpander *expander,
|
void gtk_expander_set_use_underline (GtkExpander *expander,
|
||||||
gboolean use_underline);
|
gboolean use_underline);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_expander_get_use_underline (GtkExpander *expander);
|
gboolean gtk_expander_get_use_underline (GtkExpander *expander);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_use_markup (GtkExpander *expander,
|
void gtk_expander_set_use_markup (GtkExpander *expander,
|
||||||
gboolean use_markup);
|
gboolean use_markup);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_expander_get_use_markup (GtkExpander *expander);
|
gboolean gtk_expander_get_use_markup (GtkExpander *expander);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_label_widget (GtkExpander *expander,
|
void gtk_expander_set_label_widget (GtkExpander *expander,
|
||||||
GtkWidget *label_widget);
|
GtkWidget *label_widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_expander_get_label_widget (GtkExpander *expander);
|
GtkWidget *gtk_expander_get_label_widget (GtkExpander *expander);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_expander_set_label_fill (GtkExpander *expander,
|
void gtk_expander_set_label_fill (GtkExpander *expander,
|
||||||
gboolean label_fill);
|
gboolean label_fill);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_expander_get_label_fill (GtkExpander *expander);
|
gboolean gtk_expander_get_label_fill (GtkExpander *expander);
|
||||||
GDK_AVAILABLE_IN_3_2
|
GDK_AVAILABLE_IN_3_2
|
||||||
void gtk_expander_set_resize_toplevel (GtkExpander *expander,
|
void gtk_expander_set_resize_toplevel (GtkExpander *expander,
|
||||||
|
@ -83,6 +83,7 @@ typedef enum
|
|||||||
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
|
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
|
||||||
} GtkFileChooserConfirmation;
|
} GtkFileChooserConfirmation;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_file_chooser_get_type (void) G_GNUC_CONST;
|
GType gtk_file_chooser_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/* GError enumeration for GtkFileChooser */
|
/* GError enumeration for GtkFileChooser */
|
||||||
@ -111,135 +112,194 @@ typedef enum {
|
|||||||
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
|
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
|
||||||
} GtkFileChooserError;
|
} GtkFileChooserError;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GQuark gtk_file_chooser_error_quark (void);
|
GQuark gtk_file_chooser_error_quark (void);
|
||||||
|
|
||||||
/* Configuration
|
/* Configuration
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_action (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_action (GtkFileChooser *chooser,
|
||||||
GtkFileChooserAction action);
|
GtkFileChooserAction action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkFileChooserAction gtk_file_chooser_get_action (GtkFileChooser *chooser);
|
GtkFileChooserAction gtk_file_chooser_get_action (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_local_only (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_local_only (GtkFileChooser *chooser,
|
||||||
gboolean local_only);
|
gboolean local_only);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_local_only (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_local_only (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_select_multiple (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_select_multiple (GtkFileChooser *chooser,
|
||||||
gboolean select_multiple);
|
gboolean select_multiple);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_show_hidden (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_show_hidden (GtkFileChooser *chooser,
|
||||||
gboolean show_hidden);
|
gboolean show_hidden);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_show_hidden (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_show_hidden (GtkFileChooser *chooser);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_do_overwrite_confirmation (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_do_overwrite_confirmation (GtkFileChooser *chooser,
|
||||||
gboolean do_overwrite_confirmation);
|
gboolean do_overwrite_confirmation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_do_overwrite_confirmation (GtkFileChooser *chooser);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_create_folders (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_create_folders (GtkFileChooser *chooser,
|
||||||
gboolean create_folders);
|
gboolean create_folders);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_create_folders (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_create_folders (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* Suggested name for the Save-type actions
|
/* Suggested name for the Save-type actions
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_current_name (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_current_name (GtkFileChooser *chooser,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
/* Filename manipulation
|
/* Filename manipulation
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_file_chooser_get_filename (GtkFileChooser *chooser);
|
gchar * gtk_file_chooser_get_filename (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_filename (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_filename (GtkFileChooser *chooser,
|
||||||
const char *filename);
|
const char *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_select_filename (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_select_filename (GtkFileChooser *chooser,
|
||||||
const char *filename);
|
const char *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_unselect_filename (GtkFileChooser *chooser,
|
void gtk_file_chooser_unselect_filename (GtkFileChooser *chooser,
|
||||||
const char *filename);
|
const char *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_select_all (GtkFileChooser *chooser);
|
void gtk_file_chooser_select_all (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_unselect_all (GtkFileChooser *chooser);
|
void gtk_file_chooser_unselect_all (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList * gtk_file_chooser_get_filenames (GtkFileChooser *chooser);
|
GSList * gtk_file_chooser_get_filenames (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_current_folder (GtkFileChooser *chooser,
|
||||||
const gchar *filename);
|
const gchar *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_file_chooser_get_current_folder (GtkFileChooser *chooser);
|
gchar * gtk_file_chooser_get_current_folder (GtkFileChooser *chooser);
|
||||||
|
|
||||||
|
|
||||||
/* URI manipulation
|
/* URI manipulation
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_file_chooser_get_uri (GtkFileChooser *chooser);
|
gchar * gtk_file_chooser_get_uri (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_uri (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_uri (GtkFileChooser *chooser,
|
||||||
const char *uri);
|
const char *uri);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_select_uri (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_select_uri (GtkFileChooser *chooser,
|
||||||
const char *uri);
|
const char *uri);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_unselect_uri (GtkFileChooser *chooser,
|
void gtk_file_chooser_unselect_uri (GtkFileChooser *chooser,
|
||||||
const char *uri);
|
const char *uri);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList * gtk_file_chooser_get_uris (GtkFileChooser *chooser);
|
GSList * gtk_file_chooser_get_uris (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_current_folder_uri (GtkFileChooser *chooser,
|
||||||
const gchar *uri);
|
const gchar *uri);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gchar * gtk_file_chooser_get_current_folder_uri (GtkFileChooser *chooser);
|
gchar * gtk_file_chooser_get_current_folder_uri (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* GFile manipulation */
|
/* GFile manipulation */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GFile * gtk_file_chooser_get_file (GtkFileChooser *chooser);
|
GFile * gtk_file_chooser_get_file (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_file (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_file (GtkFileChooser *chooser,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_select_file (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_select_file (GtkFileChooser *chooser,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_unselect_file (GtkFileChooser *chooser,
|
void gtk_file_chooser_unselect_file (GtkFileChooser *chooser,
|
||||||
GFile *file);
|
GFile *file);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList * gtk_file_chooser_get_files (GtkFileChooser *chooser);
|
GSList * gtk_file_chooser_get_files (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_set_current_folder_file (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_set_current_folder_file (GtkFileChooser *chooser,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GFile * gtk_file_chooser_get_current_folder_file (GtkFileChooser *chooser);
|
GFile * gtk_file_chooser_get_current_folder_file (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* Preview widget
|
/* Preview widget
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_preview_widget (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_preview_widget (GtkFileChooser *chooser,
|
||||||
GtkWidget *preview_widget);
|
GtkWidget *preview_widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser);
|
GtkWidget *gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_preview_widget_active (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_preview_widget_active (GtkFileChooser *chooser,
|
||||||
gboolean active);
|
gboolean active);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_preview_widget_active (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_preview_widget_active (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_use_preview_label (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_use_preview_label (GtkFileChooser *chooser,
|
||||||
gboolean use_label);
|
gboolean use_label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_get_use_preview_label (GtkFileChooser *chooser);
|
gboolean gtk_file_chooser_get_use_preview_label (GtkFileChooser *chooser);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
char *gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser);
|
char *gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
char *gtk_file_chooser_get_preview_uri (GtkFileChooser *chooser);
|
char *gtk_file_chooser_get_preview_uri (GtkFileChooser *chooser);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GFile *gtk_file_chooser_get_preview_file (GtkFileChooser *chooser);
|
GFile *gtk_file_chooser_get_preview_file (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* Extra widget
|
/* Extra widget
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_extra_widget (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_extra_widget (GtkFileChooser *chooser,
|
||||||
GtkWidget *extra_widget);
|
GtkWidget *extra_widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser);
|
GtkWidget *gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* List of user selectable filters
|
/* List of user selectable filters
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_add_filter (GtkFileChooser *chooser,
|
void gtk_file_chooser_add_filter (GtkFileChooser *chooser,
|
||||||
GtkFileFilter *filter);
|
GtkFileFilter *filter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_remove_filter (GtkFileChooser *chooser,
|
void gtk_file_chooser_remove_filter (GtkFileChooser *chooser,
|
||||||
GtkFileFilter *filter);
|
GtkFileFilter *filter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList *gtk_file_chooser_list_filters (GtkFileChooser *chooser);
|
GSList *gtk_file_chooser_list_filters (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* Current filter
|
/* Current filter
|
||||||
*/
|
*/
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_set_filter (GtkFileChooser *chooser,
|
void gtk_file_chooser_set_filter (GtkFileChooser *chooser,
|
||||||
GtkFileFilter *filter);
|
GtkFileFilter *filter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkFileFilter *gtk_file_chooser_get_filter (GtkFileChooser *chooser);
|
GtkFileFilter *gtk_file_chooser_get_filter (GtkFileChooser *chooser);
|
||||||
|
|
||||||
/* Per-application shortcut folders */
|
/* Per-application shortcut folders */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_add_shortcut_folder (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_add_shortcut_folder (GtkFileChooser *chooser,
|
||||||
const char *folder,
|
const char *folder,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_remove_shortcut_folder (GtkFileChooser *chooser,
|
||||||
const char *folder,
|
const char *folder,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList *gtk_file_chooser_list_shortcut_folders (GtkFileChooser *chooser);
|
GSList *gtk_file_chooser_list_shortcut_folders (GtkFileChooser *chooser);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_add_shortcut_folder_uri (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_add_shortcut_folder_uri (GtkFileChooser *chooser,
|
||||||
const char *uri,
|
const char *uri,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser,
|
gboolean gtk_file_chooser_remove_shortcut_folder_uri (GtkFileChooser *chooser,
|
||||||
const char *uri,
|
const char *uri,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GSList *gtk_file_chooser_list_shortcut_folder_uris (GtkFileChooser *chooser);
|
GSList *gtk_file_chooser_list_shortcut_folder_uris (GtkFileChooser *chooser);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -62,17 +62,26 @@ struct _GtkFileChooserButtonClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_file_chooser_button_get_type (void) G_GNUC_CONST;
|
GType gtk_file_chooser_button_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_file_chooser_button_new (const gchar *title,
|
GtkWidget * gtk_file_chooser_button_new (const gchar *title,
|
||||||
GtkFileChooserAction action);
|
GtkFileChooserAction action);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_file_chooser_button_new_with_dialog (GtkWidget *dialog);
|
GtkWidget * gtk_file_chooser_button_new_with_dialog (GtkWidget *dialog);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_file_chooser_button_get_title (GtkFileChooserButton *button);
|
const gchar * gtk_file_chooser_button_get_title (GtkFileChooserButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_button_set_title (GtkFileChooserButton *button,
|
void gtk_file_chooser_button_set_title (GtkFileChooserButton *button,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_file_chooser_button_get_width_chars (GtkFileChooserButton *button);
|
gint gtk_file_chooser_button_get_width_chars (GtkFileChooserButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_button_set_width_chars (GtkFileChooserButton *button,
|
void gtk_file_chooser_button_set_width_chars (GtkFileChooserButton *button,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_chooser_button_get_focus_on_click (GtkFileChooserButton *button);
|
gboolean gtk_file_chooser_button_get_focus_on_click (GtkFileChooserButton *button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_chooser_button_set_focus_on_click (GtkFileChooserButton *button,
|
void gtk_file_chooser_button_set_focus_on_click (GtkFileChooserButton *button,
|
||||||
gboolean focus_on_click);
|
gboolean focus_on_click);
|
||||||
|
|
||||||
|
@ -57,7 +57,9 @@ struct _GtkFileChooserDialogClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST;
|
GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_file_chooser_dialog_new (const gchar *title,
|
GtkWidget *gtk_file_chooser_dialog_new (const gchar *title,
|
||||||
GtkWindow *parent,
|
GtkWindow *parent,
|
||||||
GtkFileChooserAction action,
|
GtkFileChooserAction action,
|
||||||
|
@ -57,7 +57,9 @@ struct _GtkFileChooserWidgetClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST;
|
GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action);
|
GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
#include <gdk/gdk.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -89,25 +90,35 @@ struct _GtkFileFilterInfo
|
|||||||
const gchar *mime_type;
|
const gchar *mime_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_file_filter_get_type (void) G_GNUC_CONST;
|
GType gtk_file_filter_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkFileFilter * gtk_file_filter_new (void);
|
GtkFileFilter * gtk_file_filter_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_filter_set_name (GtkFileFilter *filter,
|
void gtk_file_filter_set_name (GtkFileFilter *filter,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_file_filter_get_name (GtkFileFilter *filter);
|
const gchar * gtk_file_filter_get_name (GtkFileFilter *filter);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_filter_add_mime_type (GtkFileFilter *filter,
|
void gtk_file_filter_add_mime_type (GtkFileFilter *filter,
|
||||||
const gchar *mime_type);
|
const gchar *mime_type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_filter_add_pattern (GtkFileFilter *filter,
|
void gtk_file_filter_add_pattern (GtkFileFilter *filter,
|
||||||
const gchar *pattern);
|
const gchar *pattern);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter);
|
void gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_file_filter_add_custom (GtkFileFilter *filter,
|
void gtk_file_filter_add_custom (GtkFileFilter *filter,
|
||||||
GtkFileFilterFlags needed,
|
GtkFileFilterFlags needed,
|
||||||
GtkFileFilterFunc func,
|
GtkFileFilterFunc func,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify notify);
|
GDestroyNotify notify);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkFileFilterFlags gtk_file_filter_get_needed (GtkFileFilter *filter);
|
GtkFileFilterFlags gtk_file_filter_get_needed (GtkFileFilter *filter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_file_filter_filter (GtkFileFilter *filter,
|
gboolean gtk_file_filter_filter (GtkFileFilter *filter,
|
||||||
const GtkFileFilterInfo *filter_info);
|
const GtkFileFilterInfo *filter_info);
|
||||||
|
|
||||||
|
@ -74,12 +74,16 @@ struct _GtkFixedChild
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_fixed_get_type (void) G_GNUC_CONST;
|
GType gtk_fixed_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_fixed_new (void);
|
GtkWidget* gtk_fixed_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_fixed_put (GtkFixed *fixed,
|
void gtk_fixed_put (GtkFixed *fixed,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_fixed_move (GtkFixed *fixed,
|
void gtk_fixed_move (GtkFixed *fixed,
|
||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
gint x,
|
gint x,
|
||||||
|
@ -70,26 +70,41 @@ struct _GtkFontButtonClass {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_font_button_get_type (void) G_GNUC_CONST;
|
GType gtk_font_button_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_font_button_new (void);
|
GtkWidget *gtk_font_button_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_font_button_new_with_font (const gchar *fontname);
|
GtkWidget *gtk_font_button_new_with_font (const gchar *fontname);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_font_button_get_title (GtkFontButton *font_button);
|
const gchar * gtk_font_button_get_title (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_font_button_set_title (GtkFontButton *font_button,
|
void gtk_font_button_set_title (GtkFontButton *font_button,
|
||||||
const gchar *title);
|
const gchar *title);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_font_button_get_use_font (GtkFontButton *font_button);
|
gboolean gtk_font_button_get_use_font (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_font_button_set_use_font (GtkFontButton *font_button,
|
void gtk_font_button_set_use_font (GtkFontButton *font_button,
|
||||||
gboolean use_font);
|
gboolean use_font);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_font_button_get_use_size (GtkFontButton *font_button);
|
gboolean gtk_font_button_get_use_size (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_font_button_set_use_size (GtkFontButton *font_button,
|
void gtk_font_button_set_use_size (GtkFontButton *font_button,
|
||||||
gboolean use_size);
|
gboolean use_size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button);
|
const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_font_button_set_font_name (GtkFontButton *font_button,
|
gboolean gtk_font_button_set_font_name (GtkFontButton *font_button,
|
||||||
const gchar *fontname);
|
const gchar *fontname);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_font_button_get_show_style (GtkFontButton *font_button);
|
gboolean gtk_font_button_get_show_style (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_font_button_set_show_style (GtkFontButton *font_button,
|
void gtk_font_button_set_show_style (GtkFontButton *font_button,
|
||||||
gboolean show_style);
|
gboolean show_style);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_font_button_get_show_size (GtkFontButton *font_button);
|
gboolean gtk_font_button_get_show_size (GtkFontButton *font_button);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_font_button_set_show_size (GtkFontButton *font_button,
|
void gtk_font_button_set_show_size (GtkFontButton *font_button,
|
||||||
gboolean show_size);
|
gboolean show_size);
|
||||||
|
|
||||||
|
@ -69,24 +69,34 @@ struct _GtkFrameClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_frame_get_type (void) G_GNUC_CONST;
|
GType gtk_frame_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_frame_new (const gchar *label);
|
GtkWidget* gtk_frame_new (const gchar *label);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_frame_set_label (GtkFrame *frame,
|
void gtk_frame_set_label (GtkFrame *frame,
|
||||||
const gchar *label);
|
const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_frame_get_label (GtkFrame *frame);
|
const gchar * gtk_frame_get_label (GtkFrame *frame);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_frame_set_label_widget (GtkFrame *frame,
|
void gtk_frame_set_label_widget (GtkFrame *frame,
|
||||||
GtkWidget *label_widget);
|
GtkWidget *label_widget);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget *gtk_frame_get_label_widget (GtkFrame *frame);
|
GtkWidget *gtk_frame_get_label_widget (GtkFrame *frame);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_frame_set_label_align (GtkFrame *frame,
|
void gtk_frame_set_label_align (GtkFrame *frame,
|
||||||
gfloat xalign,
|
gfloat xalign,
|
||||||
gfloat yalign);
|
gfloat yalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_frame_get_label_align (GtkFrame *frame,
|
void gtk_frame_get_label_align (GtkFrame *frame,
|
||||||
gfloat *xalign,
|
gfloat *xalign,
|
||||||
gfloat *yalign);
|
gfloat *yalign);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_frame_set_shadow_type (GtkFrame *frame,
|
void gtk_frame_set_shadow_type (GtkFrame *frame,
|
||||||
GtkShadowType type);
|
GtkShadowType type);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkShadowType gtk_frame_get_shadow_type (GtkFrame *frame);
|
GtkShadowType gtk_frame_get_shadow_type (GtkFrame *frame);
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,14 +63,18 @@ struct _GtkGridClass
|
|||||||
void (*_gtk_reserved8) (void);
|
void (*_gtk_reserved8) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_grid_get_type (void) G_GNUC_CONST;
|
GType gtk_grid_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_grid_new (void);
|
GtkWidget* gtk_grid_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_attach (GtkGrid *grid,
|
void gtk_grid_attach (GtkGrid *grid,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
gint left,
|
gint left,
|
||||||
gint top,
|
gint top,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_attach_next_to (GtkGrid *grid,
|
void gtk_grid_attach_next_to (GtkGrid *grid,
|
||||||
GtkWidget *child,
|
GtkWidget *child,
|
||||||
GtkWidget *sibling,
|
GtkWidget *sibling,
|
||||||
@ -97,17 +101,25 @@ GDK_AVAILABLE_IN_3_2
|
|||||||
void gtk_grid_insert_next_to (GtkGrid *grid,
|
void gtk_grid_insert_next_to (GtkGrid *grid,
|
||||||
GtkWidget *sibling,
|
GtkWidget *sibling,
|
||||||
GtkPositionType side);
|
GtkPositionType side);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_set_row_homogeneous (GtkGrid *grid,
|
void gtk_grid_set_row_homogeneous (GtkGrid *grid,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_grid_get_row_homogeneous (GtkGrid *grid);
|
gboolean gtk_grid_get_row_homogeneous (GtkGrid *grid);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_set_row_spacing (GtkGrid *grid,
|
void gtk_grid_set_row_spacing (GtkGrid *grid,
|
||||||
guint spacing);
|
guint spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_grid_get_row_spacing (GtkGrid *grid);
|
guint gtk_grid_get_row_spacing (GtkGrid *grid);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_set_column_homogeneous (GtkGrid *grid,
|
void gtk_grid_set_column_homogeneous (GtkGrid *grid,
|
||||||
gboolean homogeneous);
|
gboolean homogeneous);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_grid_get_column_homogeneous (GtkGrid *grid);
|
gboolean gtk_grid_get_column_homogeneous (GtkGrid *grid);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_grid_set_column_spacing (GtkGrid *grid,
|
void gtk_grid_set_column_spacing (GtkGrid *grid,
|
||||||
guint spacing);
|
guint spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
guint gtk_grid_get_column_spacing (GtkGrid *grid);
|
guint gtk_grid_get_column_spacing (GtkGrid *grid);
|
||||||
GDK_AVAILABLE_IN_3_10
|
GDK_AVAILABLE_IN_3_10
|
||||||
void gtk_grid_set_row_baseline_position (GtkGrid *grid,
|
void gtk_grid_set_row_baseline_position (GtkGrid *grid,
|
||||||
|
@ -68,18 +68,25 @@ struct _GtkIconFactoryClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_factory_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_factory_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconFactory* gtk_icon_factory_new (void);
|
GtkIconFactory* gtk_icon_factory_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_factory_add (GtkIconFactory *factory,
|
void gtk_icon_factory_add (GtkIconFactory *factory,
|
||||||
const gchar *stock_id,
|
const gchar *stock_id,
|
||||||
GtkIconSet *icon_set);
|
GtkIconSet *icon_set);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_factory_lookup (GtkIconFactory *factory,
|
GtkIconSet* gtk_icon_factory_lookup (GtkIconFactory *factory,
|
||||||
const gchar *stock_id);
|
const gchar *stock_id);
|
||||||
|
|
||||||
/* Manage the default icon factory stack */
|
/* Manage the default icon factory stack */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_factory_add_default (GtkIconFactory *factory);
|
void gtk_icon_factory_add_default (GtkIconFactory *factory);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_factory_remove_default (GtkIconFactory *factory);
|
void gtk_icon_factory_remove_default (GtkIconFactory *factory);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id);
|
GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id);
|
||||||
|
|
||||||
/* Get preferred real size from registered semantic size. Note that
|
/* Get preferred real size from registered semantic size. Note that
|
||||||
@ -94,31 +101,43 @@ GtkIconSet* gtk_icon_factory_lookup_default (const gchar *stock_id);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GDK_MULTIHEAD_SAFE
|
#ifndef GDK_MULTIHEAD_SAFE
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_size_lookup (GtkIconSize size,
|
gboolean gtk_icon_size_lookup (GtkIconSize size,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
#endif /* GDK_MULTIHEAD_SAFE */
|
#endif /* GDK_MULTIHEAD_SAFE */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_size_lookup_for_settings (GtkSettings *settings,
|
gboolean gtk_icon_size_lookup_for_settings (GtkSettings *settings,
|
||||||
GtkIconSize size,
|
GtkIconSize size,
|
||||||
gint *width,
|
gint *width,
|
||||||
gint *height);
|
gint *height);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSize gtk_icon_size_register (const gchar *name,
|
GtkIconSize gtk_icon_size_register (const gchar *name,
|
||||||
gint width,
|
gint width,
|
||||||
gint height);
|
gint height);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_size_register_alias (const gchar *alias,
|
void gtk_icon_size_register_alias (const gchar *alias,
|
||||||
GtkIconSize target);
|
GtkIconSize target);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSize gtk_icon_size_from_name (const gchar *name);
|
GtkIconSize gtk_icon_size_from_name (const gchar *name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar* gtk_icon_size_get_name (GtkIconSize size);
|
const gchar* gtk_icon_size_get_name (GtkIconSize size);
|
||||||
|
|
||||||
/* Icon sets */
|
/* Icon sets */
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_set_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_set_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_set_new (void);
|
GtkIconSet* gtk_icon_set_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_set_new_from_pixbuf (GdkPixbuf *pixbuf);
|
GtkIconSet* gtk_icon_set_new_from_pixbuf (GdkPixbuf *pixbuf);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_set_ref (GtkIconSet *icon_set);
|
GtkIconSet* gtk_icon_set_ref (GtkIconSet *icon_set);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_set_unref (GtkIconSet *icon_set);
|
void gtk_icon_set_unref (GtkIconSet *icon_set);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSet* gtk_icon_set_copy (GtkIconSet *icon_set);
|
GtkIconSet* gtk_icon_set_copy (GtkIconSet *icon_set);
|
||||||
|
|
||||||
GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_set_render_icon_pixbuf)
|
GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_set_render_icon_pixbuf)
|
||||||
@ -130,46 +149,70 @@ GdkPixbuf* gtk_icon_set_render_icon (GtkIconSet *icon_set,
|
|||||||
GtkWidget *widget,
|
GtkWidget *widget,
|
||||||
const gchar *detail);
|
const gchar *detail);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_set_add_source (GtkIconSet *icon_set,
|
void gtk_icon_set_add_source (GtkIconSet *icon_set,
|
||||||
const GtkIconSource *source);
|
const GtkIconSource *source);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_set_get_sizes (GtkIconSet *icon_set,
|
void gtk_icon_set_get_sizes (GtkIconSet *icon_set,
|
||||||
GtkIconSize **sizes,
|
GtkIconSize **sizes,
|
||||||
gint *n_sizes);
|
gint *n_sizes);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_source_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_source_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSource* gtk_icon_source_new (void);
|
GtkIconSource* gtk_icon_source_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSource* gtk_icon_source_copy (const GtkIconSource *source);
|
GtkIconSource* gtk_icon_source_copy (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_free (GtkIconSource *source);
|
void gtk_icon_source_free (GtkIconSource *source);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_filename (GtkIconSource *source,
|
void gtk_icon_source_set_filename (GtkIconSource *source,
|
||||||
const gchar *filename);
|
const gchar *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_icon_name (GtkIconSource *source,
|
void gtk_icon_source_set_icon_name (GtkIconSource *source,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_pixbuf (GtkIconSource *source,
|
void gtk_icon_source_set_pixbuf (GtkIconSource *source,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_icon_source_get_filename (const GtkIconSource *source);
|
const gchar * gtk_icon_source_get_filename (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_icon_source_get_icon_name (const GtkIconSource *source);
|
const gchar * gtk_icon_source_get_icon_name (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf* gtk_icon_source_get_pixbuf (const GtkIconSource *source);
|
GdkPixbuf* gtk_icon_source_get_pixbuf (const GtkIconSource *source);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_direction_wildcarded (GtkIconSource *source,
|
void gtk_icon_source_set_direction_wildcarded (GtkIconSource *source,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_state_wildcarded (GtkIconSource *source,
|
void gtk_icon_source_set_state_wildcarded (GtkIconSource *source,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_size_wildcarded (GtkIconSource *source,
|
void gtk_icon_source_set_size_wildcarded (GtkIconSource *source,
|
||||||
gboolean setting);
|
gboolean setting);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_source_get_size_wildcarded (const GtkIconSource *source);
|
gboolean gtk_icon_source_get_size_wildcarded (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_source_get_state_wildcarded (const GtkIconSource *source);
|
gboolean gtk_icon_source_get_state_wildcarded (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_source_get_direction_wildcarded (const GtkIconSource *source);
|
gboolean gtk_icon_source_get_direction_wildcarded (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_direction (GtkIconSource *source,
|
void gtk_icon_source_set_direction (GtkIconSource *source,
|
||||||
GtkTextDirection direction);
|
GtkTextDirection direction);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_state (GtkIconSource *source,
|
void gtk_icon_source_set_state (GtkIconSource *source,
|
||||||
GtkStateType state);
|
GtkStateType state);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_source_set_size (GtkIconSource *source,
|
void gtk_icon_source_set_size (GtkIconSource *source,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTextDirection gtk_icon_source_get_direction (const GtkIconSource *source);
|
GtkTextDirection gtk_icon_source_get_direction (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkStateType gtk_icon_source_get_state (const GtkIconSource *source);
|
GtkStateType gtk_icon_source_get_state (const GtkIconSource *source);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconSize gtk_icon_source_get_size (const GtkIconSource *source);
|
GtkIconSize gtk_icon_source_get_size (const GtkIconSource *source);
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,76 +133,104 @@ typedef enum {
|
|||||||
GTK_ICON_THEME_FAILED
|
GTK_ICON_THEME_FAILED
|
||||||
} GtkIconThemeError;
|
} GtkIconThemeError;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GQuark gtk_icon_theme_error_quark (void);
|
GQuark gtk_icon_theme_error_quark (void);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_theme_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_theme_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconTheme *gtk_icon_theme_new (void);
|
GtkIconTheme *gtk_icon_theme_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconTheme *gtk_icon_theme_get_default (void);
|
GtkIconTheme *gtk_icon_theme_get_default (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconTheme *gtk_icon_theme_get_for_screen (GdkScreen *screen);
|
GtkIconTheme *gtk_icon_theme_get_for_screen (GdkScreen *screen);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_set_screen (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_set_screen (GtkIconTheme *icon_theme,
|
||||||
GdkScreen *screen);
|
GdkScreen *screen);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_set_search_path (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_set_search_path (GtkIconTheme *icon_theme,
|
||||||
const gchar *path[],
|
const gchar *path[],
|
||||||
gint n_elements);
|
gint n_elements);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_get_search_path (GtkIconTheme *icon_theme,
|
||||||
gchar **path[],
|
gchar **path[],
|
||||||
gint *n_elements);
|
gint *n_elements);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_append_search_path (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_append_search_path (GtkIconTheme *icon_theme,
|
||||||
const gchar *path);
|
const gchar *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_prepend_search_path (GtkIconTheme *icon_theme,
|
||||||
const gchar *path);
|
const gchar *path);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_set_custom_theme (GtkIconTheme *icon_theme,
|
void gtk_icon_theme_set_custom_theme (GtkIconTheme *icon_theme,
|
||||||
const gchar *theme_name);
|
const gchar *theme_name);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_theme_has_icon (GtkIconTheme *icon_theme,
|
gboolean gtk_icon_theme_has_icon (GtkIconTheme *icon_theme,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint *gtk_icon_theme_get_icon_sizes (GtkIconTheme *icon_theme,
|
gint *gtk_icon_theme_get_icon_sizes (GtkIconTheme *icon_theme,
|
||||||
const gchar *icon_name);
|
const gchar *icon_name);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconInfo * gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme,
|
GtkIconInfo * gtk_icon_theme_lookup_icon (GtkIconTheme *icon_theme,
|
||||||
const gchar *icon_name,
|
const gchar *icon_name,
|
||||||
gint size,
|
gint size,
|
||||||
GtkIconLookupFlags flags);
|
GtkIconLookupFlags flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconInfo * gtk_icon_theme_choose_icon (GtkIconTheme *icon_theme,
|
GtkIconInfo * gtk_icon_theme_choose_icon (GtkIconTheme *icon_theme,
|
||||||
const gchar *icon_names[],
|
const gchar *icon_names[],
|
||||||
gint size,
|
gint size,
|
||||||
GtkIconLookupFlags flags);
|
GtkIconLookupFlags flags);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_icon_theme_load_icon (GtkIconTheme *icon_theme,
|
GdkPixbuf * gtk_icon_theme_load_icon (GtkIconTheme *icon_theme,
|
||||||
const gchar *icon_name,
|
const gchar *icon_name,
|
||||||
gint size,
|
gint size,
|
||||||
GtkIconLookupFlags flags,
|
GtkIconLookupFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconInfo * gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme,
|
GtkIconInfo * gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme,
|
||||||
GIcon *icon,
|
GIcon *icon,
|
||||||
gint size,
|
gint size,
|
||||||
GtkIconLookupFlags flags);
|
GtkIconLookupFlags flags);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gtk_icon_theme_list_icons (GtkIconTheme *icon_theme,
|
GList * gtk_icon_theme_list_icons (GtkIconTheme *icon_theme,
|
||||||
const gchar *context);
|
const gchar *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList * gtk_icon_theme_list_contexts (GtkIconTheme *icon_theme);
|
GList * gtk_icon_theme_list_contexts (GtkIconTheme *icon_theme);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
char * gtk_icon_theme_get_example_icon_name (GtkIconTheme *icon_theme);
|
char * gtk_icon_theme_get_example_icon_name (GtkIconTheme *icon_theme);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_theme_rescan_if_needed (GtkIconTheme *icon_theme);
|
gboolean gtk_icon_theme_rescan_if_needed (GtkIconTheme *icon_theme);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_theme_add_builtin_icon (const gchar *icon_name,
|
void gtk_icon_theme_add_builtin_icon (const gchar *icon_name,
|
||||||
gint size,
|
gint size,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_info_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_info_get_type (void) G_GNUC_CONST;
|
||||||
GDK_DEPRECATED_IN_3_8_FOR(g_object_ref)
|
GDK_DEPRECATED_IN_3_8_FOR(g_object_ref)
|
||||||
GtkIconInfo * gtk_icon_info_copy (GtkIconInfo *icon_info);
|
GtkIconInfo * gtk_icon_info_copy (GtkIconInfo *icon_info);
|
||||||
GDK_DEPRECATED_IN_3_8_FOR(g_object_unref)
|
GDK_DEPRECATED_IN_3_8_FOR(g_object_unref)
|
||||||
void gtk_icon_info_free (GtkIconInfo *icon_info);
|
void gtk_icon_info_free (GtkIconInfo *icon_info);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkIconInfo * gtk_icon_info_new_for_pixbuf (GtkIconTheme *icon_theme,
|
GtkIconInfo * gtk_icon_info_new_for_pixbuf (GtkIconTheme *icon_theme,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_info_get_base_size (GtkIconInfo *icon_info);
|
gint gtk_icon_info_get_base_size (GtkIconInfo *icon_info);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_icon_info_get_filename (GtkIconInfo *icon_info);
|
const gchar * gtk_icon_info_get_filename (GtkIconInfo *icon_info);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info);
|
GdkPixbuf * gtk_icon_info_get_builtin_pixbuf (GtkIconInfo *icon_info);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_icon_info_load_icon (GtkIconInfo *icon_info,
|
GdkPixbuf * gtk_icon_info_load_icon (GtkIconInfo *icon_info,
|
||||||
GError **error);
|
GError **error);
|
||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
@ -214,6 +242,7 @@ GDK_AVAILABLE_IN_3_8
|
|||||||
GdkPixbuf * gtk_icon_info_load_icon_finish (GtkIconInfo *icon_info,
|
GdkPixbuf * gtk_icon_info_load_icon_finish (GtkIconInfo *icon_info,
|
||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_icon_info_load_symbolic (GtkIconInfo *icon_info,
|
GdkPixbuf * gtk_icon_info_load_symbolic (GtkIconInfo *icon_info,
|
||||||
const GdkRGBA *fg,
|
const GdkRGBA *fg,
|
||||||
const GdkRGBA *success_color,
|
const GdkRGBA *success_color,
|
||||||
@ -235,6 +264,7 @@ GdkPixbuf * gtk_icon_info_load_symbolic_finish (GtkIconInfo *icon_in
|
|||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
gboolean *was_symbolic,
|
gboolean *was_symbolic,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf * gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info,
|
GdkPixbuf * gtk_icon_info_load_symbolic_for_context (GtkIconInfo *icon_info,
|
||||||
GtkStyleContext *context,
|
GtkStyleContext *context,
|
||||||
gboolean *was_symbolic,
|
gboolean *was_symbolic,
|
||||||
@ -256,14 +286,18 @@ GdkPixbuf * gtk_icon_info_load_symbolic_for_style (GtkIconInfo *ico
|
|||||||
GtkStateType state,
|
GtkStateType state,
|
||||||
gboolean *was_symbolic,
|
gboolean *was_symbolic,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_info_set_raw_coordinates (GtkIconInfo *icon_info,
|
void gtk_icon_info_set_raw_coordinates (GtkIconInfo *icon_info,
|
||||||
gboolean raw_coordinates);
|
gboolean raw_coordinates);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info,
|
gboolean gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info,
|
||||||
GdkRectangle *rectangle);
|
GdkRectangle *rectangle);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_info_get_attach_points (GtkIconInfo *icon_info,
|
gboolean gtk_icon_info_get_attach_points (GtkIconInfo *icon_info,
|
||||||
GdkPoint **points,
|
GdkPoint **points,
|
||||||
gint *n_points);
|
gint *n_points);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
const gchar * gtk_icon_info_get_display_name (GtkIconInfo *icon_info);
|
const gchar * gtk_icon_info_get_display_name (GtkIconInfo *icon_info);
|
||||||
|
|
||||||
/* Non-public methods */
|
/* Non-public methods */
|
||||||
|
@ -109,57 +109,88 @@ struct _GtkIconViewClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_icon_view_get_type (void) G_GNUC_CONST;
|
GType gtk_icon_view_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_icon_view_new (void);
|
GtkWidget * gtk_icon_view_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_icon_view_new_with_area (GtkCellArea *area);
|
GtkWidget * gtk_icon_view_new_with_area (GtkCellArea *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget * gtk_icon_view_new_with_model (GtkTreeModel *model);
|
GtkWidget * gtk_icon_view_new_with_model (GtkTreeModel *model);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_model (GtkIconView *icon_view,
|
void gtk_icon_view_set_model (GtkIconView *icon_view,
|
||||||
GtkTreeModel *model);
|
GtkTreeModel *model);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreeModel * gtk_icon_view_get_model (GtkIconView *icon_view);
|
GtkTreeModel * gtk_icon_view_get_model (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_text_column (GtkIconView *icon_view,
|
void gtk_icon_view_set_text_column (GtkIconView *icon_view,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_text_column (GtkIconView *icon_view);
|
gint gtk_icon_view_get_text_column (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_markup_column (GtkIconView *icon_view,
|
void gtk_icon_view_set_markup_column (GtkIconView *icon_view,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_markup_column (GtkIconView *icon_view);
|
gint gtk_icon_view_get_markup_column (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_pixbuf_column (GtkIconView *icon_view,
|
void gtk_icon_view_set_pixbuf_column (GtkIconView *icon_view,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_pixbuf_column (GtkIconView *icon_view);
|
gint gtk_icon_view_get_pixbuf_column (GtkIconView *icon_view);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_item_orientation (GtkIconView *icon_view,
|
void gtk_icon_view_set_item_orientation (GtkIconView *icon_view,
|
||||||
GtkOrientation orientation);
|
GtkOrientation orientation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkOrientation gtk_icon_view_get_item_orientation (GtkIconView *icon_view);
|
GtkOrientation gtk_icon_view_get_item_orientation (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_columns (GtkIconView *icon_view,
|
void gtk_icon_view_set_columns (GtkIconView *icon_view,
|
||||||
gint columns);
|
gint columns);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_columns (GtkIconView *icon_view);
|
gint gtk_icon_view_get_columns (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_item_width (GtkIconView *icon_view,
|
void gtk_icon_view_set_item_width (GtkIconView *icon_view,
|
||||||
gint item_width);
|
gint item_width);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_item_width (GtkIconView *icon_view);
|
gint gtk_icon_view_get_item_width (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_spacing (GtkIconView *icon_view,
|
void gtk_icon_view_set_spacing (GtkIconView *icon_view,
|
||||||
gint spacing);
|
gint spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_spacing (GtkIconView *icon_view);
|
gint gtk_icon_view_get_spacing (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_row_spacing (GtkIconView *icon_view,
|
void gtk_icon_view_set_row_spacing (GtkIconView *icon_view,
|
||||||
gint row_spacing);
|
gint row_spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_row_spacing (GtkIconView *icon_view);
|
gint gtk_icon_view_get_row_spacing (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_column_spacing (GtkIconView *icon_view,
|
void gtk_icon_view_set_column_spacing (GtkIconView *icon_view,
|
||||||
gint column_spacing);
|
gint column_spacing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_column_spacing (GtkIconView *icon_view);
|
gint gtk_icon_view_get_column_spacing (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_margin (GtkIconView *icon_view,
|
void gtk_icon_view_set_margin (GtkIconView *icon_view,
|
||||||
gint margin);
|
gint margin);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_margin (GtkIconView *icon_view);
|
gint gtk_icon_view_get_margin (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_item_padding (GtkIconView *icon_view,
|
void gtk_icon_view_set_item_padding (GtkIconView *icon_view,
|
||||||
gint item_padding);
|
gint item_padding);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_item_padding (GtkIconView *icon_view);
|
gint gtk_icon_view_get_item_padding (GtkIconView *icon_view);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkTreePath * gtk_icon_view_get_path_at_pos (GtkIconView *icon_view,
|
GtkTreePath * gtk_icon_view_get_path_at_pos (GtkIconView *icon_view,
|
||||||
gint x,
|
gint x,
|
||||||
gint y);
|
gint y);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_item_at_pos (GtkIconView *icon_view,
|
gboolean gtk_icon_view_get_item_at_pos (GtkIconView *icon_view,
|
||||||
gint x,
|
gint x,
|
||||||
gint y,
|
gint y,
|
||||||
GtkTreePath **path,
|
GtkTreePath **path,
|
||||||
GtkCellRenderer **cell);
|
GtkCellRenderer **cell);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_visible_range (GtkIconView *icon_view,
|
gboolean gtk_icon_view_get_visible_range (GtkIconView *icon_view,
|
||||||
GtkTreePath **start_path,
|
GtkTreePath **start_path,
|
||||||
GtkTreePath **end_path);
|
GtkTreePath **end_path);
|
||||||
@ -169,34 +200,49 @@ void gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_vi
|
|||||||
GDK_AVAILABLE_IN_3_8
|
GDK_AVAILABLE_IN_3_8
|
||||||
gboolean gtk_icon_view_get_activate_on_single_click (GtkIconView *icon_view);
|
gboolean gtk_icon_view_get_activate_on_single_click (GtkIconView *icon_view);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_selected_foreach (GtkIconView *icon_view,
|
void gtk_icon_view_selected_foreach (GtkIconView *icon_view,
|
||||||
GtkIconViewForeachFunc func,
|
GtkIconViewForeachFunc func,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_selection_mode (GtkIconView *icon_view,
|
void gtk_icon_view_set_selection_mode (GtkIconView *icon_view,
|
||||||
GtkSelectionMode mode);
|
GtkSelectionMode mode);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkSelectionMode gtk_icon_view_get_selection_mode (GtkIconView *icon_view);
|
GtkSelectionMode gtk_icon_view_get_selection_mode (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_select_path (GtkIconView *icon_view,
|
void gtk_icon_view_select_path (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_unselect_path (GtkIconView *icon_view,
|
void gtk_icon_view_unselect_path (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_path_is_selected (GtkIconView *icon_view,
|
gboolean gtk_icon_view_path_is_selected (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_item_row (GtkIconView *icon_view,
|
gint gtk_icon_view_get_item_row (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_item_column (GtkIconView *icon_view,
|
gint gtk_icon_view_get_item_column (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GList *gtk_icon_view_get_selected_items (GtkIconView *icon_view);
|
GList *gtk_icon_view_get_selected_items (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_select_all (GtkIconView *icon_view);
|
void gtk_icon_view_select_all (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_unselect_all (GtkIconView *icon_view);
|
void gtk_icon_view_unselect_all (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_item_activated (GtkIconView *icon_view,
|
void gtk_icon_view_item_activated (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_cursor (GtkIconView *icon_view,
|
void gtk_icon_view_set_cursor (GtkIconView *icon_view,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
gboolean start_editing);
|
gboolean start_editing);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_cursor (GtkIconView *icon_view,
|
gboolean gtk_icon_view_get_cursor (GtkIconView *icon_view,
|
||||||
GtkTreePath **path,
|
GtkTreePath **path,
|
||||||
GtkCellRenderer **cell);
|
GtkCellRenderer **cell);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_scroll_to_path (GtkIconView *icon_view,
|
void gtk_icon_view_scroll_to_path (GtkIconView *icon_view,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
gboolean use_align,
|
gboolean use_align,
|
||||||
@ -204,37 +250,48 @@ void gtk_icon_view_scroll_to_path (GtkIconView *icon_
|
|||||||
gfloat col_align);
|
gfloat col_align);
|
||||||
|
|
||||||
/* Drag-and-Drop support */
|
/* Drag-and-Drop support */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_enable_model_drag_source (GtkIconView *icon_view,
|
void gtk_icon_view_enable_model_drag_source (GtkIconView *icon_view,
|
||||||
GdkModifierType start_button_mask,
|
GdkModifierType start_button_mask,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
gint n_targets,
|
gint n_targets,
|
||||||
GdkDragAction actions);
|
GdkDragAction actions);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_enable_model_drag_dest (GtkIconView *icon_view,
|
void gtk_icon_view_enable_model_drag_dest (GtkIconView *icon_view,
|
||||||
const GtkTargetEntry *targets,
|
const GtkTargetEntry *targets,
|
||||||
gint n_targets,
|
gint n_targets,
|
||||||
GdkDragAction actions);
|
GdkDragAction actions);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_unset_model_drag_source (GtkIconView *icon_view);
|
void gtk_icon_view_unset_model_drag_source (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_unset_model_drag_dest (GtkIconView *icon_view);
|
void gtk_icon_view_unset_model_drag_dest (GtkIconView *icon_view);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_reorderable (GtkIconView *icon_view,
|
void gtk_icon_view_set_reorderable (GtkIconView *icon_view,
|
||||||
gboolean reorderable);
|
gboolean reorderable);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_reorderable (GtkIconView *icon_view);
|
gboolean gtk_icon_view_get_reorderable (GtkIconView *icon_view);
|
||||||
|
|
||||||
|
|
||||||
/* These are useful to implement your own custom stuff. */
|
/* These are useful to implement your own custom stuff. */
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view,
|
void gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
GtkIconViewDropPosition pos);
|
GtkIconViewDropPosition pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_get_drag_dest_item (GtkIconView *icon_view,
|
void gtk_icon_view_get_drag_dest_item (GtkIconView *icon_view,
|
||||||
GtkTreePath **path,
|
GtkTreePath **path,
|
||||||
GtkIconViewDropPosition *pos);
|
GtkIconViewDropPosition *pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_dest_item_at_pos (GtkIconView *icon_view,
|
gboolean gtk_icon_view_get_dest_item_at_pos (GtkIconView *icon_view,
|
||||||
gint drag_x,
|
gint drag_x,
|
||||||
gint drag_y,
|
gint drag_y,
|
||||||
GtkTreePath **path,
|
GtkTreePath **path,
|
||||||
GtkIconViewDropPosition *pos);
|
GtkIconViewDropPosition *pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
cairo_surface_t *gtk_icon_view_create_drag_icon (GtkIconView *icon_view,
|
cairo_surface_t *gtk_icon_view_create_drag_icon (GtkIconView *icon_view,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_convert_widget_to_bin_window_coords (GtkIconView *icon_view,
|
void gtk_icon_view_convert_widget_to_bin_window_coords (GtkIconView *icon_view,
|
||||||
gint wx,
|
gint wx,
|
||||||
gint wy,
|
gint wy,
|
||||||
@ -247,13 +304,16 @@ gboolean gtk_icon_view_get_cell_rect (GtkIconView *
|
|||||||
GdkRectangle *rect);
|
GdkRectangle *rect);
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_tooltip_item (GtkIconView *icon_view,
|
void gtk_icon_view_set_tooltip_item (GtkIconView *icon_view,
|
||||||
GtkTooltip *tooltip,
|
GtkTooltip *tooltip,
|
||||||
GtkTreePath *path);
|
GtkTreePath *path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view,
|
void gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view,
|
||||||
GtkTooltip *tooltip,
|
GtkTooltip *tooltip,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
GtkCellRenderer *cell);
|
GtkCellRenderer *cell);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_icon_view_get_tooltip_context (GtkIconView *icon_view,
|
gboolean gtk_icon_view_get_tooltip_context (GtkIconView *icon_view,
|
||||||
gint *x,
|
gint *x,
|
||||||
gint *y,
|
gint *y,
|
||||||
@ -261,8 +321,10 @@ gboolean gtk_icon_view_get_tooltip_context (GtkIconView
|
|||||||
GtkTreeModel **model,
|
GtkTreeModel **model,
|
||||||
GtkTreePath **path,
|
GtkTreePath **path,
|
||||||
GtkTreeIter *iter);
|
GtkTreeIter *iter);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_icon_view_set_tooltip_column (GtkIconView *icon_view,
|
void gtk_icon_view_set_tooltip_column (GtkIconView *icon_view,
|
||||||
gint column);
|
gint column);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_icon_view_get_tooltip_column (GtkIconView *icon_view);
|
gint gtk_icon_view_get_tooltip_column (GtkIconView *icon_view);
|
||||||
|
|
||||||
|
|
||||||
|
@ -105,62 +105,90 @@ struct _GtkImageClass
|
|||||||
void (*_gtk_reserved4) (void);
|
void (*_gtk_reserved4) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_image_get_type (void) G_GNUC_CONST;
|
GType gtk_image_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new (void);
|
GtkWidget* gtk_image_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_file (const gchar *filename);
|
GtkWidget* gtk_image_new_from_file (const gchar *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_resource (const gchar *resource_path);
|
GtkWidget* gtk_image_new_from_resource (const gchar *resource_path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf);
|
GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
|
GtkWidget* gtk_image_new_from_stock (const gchar *stock_id,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_icon_set (GtkIconSet *icon_set,
|
GtkWidget* gtk_image_new_from_icon_set (GtkIconSet *icon_set,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation);
|
GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_icon_name (const gchar *icon_name,
|
GtkWidget* gtk_image_new_from_icon_name (const gchar *icon_name,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_new_from_gicon (GIcon *icon,
|
GtkWidget* gtk_image_new_from_gicon (GIcon *icon,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_clear (GtkImage *image);
|
void gtk_image_clear (GtkImage *image);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_file (GtkImage *image,
|
void gtk_image_set_from_file (GtkImage *image,
|
||||||
const gchar *filename);
|
const gchar *filename);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_resource (GtkImage *image,
|
void gtk_image_set_from_resource (GtkImage *image,
|
||||||
const gchar *resource_path);
|
const gchar *resource_path);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_pixbuf (GtkImage *image,
|
void gtk_image_set_from_pixbuf (GtkImage *image,
|
||||||
GdkPixbuf *pixbuf);
|
GdkPixbuf *pixbuf);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_stock (GtkImage *image,
|
void gtk_image_set_from_stock (GtkImage *image,
|
||||||
const gchar *stock_id,
|
const gchar *stock_id,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_icon_set (GtkImage *image,
|
void gtk_image_set_from_icon_set (GtkImage *image,
|
||||||
GtkIconSet *icon_set,
|
GtkIconSet *icon_set,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_animation (GtkImage *image,
|
void gtk_image_set_from_animation (GtkImage *image,
|
||||||
GdkPixbufAnimation *animation);
|
GdkPixbufAnimation *animation);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_icon_name (GtkImage *image,
|
void gtk_image_set_from_icon_name (GtkImage *image,
|
||||||
const gchar *icon_name,
|
const gchar *icon_name,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_from_gicon (GtkImage *image,
|
void gtk_image_set_from_gicon (GtkImage *image,
|
||||||
GIcon *icon,
|
GIcon *icon,
|
||||||
GtkIconSize size);
|
GtkIconSize size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_set_pixel_size (GtkImage *image,
|
void gtk_image_set_pixel_size (GtkImage *image,
|
||||||
gint pixel_size);
|
gint pixel_size);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkImageType gtk_image_get_storage_type (GtkImage *image);
|
GtkImageType gtk_image_get_storage_type (GtkImage *image);
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image);
|
GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_get_stock (GtkImage *image,
|
void gtk_image_get_stock (GtkImage *image,
|
||||||
gchar **stock_id,
|
gchar **stock_id,
|
||||||
GtkIconSize *size);
|
GtkIconSize *size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_get_icon_set (GtkImage *image,
|
void gtk_image_get_icon_set (GtkImage *image,
|
||||||
GtkIconSet **icon_set,
|
GtkIconSet **icon_set,
|
||||||
GtkIconSize *size);
|
GtkIconSize *size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image);
|
GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_get_icon_name (GtkImage *image,
|
void gtk_image_get_icon_name (GtkImage *image,
|
||||||
const gchar **icon_name,
|
const gchar **icon_name,
|
||||||
GtkIconSize *size);
|
GtkIconSize *size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_get_gicon (GtkImage *image,
|
void gtk_image_get_gicon (GtkImage *image,
|
||||||
GIcon **gicon,
|
GIcon **gicon,
|
||||||
GtkIconSize *size);
|
GtkIconSize *size);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gint gtk_image_get_pixel_size (GtkImage *image);
|
gint gtk_image_get_pixel_size (GtkImage *image);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -67,21 +67,33 @@ struct _GtkImageMenuItemClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_image_menu_item_get_type (void) G_GNUC_CONST;
|
GType gtk_image_menu_item_get_type (void) G_GNUC_CONST;
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_menu_item_new (void);
|
GtkWidget* gtk_image_menu_item_new (void);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label);
|
GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label);
|
GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id,
|
GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id,
|
||||||
GtkAccelGroup *accel_group);
|
GtkAccelGroup *accel_group);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_menu_item_set_always_show_image (GtkImageMenuItem *image_menu_item,
|
void gtk_image_menu_item_set_always_show_image (GtkImageMenuItem *image_menu_item,
|
||||||
gboolean always_show);
|
gboolean always_show);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_image_menu_item_get_always_show_image (GtkImageMenuItem *image_menu_item);
|
gboolean gtk_image_menu_item_get_always_show_image (GtkImageMenuItem *image_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
|
void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
|
||||||
GtkWidget *image);
|
GtkWidget *image);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item);
|
GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_menu_item_set_use_stock (GtkImageMenuItem *image_menu_item,
|
void gtk_image_menu_item_set_use_stock (GtkImageMenuItem *image_menu_item,
|
||||||
gboolean use_stock);
|
gboolean use_stock);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_image_menu_item_get_use_stock (GtkImageMenuItem *image_menu_item);
|
gboolean gtk_image_menu_item_get_use_stock (GtkImageMenuItem *image_menu_item);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_image_menu_item_set_accel_group (GtkImageMenuItem *image_menu_item,
|
void gtk_image_menu_item_set_accel_group (GtkImageMenuItem *image_menu_item,
|
||||||
GtkAccelGroup *accel_group);
|
GtkAccelGroup *accel_group);
|
||||||
|
|
||||||
|
@ -93,30 +93,42 @@ struct _GtkIMContextClass
|
|||||||
void (*_gtk_reserved6) (void);
|
void (*_gtk_reserved6) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
GType gtk_im_context_get_type (void) G_GNUC_CONST;
|
GType gtk_im_context_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_set_client_window (GtkIMContext *context,
|
void gtk_im_context_set_client_window (GtkIMContext *context,
|
||||||
GdkWindow *window);
|
GdkWindow *window);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_get_preedit_string (GtkIMContext *context,
|
void gtk_im_context_get_preedit_string (GtkIMContext *context,
|
||||||
gchar **str,
|
gchar **str,
|
||||||
PangoAttrList **attrs,
|
PangoAttrList **attrs,
|
||||||
gint *cursor_pos);
|
gint *cursor_pos);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_im_context_filter_keypress (GtkIMContext *context,
|
gboolean gtk_im_context_filter_keypress (GtkIMContext *context,
|
||||||
GdkEventKey *event);
|
GdkEventKey *event);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_focus_in (GtkIMContext *context);
|
void gtk_im_context_focus_in (GtkIMContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_focus_out (GtkIMContext *context);
|
void gtk_im_context_focus_out (GtkIMContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_reset (GtkIMContext *context);
|
void gtk_im_context_reset (GtkIMContext *context);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_set_cursor_location (GtkIMContext *context,
|
void gtk_im_context_set_cursor_location (GtkIMContext *context,
|
||||||
const GdkRectangle *area);
|
const GdkRectangle *area);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_set_use_preedit (GtkIMContext *context,
|
void gtk_im_context_set_use_preedit (GtkIMContext *context,
|
||||||
gboolean use_preedit);
|
gboolean use_preedit);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_im_context_set_surrounding (GtkIMContext *context,
|
void gtk_im_context_set_surrounding (GtkIMContext *context,
|
||||||
const gchar *text,
|
const gchar *text,
|
||||||
gint len,
|
gint len,
|
||||||
gint cursor_index);
|
gint cursor_index);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_im_context_get_surrounding (GtkIMContext *context,
|
gboolean gtk_im_context_get_surrounding (GtkIMContext *context,
|
||||||
gchar **text,
|
gchar **text,
|
||||||
gint *cursor_index);
|
gint *cursor_index);
|
||||||
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_im_context_delete_surrounding (GtkIMContext *context,
|
gboolean gtk_im_context_delete_surrounding (GtkIMContext *context,
|
||||||
gint offset,
|
gint offset,
|
||||||
gint n_chars);
|
gint n_chars);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user