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