< prev index next >

src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h

Print this page




 754 gint gtk2_get_xthickness(JNIEnv *env, WidgetType widget_type);
 755 gint gtk2_get_ythickness(JNIEnv *env, WidgetType widget_type);
 756 gint gtk2_get_color_for_state(JNIEnv *env, WidgetType widget_type,
 757                               GtkStateType state_type, ColorType color_type);
 758 jobject gtk2_get_class_value(JNIEnv *env, WidgetType widget_type, jstring key);
 759 
 760 GdkPixbuf *gtk2_get_stock_icon(gint widget_type, const gchar *stock_id,
 761         GtkIconSize size, GtkTextDirection direction, const char *detail);
 762 GdkPixbuf *gtk2_get_icon(const gchar *filename, gint size);
 763 jstring gtk2_get_pango_font_name(JNIEnv *env, WidgetType widget_type);
 764 
 765 void flush_gtk_event_loop();
 766 
 767 jobject gtk2_get_setting(JNIEnv *env, Setting property);
 768 
 769 void gtk2_set_range_value(WidgetType widget_type, jdouble value,
 770                           jdouble min, jdouble max, jdouble visible);
 771 
 772 void (*fp_g_free)(gpointer mem);
 773 void (*fp_g_object_unref)(gpointer object);


 774 int (*fp_gdk_pixbuf_get_bits_per_sample)(const GdkPixbuf *pixbuf);
 775 guchar *(*fp_gdk_pixbuf_get_pixels)(const GdkPixbuf *pixbuf);
 776 gboolean (*fp_gdk_pixbuf_get_has_alpha)(const GdkPixbuf *pixbuf);
 777 int (*fp_gdk_pixbuf_get_height)(const GdkPixbuf *pixbuf);
 778 int (*fp_gdk_pixbuf_get_n_channels)(const GdkPixbuf *pixbuf);
 779 int (*fp_gdk_pixbuf_get_rowstride)(const GdkPixbuf *pixbuf);
 780 int (*fp_gdk_pixbuf_get_width)(const GdkPixbuf *pixbuf);
 781 GdkPixbuf *(*fp_gdk_pixbuf_new_from_file)(const char *filename, GError **error);







 782 void (*fp_gtk_widget_destroy)(GtkWidget *widget);
 783 void (*fp_gtk_window_present)(GtkWindow *window);
 784 void (*fp_gtk_window_move)(GtkWindow *window, gint x, gint y);
 785 void (*fp_gtk_window_resize)(GtkWindow *window, gint width, gint height);
 786 
 787 /**
 788  * Function Pointers for GtkFileChooser
 789  */
 790 gchar* (*fp_gtk_file_chooser_get_filename)(GtkFileChooser *chooser);
 791 void (*fp_gtk_widget_hide)(GtkWidget *widget);
 792 void (*fp_gtk_main_quit)(void);
 793 GtkWidget* (*fp_gtk_file_chooser_dialog_new)(const gchar *title,
 794     GtkWindow *parent, GtkFileChooserAction action,
 795     const gchar *first_button_text, ...);
 796 gboolean (*fp_gtk_file_chooser_set_current_folder)(GtkFileChooser *chooser,
 797     const gchar *filename);
 798 gboolean (*fp_gtk_file_chooser_set_filename)(GtkFileChooser *chooser,
 799     const char *filename);
 800 void (*fp_gtk_file_chooser_set_current_name)(GtkFileChooser *chooser,
 801     const gchar *name);




 754 gint gtk2_get_xthickness(JNIEnv *env, WidgetType widget_type);
 755 gint gtk2_get_ythickness(JNIEnv *env, WidgetType widget_type);
 756 gint gtk2_get_color_for_state(JNIEnv *env, WidgetType widget_type,
 757                               GtkStateType state_type, ColorType color_type);
 758 jobject gtk2_get_class_value(JNIEnv *env, WidgetType widget_type, jstring key);
 759 
 760 GdkPixbuf *gtk2_get_stock_icon(gint widget_type, const gchar *stock_id,
 761         GtkIconSize size, GtkTextDirection direction, const char *detail);
 762 GdkPixbuf *gtk2_get_icon(const gchar *filename, gint size);
 763 jstring gtk2_get_pango_font_name(JNIEnv *env, WidgetType widget_type);
 764 
 765 void flush_gtk_event_loop();
 766 
 767 jobject gtk2_get_setting(JNIEnv *env, Setting property);
 768 
 769 void gtk2_set_range_value(WidgetType widget_type, jdouble value,
 770                           jdouble min, jdouble max, jdouble visible);
 771 
 772 void (*fp_g_free)(gpointer mem);
 773 void (*fp_g_object_unref)(gpointer object);
 774 GdkWindow *(*fp_gdk_get_default_root_window) (void);
 775 
 776 int (*fp_gdk_pixbuf_get_bits_per_sample)(const GdkPixbuf *pixbuf);
 777 guchar *(*fp_gdk_pixbuf_get_pixels)(const GdkPixbuf *pixbuf);
 778 gboolean (*fp_gdk_pixbuf_get_has_alpha)(const GdkPixbuf *pixbuf);
 779 int (*fp_gdk_pixbuf_get_height)(const GdkPixbuf *pixbuf);
 780 int (*fp_gdk_pixbuf_get_n_channels)(const GdkPixbuf *pixbuf);
 781 int (*fp_gdk_pixbuf_get_rowstride)(const GdkPixbuf *pixbuf);
 782 int (*fp_gdk_pixbuf_get_width)(const GdkPixbuf *pixbuf);
 783 GdkPixbuf *(*fp_gdk_pixbuf_new_from_file)(const char *filename, GError **error);
 784 GdkColorspace (*fp_gdk_pixbuf_get_colorspace)(const GdkPixbuf *pixbuf);
 785 
 786 GdkPixbuf *(*fp_gdk_pixbuf_get_from_drawable)(GdkPixbuf *dest,
 787         GdkDrawable *src, GdkColormap *cmap, int src_x, int src_y,
 788         int dest_x, int dest_y, int width, int height);
 789 
 790 
 791 void (*fp_gtk_widget_destroy)(GtkWidget *widget);
 792 void (*fp_gtk_window_present)(GtkWindow *window);
 793 void (*fp_gtk_window_move)(GtkWindow *window, gint x, gint y);
 794 void (*fp_gtk_window_resize)(GtkWindow *window, gint width, gint height);
 795 
 796 /**
 797  * Function Pointers for GtkFileChooser
 798  */
 799 gchar* (*fp_gtk_file_chooser_get_filename)(GtkFileChooser *chooser);
 800 void (*fp_gtk_widget_hide)(GtkWidget *widget);
 801 void (*fp_gtk_main_quit)(void);
 802 GtkWidget* (*fp_gtk_file_chooser_dialog_new)(const gchar *title,
 803     GtkWindow *parent, GtkFileChooserAction action,
 804     const gchar *first_button_text, ...);
 805 gboolean (*fp_gtk_file_chooser_set_current_folder)(GtkFileChooser *chooser,
 806     const gchar *filename);
 807 gboolean (*fp_gtk_file_chooser_set_filename)(GtkFileChooser *chooser,
 808     const char *filename);
 809 void (*fp_gtk_file_chooser_set_current_name)(GtkFileChooser *chooser,
 810     const gchar *name);


< prev index next >