summaryrefslogtreecommitdiff
path: root/vapi/libgnomeui-2.0.vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-11-22 20:25:15 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-11-22 20:25:15 +0000
commit0344d186b185562be66bd4ea0854b0ca0edf0dff (patch)
tree280bdc43088a4b1e93dba291c935d154e71a863e /vapi/libgnomeui-2.0.vapi
parentd27b516a71f807cda6a1f1dcd455684d884b2886 (diff)
downloadvala-0344d186b185562be66bd4ea0854b0ca0edf0dff.tar.gz
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch> * vapi/packages/libgnome-2.0/, vapi/packages/libgnomeui-2.0/: update to use vala-gen-introspect * vapi/libgnome-2.0.vapi, vapi/libgnomeui-2.0.vapi: regenerated svn path=/trunk/; revision=708
Diffstat (limited to 'vapi/libgnomeui-2.0.vapi')
-rw-r--r--vapi/libgnomeui-2.0.vapi854
1 files changed, 608 insertions, 246 deletions
diff --git a/vapi/libgnomeui-2.0.vapi b/vapi/libgnomeui-2.0.vapi
index 65f4b4c07..a898679d7 100644
--- a/vapi/libgnomeui-2.0.vapi
+++ b/vapi/libgnomeui-2.0.vapi
@@ -3,12 +3,6 @@
[CCode (cprefix = "Gnome", lower_case_cprefix = "gnome_")]
namespace Gnome {
[CCode (cprefix = "GNOME_CLIENT_", cheader_filename = "libgnomeui/libgnomeui.h")]
- public enum ClientFlags {
- IS_CONNECTED,
- RESTARTED,
- RESTORED,
- }
- [CCode (cprefix = "GNOME_CLIENT_", cheader_filename = "libgnomeui/libgnomeui.h")]
public enum ClientState {
IDLE,
SAVING_PHASE_1,
@@ -18,12 +12,6 @@ namespace Gnome {
DISCONNECTED,
REGISTERING,
}
- [CCode (cprefix = "GNOME_DATE_EDIT_", cheader_filename = "libgnomeui/libgnomeui.h")]
- public enum DateEditFlags {
- SHOW_TIME,
- 24_HR,
- WEEK_STARTS_ON_MONDAY,
- }
[CCode (cprefix = "GNOME_DIALOG_", cheader_filename = "libgnomeui/libgnomeui.h")]
public enum DialogType {
ERROR,
@@ -49,18 +37,6 @@ namespace Gnome {
TEXT_BELOW,
TEXT_RIGHT,
}
- [CCode (cprefix = "GNOME_ICON_LOOKUP_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
- public enum IconLookupFlags {
- NONE,
- EMBEDDING_TEXT,
- SHOW_SMALL_IMAGES_AS_THEMSELVES,
- ALLOW_SVG_AS_THEMSELVES,
- }
- [CCode (cprefix = "GNOME_ICON_LOOKUP_RESULT_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
- public enum IconLookupResultFlags {
- NONE,
- THUMBNAIL,
- }
[CCode (cprefix = "GNOME_INTERACT_", cheader_filename = "libgnomeui/libgnomeui.h")]
public enum InteractStyle {
NONE,
@@ -166,27 +142,149 @@ namespace Gnome {
DATA,
FILENAME,
}
+ [CCode (cprefix = "GNOME_CLIENT_", cheader_filename = "libgnomeui/libgnomeui.h")]
+ [Flags]
+ public enum ClientFlags {
+ IS_CONNECTED,
+ RESTARTED,
+ RESTORED,
+ }
+ [CCode (cprefix = "GNOME_DATE_EDIT_", cheader_filename = "libgnomeui/libgnomeui.h")]
+ [Flags]
+ public enum DateEditFlags {
+ SHOW_TIME,
+ 24_HR,
+ WEEK_STARTS_ON_MONDAY,
+ }
+ [CCode (cprefix = "GNOME_ICON_LOOKUP_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
+ [Flags]
+ public enum IconLookupFlags {
+ NONE,
+ EMBEDDING_TEXT,
+ SHOW_SMALL_IMAGES_AS_THEMSELVES,
+ ALLOW_SVG_AS_THEMSELVES,
+ }
+ [CCode (cprefix = "GNOME_ICON_LOOKUP_RESULT_FLAGS_", cheader_filename = "libgnomeui/libgnomeui.h")]
+ [Flags]
+ public enum IconLookupResultFlags {
+ NONE,
+ THUMBNAIL,
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class AppBarMsg {
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class AppProgressKey {
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class GdkPixbufAsyncHandle {
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class IconData {
+ public bool has_embedded_rect;
+ public int x0;
+ public int y0;
+ public int x1;
+ public int y1;
+ public weak Gnome.IconDataPoint attach_points;
+ public int n_attach_points;
+ public weak string display_name;
+ public weak Gnome.IconData dup ();
+ }
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class About : Gtk.Dialog {
+ public class IconDataPoint {
+ public int x;
+ public int y;
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class IconTheme : GLib.Object {
+ public void append_search_path (string path);
+ public bool get_allow_svg ();
+ public weak string get_example_icon_name ();
+ public void get_search_path (string path, int n_elements);
+ public bool has_icon (string icon_name);
+ public weak GLib.List list_icons (string context);
+ public weak string lookup_icon (string icon_name, int size, out Gnome.IconData icon_data, int base_size);
+ public IconTheme ();
+ public void prepend_search_path (string path);
+ public bool rescan_if_needed ();
+ public void set_allow_svg (bool allow_svg);
+ public void set_custom_theme (string theme_name);
+ [NoArrayLength]
+ public void set_search_path (string[] path, int n_elements);
+ public signal void changed ();
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class MessageBoxButton {
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class PasswordDialogDetails {
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class ThemeFile {
+ public void foreach_key (string section, bool include_localized, Gnome.ThemeFileLineFunc func, pointer user_data);
+ public void foreach_section (Gnome.ThemeFileSectionFunc func, pointer user_data);
+ public bool get_integer (string section, string keyname, int val);
+ public bool get_locale_string (string section, string keyname, out string val);
+ public bool get_raw (string section, string keyname, string locale, out string val);
+ public bool get_string (string section, string keyname, out string val);
+ public ThemeFile.from_string (string data) throws GLib.Error;
+ public static GLib.Quark parse_error_quark ();
+ public weak string to_string ();
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class UIBuilderData {
+ public Gnome.UISignalConnectFunc connect_func;
+ public pointer data;
+ public bool is_interp;
+ public Gtk.CallbackMarshal relay_func;
+ public Gtk.DestroyNotify destroy_func;
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class UIInfo {
+ public Gnome.UIInfoType type;
+ public weak string label;
+ public weak string hint;
+ public pointer moreinfo;
+ public pointer user_data;
+ public pointer unused_data;
+ public Gnome.UIPixmapType pixmap_type;
+ public pointer pixmap_info;
+ public uint accelerator_key;
+ public Gdk.ModifierType ac_mods;
+ public weak Gtk.Widget widget;
+ }
+ [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
+ public class About : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
+ public void @construct (string name, string version, string copyright, string comments, string authors, string documenters, string translator_credits, Gdk.Pixbuf logo_pixbuf);
+ public About (string name, string version, string copyright, string comments, string authors, string documenters, string translator_credits, Gdk.Pixbuf logo_pixbuf);
[NoAccessorMethod]
- public weak string name { get; set; }
+ public weak GLib.ValueArray authors { set; }
[NoAccessorMethod]
- public weak string version { get; set; }
+ public weak string comments { get; set; }
[NoAccessorMethod]
public weak string copyright { get; set; }
[NoAccessorMethod]
- public weak string comments { get; set; }
+ public weak GLib.ValueArray documenters { set; }
[NoAccessorMethod]
- public weak GLib.ValueArray authors { set; }
+ public weak Gdk.Pixbuf logo { set; }
[NoAccessorMethod]
- public weak GLib.ValueArray documenters { set; }
+ public weak string name { get; set; }
[NoAccessorMethod]
public weak string translator_credits { get; set; }
[NoAccessorMethod]
- public weak Gdk.Pixbuf logo { set; }
+ public weak string version { get; set; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class App : Gtk.Window {
+ public class App : Gtk.Window, Atk.Implementor, Gtk.Buildable {
+ public weak string name;
+ public weak string prefix;
+ public weak Gtk.Widget dock;
+ public weak Gtk.Widget statusbar;
+ public weak Gtk.Widget vbox;
+ public weak Gtk.Widget menubar;
+ public weak Gtk.Widget contents;
+ public weak Gtk.AccelGroup accel_group;
public void @construct (string appname, string title);
public void create_menus (Gnome.UIInfo uiinfo);
public void create_menus_custom (Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata);
@@ -197,6 +295,7 @@ namespace Gnome {
public void create_toolbar_interp (Gnome.UIInfo uiinfo, Gtk.CallbackMarshal relay_func, pointer data, Gtk.DestroyNotify destroy_func);
public void create_toolbar_with_data (Gnome.UIInfo uiinfo, pointer user_data);
public void enable_layout_config (bool enable);
+ public weak Gtk.Widget error (string error);
public static void fill_menu (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group, bool uline_accels, int pos);
public static void fill_menu_custom (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata, Gtk.AccelGroup accel_group, bool uline_accels, int pos);
public static void fill_menu_with_data (Gtk.MenuShell menu_shell, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group, bool uline_accels, int pos, pointer user_data);
@@ -204,7 +303,7 @@ namespace Gnome {
public static void fill_toolbar_custom (Gtk.Toolbar toolbar, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata, Gtk.AccelGroup accel_group);
public static void fill_toolbar_with_data (Gtk.Toolbar toolbar, Gnome.UIInfo uiinfo, Gtk.AccelGroup accel_group, pointer user_data);
public static weak Gtk.Widget find_menu_pos (Gtk.Widget parent, string path, int pos);
- public static GLib.Type get_type ();
+ public void flash (string flash);
public static weak string helper_gettext (string string);
public void insert_menus (string path, Gnome.UIInfo menuinfo);
public void insert_menus_custom (string path, Gnome.UIInfo uiinfo, Gnome.UIBuilderData uibdata);
@@ -213,20 +312,32 @@ namespace Gnome {
public static void install_appbar_menu_hints (Gnome.AppBar appbar, Gnome.UIInfo uiinfo);
public void install_menu_hints (Gnome.UIInfo uiinfo);
public static void install_statusbar_menu_hints (Gtk.Statusbar bar, Gnome.UIInfo uiinfo);
+ public weak Gtk.Widget message (string message);
public App (string appname, string title);
+ public weak Gtk.Widget ok_cancel (string message, Gnome.ReplyCallback callback, pointer data);
+ public weak Gtk.Widget ok_cancel_modal (string message, Gnome.ReplyCallback callback, pointer data);
+ public static void progress_done (Gnome.AppProgressKey key);
+ public weak Gnome.AppProgressKey progress_manual (string description, Gnome.AppProgressCancelFunc cancel_cb, pointer data);
+ public weak Gnome.AppProgressKey progress_timeout (string description, uint interval, Gnome.AppProgressFunc percentage_cb, Gnome.AppProgressCancelFunc cancel_cb, pointer data);
+ public weak Gtk.Widget question (string question, Gnome.ReplyCallback callback, pointer data);
+ public weak Gtk.Widget question_modal (string question, Gnome.ReplyCallback callback, pointer data);
public void remove_menu_range (string path, int start, int items);
public void remove_menus (string path, int items);
+ public weak Gtk.Widget request_password (string prompt, Gnome.StringCallback callback, pointer data);
+ public weak Gtk.Widget request_string (string prompt, Gnome.StringCallback callback, pointer data);
public void set_contents (Gtk.Widget contents);
public void set_menus (Gtk.MenuBar menubar);
+ public static void set_progress (Gnome.AppProgressKey key, double percent);
public void set_statusbar (Gtk.Widget statusbar);
public void set_statusbar_custom (Gtk.Widget container, Gtk.Widget statusbar);
public void set_toolbar (Gtk.Toolbar toolbar);
public static void ui_configure_configurable (Gnome.UIInfo uiinfo);
+ public weak Gtk.Widget warning (string warning);
[NoAccessorMethod]
public weak string app_id { get; set construct; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class AppBar : Gtk.HBox {
+ public class AppBar : Gtk.HBox, Atk.Implementor, Gtk.Buildable {
[CCode (cname = "gnome_appbar_clear_stack")]
public void clear_stack ();
[CCode (cname = "gnome_appbar_get_progress")]
@@ -235,8 +346,6 @@ namespace Gnome {
public weak string get_response ();
[CCode (cname = "gnome_appbar_get_status")]
public weak Gtk.Widget get_status ();
- [CCode (cname = "gnome_appbar_get_type")]
- public static GLib.Type get_type ();
[CCode (cname = "gnome_appbar_new")]
public AppBar (bool has_progress, bool has_status, Gnome.PreferencesType interactivity);
[CCode (cname = "gnome_appbar_pop")]
@@ -259,13 +368,42 @@ namespace Gnome {
public weak bool has_status { get; set construct; }
[NoAccessorMethod]
public weak Gnome.PreferencesType interactivity { get; set construct; }
- public signal void user_response ();
[HasEmitter]
public signal void clear_prompt ();
+ public signal void user_response ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
public class Client : Gtk.Object {
+ public pointer smc_conn;
+ public weak string client_id;
+ public weak string previous_id;
+ public weak string config_prefix;
+ public weak string global_config_prefix;
+ public weak GLib.List static_args;
+ public weak string clone_command;
+ public weak string current_directory;
+ public weak string discard_command;
+ public weak GLib.HashTable environment;
+ public int process_id;
+ public weak string program;
+ public weak string resign_command;
+ public weak string restart_command;
+ public Gnome.RestartStyle restart_style;
+ public weak string shutdown_command;
+ public weak string user_id;
+ public weak GLib.SList interaction_keys;
+ public int input_id;
+ public uint save_style;
+ public uint interact_style;
+ public uint state;
+ public uint shutdown;
+ public uint fast;
+ public uint save_phase_2_requested;
+ public uint save_successfull;
+ public uint save_yourself_emitted;
+ public pointer reserved;
public void add_static_arg ();
+ public static void disable_master_connection ();
public void flush ();
public weak string get_config_prefix ();
public weak string get_desktop_id ();
@@ -273,7 +411,6 @@ namespace Gnome {
public weak string get_global_config_prefix ();
public weak string get_id ();
public weak string get_previous_id ();
- public static GLib.Type get_type ();
public static weak Gnome.ModuleInfo module_info_get ();
public Client ();
public Client.without_connection ();
@@ -302,82 +439,139 @@ namespace Gnome {
[NoArrayLength]
public void set_shutdown_command (int argc, string[] argv);
public void set_user_id (string id);
- public signal bool save_yourself (int phase, Gnome.SaveStyle save_style, bool shutdown, Gnome.InteractStyle interact_style, bool fast);
- public signal void die ();
- public signal void save_complete ();
- public signal void shutdown_cancelled ();
[HasEmitter]
public signal void connect (bool restarted);
+ public signal void die ();
[HasEmitter]
public signal void disconnect ();
+ public signal void save_complete ();
+ public signal bool save_yourself (int phase, Gnome.SaveStyle save_style, bool shutdown, Gnome.InteractStyle interact_style, bool fast);
+ public signal void shutdown_cancelled ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class ColorPicker : Gtk.Button {
- [NoAccessorMethod]
- public weak bool dither { get; set; }
- [NoAccessorMethod]
- public weak bool use_alpha { get; set; }
+ public class ColorPicker : Gtk.Button, Atk.Implementor, Gtk.Buildable {
+ public void get_d (double r, double g, double b, double a);
+ public bool get_dither ();
+ public void get_i16 (ushort r, ushort g, ushort b, ushort a);
+ public void get_i8 (uchar r, uchar g, uchar b, uchar a);
+ public weak string get_title ();
+ public bool get_use_alpha ();
+ public ColorPicker ();
+ public void set_d (double r, double g, double b, double a);
+ public void set_dither (bool dither);
+ public void set_i16 (ushort r, ushort g, ushort b, ushort a);
+ public void set_i8 (uchar r, uchar g, uchar b, uchar a);
+ public void set_title (string title);
+ public void set_use_alpha (bool use_alpha);
[NoAccessorMethod]
- public weak string title { get; set; }
+ public weak uint alpha { get; set; }
[NoAccessorMethod]
- public weak uint red { get; set; }
+ public weak uint blue { get; set; }
+ public weak bool dither { get; set; }
[NoAccessorMethod]
public weak uint green { get; set; }
[NoAccessorMethod]
- public weak uint blue { get; set; }
- [NoAccessorMethod]
- public weak uint alpha { get; set; }
+ public weak uint red { get; set; }
+ public weak string title { get; set; }
+ public weak bool use_alpha { get; set; }
public signal void color_set (uint r, uint g, uint b, uint a);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class DateEdit : Gtk.HBox {
+ public class DateEdit : Gtk.HBox, Atk.Implementor, Gtk.Buildable {
public void @construct (ulong the_time, Gnome.DateEditFlags flags);
+ public ulong get_date ();
public int get_flags ();
public ulong get_initial_time ();
public ulong get_time ();
- public static GLib.Type get_type ();
public DateEdit (ulong the_time, bool show_time, bool use_24_format);
public DateEdit.flags (ulong the_time, Gnome.DateEditFlags flags);
public void set_flags (Gnome.DateEditFlags flags);
public void set_popup_range (int low_hour, int up_hour);
public void set_time (ulong the_time);
- public weak ulong time { get; set; }
[NoAccessorMethod]
public weak Gnome.DateEditFlags dateedit_flags { get; set; }
[NoAccessorMethod]
+ public weak ulong initial_time { get; set; }
+ [NoAccessorMethod]
public weak int lower_hour { get; set; }
+ public weak ulong time { get; set; }
[NoAccessorMethod]
public weak int upper_hour { get; set; }
- [NoAccessorMethod]
- public weak ulong initial_time { get; set; }
- public signal void time_changed ();
public signal void date_changed ();
+ public signal void time_changed ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Dialog : Gtk.Window {
+ public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
public weak Gtk.Widget vbox;
- public signal bool close ();
+ public weak GLib.List buttons;
+ public weak Gtk.Widget action_area;
+ public weak Gtk.AccelGroup accelerators;
+ public uint click_closes;
+ public uint just_hide;
+ public void append_button (string button_name);
+ public void append_button_with_pixmap (string button_name, string pixmap_name);
+ public void append_buttons (string first);
+ public void append_buttons_with_pixmaps (string names, string pixmaps);
+ public void append_buttonsv (string buttons);
+ public void button_connect (int button, GLib.Callback callback, pointer data);
+ public void button_connect_object (int button, GLib.Callback callback, Gtk.Object obj);
+ public void close_hides (bool just_hide);
+ public void @construct (string title, pointer ap);
+ public void constructv (string title, string buttons);
+ public void editable_enters (Gtk.Editable editable);
+ public void grab_focus (int button);
+ public Dialog (string title);
+ [CCode (cname = "gnome_dialog_newv")]
+ public Dialog.newv (string title, string buttons);
+ public int run ();
+ public int run_and_close ();
+ public void set_accelerator (int button, uchar accelerator_key, uchar accelerator_mods);
+ public void set_close (bool click_closes);
+ public void set_default (int button);
+ public void set_parent (Gtk.Window parent);
+ public void set_sensitive (int button, bool setting);
public signal void clicked (int button_number);
+ [HasEmitter]
+ public signal bool close ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Druid : Gtk.Container {
+ public class Druid : Gtk.Container, Atk.Implementor, Gtk.Buildable {
+ public weak Gtk.Widget help;
+ public weak Gtk.Widget back;
+ public weak Gtk.Widget next;
+ public weak Gtk.Widget cancel;
+ public weak Gtk.Widget finish;
+ public void append_page (Gnome.DruidPage page);
+ public void construct_with_window (string title, Gtk.Window parent, bool close_on_cancel, out Gtk.Widget window);
+ public void insert_page (Gnome.DruidPage back_page, Gnome.DruidPage page);
+ public Druid ();
+ public Druid.with_window (string title, Gtk.Window parent, bool close_on_cancel, out Gtk.Widget window);
+ public void prepend_page (Gnome.DruidPage page);
+ public void set_buttons_sensitive (bool back_sensitive, bool next_sensitive, bool cancel_sensitive, bool help_sensitive);
+ public void set_page (Gnome.DruidPage page);
+ public void set_show_finish (bool show_finish);
+ public void set_show_help (bool show_help);
[NoAccessorMethod]
public weak bool show_finish { get; set; }
[NoAccessorMethod]
public weak bool show_help { get; set; }
- public signal void cancel ();
- public signal void help ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class DruidPage : Gtk.Bin {
- public signal bool next (Gtk.Widget druid);
- public signal void prepare (Gtk.Widget druid);
+ public class DruidPage : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
+ public DruidPage ();
+ [HasEmitter]
public signal bool back (Gtk.Widget druid);
- public signal void finish (Gtk.Widget druid);
+ [HasEmitter]
public signal bool cancel (Gtk.Widget druid);
+ [HasEmitter]
+ public signal void finish (Gtk.Widget druid);
+ [HasEmitter]
+ public signal bool next (Gtk.Widget druid);
+ [HasEmitter]
+ public signal void prepare (Gtk.Widget druid);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class DruidPageEdge : Gnome.DruidPage {
+ public class DruidPageEdge : Gnome.DruidPage, Atk.Implementor, Gtk.Buildable {
public weak string title;
public weak string text;
public weak Gdk.Pixbuf logo_image;
@@ -389,106 +583,156 @@ namespace Gnome {
public Gdk.Color title_color;
public Gdk.Color text_color;
public uint position;
+ public void @construct (Gnome.EdgePosition position, bool antialiased, string title, string text, Gdk.Pixbuf logo, Gdk.Pixbuf watermark, Gdk.Pixbuf top_watermark);
+ public DruidPageEdge (Gnome.EdgePosition position);
+ public DruidPageEdge.aa (Gnome.EdgePosition position);
+ public DruidPageEdge.with_vals (Gnome.EdgePosition position, bool antialiased, string title, string text, Gdk.Pixbuf logo, Gdk.Pixbuf watermark, Gdk.Pixbuf top_watermark);
+ public void set_bg_color (out Gdk.Color color);
+ public void set_logo (Gdk.Pixbuf logo_image);
+ public void set_logo_bg_color (out Gdk.Color color);
+ public void set_text (string text);
+ public void set_text_color (out Gdk.Color color);
+ public void set_textbox_color (out Gdk.Color color);
+ public void set_title (string title);
+ public void set_title_color (out Gdk.Color color);
+ public void set_top_watermark (Gdk.Pixbuf top_watermark_image);
+ public void set_watermark (Gdk.Pixbuf watermark);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class DruidPageStandard : Gnome.DruidPage {
+ public class DruidPageStandard : Gnome.DruidPage, Atk.Implementor, Gtk.Buildable {
public weak Gtk.Widget vbox;
- [NoAccessorMethod]
- public weak string title { get; set; }
- [NoAccessorMethod]
- public weak Gdk.Pixbuf logo { get; set; }
- [NoAccessorMethod]
- public weak Gdk.Pixbuf top_watermark { get; set; }
- [NoAccessorMethod]
- public weak string title_foreground { set; }
- [NoAccessorMethod]
- public weak Gdk.Color title_foreground_gdk { get; set; }
- [NoAccessorMethod]
- public weak bool title_foreground_set { get; set; }
- [NoAccessorMethod]
+ public void append_item (string question, Gtk.Widget item, string additional_info);
+ public DruidPageStandard ();
+ public DruidPageStandard.with_vals (string title, Gdk.Pixbuf logo, Gdk.Pixbuf top_watermark);
+ public void set_background (out Gdk.Color color);
+ public void set_contents_background (out Gdk.Color color);
+ public void set_logo (Gdk.Pixbuf logo_image);
+ public void set_logo_background (out Gdk.Color color);
+ public void set_title (string title);
+ public void set_title_foreground (out Gdk.Color color);
+ public void set_top_watermark (Gdk.Pixbuf top_watermark_image);
public weak string background { set; }
[NoAccessorMethod]
public weak Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
public weak bool background_set { get; set; }
- [NoAccessorMethod]
public weak string contents_background { set; }
[NoAccessorMethod]
public weak Gdk.Color contents_background_gdk { get; set; }
[NoAccessorMethod]
public weak bool contents_background_set { get; set; }
[NoAccessorMethod]
+ public weak Gdk.Pixbuf logo { get; set; }
public weak string logo_background { set; }
[NoAccessorMethod]
public weak Gdk.Color logo_background_gdk { get; set; }
[NoAccessorMethod]
public weak bool logo_background_set { get; set; }
+ [NoAccessorMethod]
+ public weak string title { get; set; }
+ public weak string title_foreground { set; }
+ [NoAccessorMethod]
+ public weak Gdk.Color title_foreground_gdk { get; set; }
+ [NoAccessorMethod]
+ public weak bool title_foreground_set { get; set; }
+ [NoAccessorMethod]
+ public weak Gdk.Pixbuf top_watermark { get; set; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Entry : Gtk.Combo, Gtk.Editable {
- [NoAccessorMethod]
- public weak string history_id { get; set; }
+ public class Entry : Gtk.Combo, Atk.Implementor, Gtk.Buildable, Gtk.Editable {
+ public void append_history (bool save, string text);
+ public void clear_history ();
+ public weak string get_history_id ();
+ public uint get_max_saved ();
+ public Entry (string history_id);
+ public void prepend_history (bool save, string text);
+ public void set_history_id (string history_id);
+ public void set_max_saved (uint max_saved);
[NoAccessorMethod]
public weak Gtk.Entry gtk_entry { get; }
+ public weak string history_id { get; set; }
public signal void activate ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class FileEntry : Gtk.VBox, Gtk.Editable {
- [NoAccessorMethod]
- public weak string history_id { get; set; }
+ public class FileEntry : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Editable {
+ public weak Gtk.Widget fsw;
+ public void @construct (string history_id, string browse_dialog_title);
+ public bool get_directory_entry ();
+ public weak string get_full_path (bool file_must_exist);
+ public bool get_modal ();
+ public FileEntry (string history_id, string browse_dialog_title);
+ public void set_default_path (string path);
+ public void set_directory (bool directory_entry);
+ public void set_directory_entry (bool directory_entry);
+ public void set_filename (string filename);
+ public void set_modal (bool is_modal);
+ public void set_title (string browse_dialog_title);
[NoAccessorMethod]
public weak string browse_dialog_title { get; set; }
[NoAccessorMethod]
+ public weak string default_path { get; set; }
public weak bool directory_entry { get; set; }
[NoAccessorMethod]
- public weak bool modal { get; set; }
+ public weak Gtk.FileChooserAction filechooser_action { get; set; }
[NoAccessorMethod]
public weak string filename { get; set; }
[NoAccessorMethod]
- public weak string default_path { get; set; }
- [NoAccessorMethod]
public weak Gnome.Entry gnome_entry { get; }
[NoAccessorMethod]
public weak Gtk.Entry gtk_entry { get; }
[NoAccessorMethod]
- public weak bool use_filechooser { get; set; }
+ public weak string history_id { get; set; }
+ public weak bool modal { get; set; }
[NoAccessorMethod]
- public weak Gtk.FileChooserAction filechooser_action { get; set; }
- public signal void browse_clicked ();
+ public weak bool use_filechooser { get; set; }
public signal void activate ();
+ public signal void browse_clicked ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class FontPicker : Gtk.Button {
- [NoAccessorMethod]
- public weak string title { get; set; }
- [NoAccessorMethod]
- public weak Gnome.FontPickerMode mode { get; set; }
- [NoAccessorMethod]
- public weak string font_name { get; set; }
- [NoAccessorMethod]
+ public class FontPicker : Gtk.Button, Atk.Implementor, Gtk.Buildable {
+ public void fi_set_show_size (bool show_size);
+ public void fi_set_use_font_in_label (bool use_font_in_label, int size);
+ public weak Gdk.Font get_font ();
+ public weak string get_font_name ();
+ public Gnome.FontPickerMode get_mode ();
+ public weak string get_preview_text ();
+ public weak string get_title ();
+ public FontPicker ();
+ public bool set_font_name (string fontname);
+ public void set_mode (Gnome.FontPickerMode mode);
+ public void set_preview_text (string text);
+ public void set_title (string title);
+ public weak Gtk.Widget uw_get_widget ();
+ public void uw_set_widget (Gtk.Widget widget);
public weak pointer font { get; }
- [NoAccessorMethod]
- public weak string preview_text { get; set; }
- [NoAccessorMethod]
- public weak bool use_font_in_label { get; set; }
+ public weak string font_name { get; set; }
[NoAccessorMethod]
public weak int label_font_size { get; set; }
+ public weak Gnome.FontPickerMode mode { get; set; }
+ public weak string preview_text { get; set; }
[NoAccessorMethod]
public weak bool show_size { get; set; }
+ public weak string title { get; set; }
+ [NoAccessorMethod]
+ public weak bool use_font_in_label { get; set; }
public signal void font_set (string font_name);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class HRef : Gtk.Button {
- [NoAccessorMethod]
- public weak string url { get; set; }
- [NoAccessorMethod]
+ public class HRef : Gtk.Button, Atk.Implementor, Gtk.Buildable {
+ public weak string get_label ();
+ public weak string get_text ();
+ public weak string get_url ();
+ public HRef (string url, string text);
+ public void set_label (string label);
+ public void set_text (string text);
+ public void set_url (string url);
public weak string text { get; set; }
+ public weak string url { get; set; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class IconEntry : Gtk.VBox {
+ public class IconEntry : Gtk.VBox, Atk.Implementor, Gtk.Buildable {
public void @construct (string history_id, string browse_dialog_title);
public weak string get_filename ();
- public static GLib.Type get_type ();
public weak Gtk.Widget gnome_entry ();
public weak Gtk.Widget gnome_file_entry ();
public weak Gtk.Widget gtk_entry ();
@@ -502,55 +746,142 @@ namespace Gnome {
public void set_max_saved (uint max_saved);
public void set_pixmap_subdir (string subdir);
[NoAccessorMethod]
- public weak string history_id { get; set; }
- [NoAccessorMethod]
public weak string browse_dialog_title { get; set; }
- [NoAccessorMethod]
- public weak string pixmap_subdir { get; set; }
public weak string filename { get; set; }
[NoAccessorMethod]
+ public weak string history_id { get; set; }
+ [NoAccessorMethod]
public weak Gtk.Dialog pick_dialog { get; }
- public signal void changed ();
+ [NoAccessorMethod]
+ public weak string pixmap_subdir { get; set; }
public signal void browse ();
+ public signal void changed ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class IconSelection : Gtk.VBox {
+ public class IconSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable {
public void add_defaults ();
public void add_directory (string dir);
public void clear (bool not_shown);
public weak Gtk.Widget get_box ();
public weak Gtk.Widget get_gil ();
public weak string get_icon (bool full_path);
- public static GLib.Type get_type ();
public IconSelection ();
public void select_icon (string filename);
public void show_icons ();
public void stop_loading ();
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class IconTheme : GLib.Object {
- public signal void changed ();
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
public class MDI : Gtk.Object {
+ public Gnome.MDIMode mode;
+ public Gtk.PositionType tab_pos;
+ public uint signal_id;
+ public uint in_drag;
+ public weak string appname;
+ public weak string title;
+ public weak Gnome.UIInfo menu_template;
+ public weak Gnome.UIInfo toolbar_template;
+ public weak Gnome.MDIChild active_child;
+ public weak Gtk.Widget active_view;
+ public weak Gnome.App active_window;
+ public weak GLib.List windows;
+ public weak GLib.List children;
+ public weak GLib.SList registered;
+ public weak string child_menu_path;
+ public weak string child_list_path;
+ public pointer reserved;
+ public int add_toplevel_view (Gnome.MDIChild child);
+ public weak Gnome.MDIChild find_child (string name);
+ public weak Gnome.MDIChild get_active_child ();
+ public weak Gtk.Widget get_active_view ();
+ public weak Gnome.App get_active_window ();
+ public static weak Gnome.App get_app_from_view (Gtk.Widget view);
+ public static weak Gnome.MDIChild get_child_from_view (Gtk.Widget view);
+ public static weak Gnome.UIInfo get_child_menu_info (Gnome.App app);
+ public static weak Gnome.UIInfo get_menubar_info (Gnome.App app);
+ public static weak Gnome.UIInfo get_toolbar_info (Gnome.App app);
+ public weak Gtk.Widget get_view_from_window (Gnome.App app);
+ public MDI (string appname, string title);
+ public void open_toplevel ();
+ public void register (Gtk.Object object);
+ public int remove_all (int force);
+ public bool restore_state (string section, Gnome.MDIChildCreator create_child_func);
+ public void save_state (string section);
+ public void set_active_view (Gtk.Widget view);
+ public void set_child_list_path (string path);
+ public void set_child_menu_path (string path);
+ public void set_menubar_template (Gnome.UIInfo menu_tmpl);
+ public void set_mode (Gnome.MDIMode mode);
+ public void set_toolbar_template (Gnome.UIInfo tbar_tmpl);
+ public void unregister (Gtk.Object object);
+ public void update_child (Gnome.MDIChild child);
+ [HasEmitter]
+ public signal bool add_child (Gnome.MDIChild (null));
+ [HasEmitter]
+ public signal bool add_view (Gtk.Widget (null));
+ public signal void app_created (Gnome.App (null));
+ public signal void child_changed (Gnome.MDIChild (null));
+ [HasEmitter]
+ public signal bool remove_child (Gnome.MDIChild (null));
+ [HasEmitter]
+ public signal bool remove_view (Gtk.Widget (null));
+ public signal void view_changed (Gtk.Widget (null));
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
public class MDIChild : Gtk.Object {
+ public weak Gtk.Object parent;
+ public weak string name;
+ public weak GLib.List views;
+ public weak Gnome.UIInfo menu_template;
+ public pointer reserved;
+ public weak Gtk.Widget add_view ();
+ public void remove_view (Gtk.Widget view);
+ public void set_menu_template (Gnome.UIInfo menu_tmpl);
+ public void set_name (string name);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
public class MDIGenericChild : Gnome.MDIChild {
+ public Gnome.MDIChildViewCreator create_view;
+ public Gnome.MDIChildMenuCreator create_menus;
+ public Gnome.MDIChildConfigFunc get_config_string;
+ public Gnome.MDIChildLabelFunc set_label;
+ public Gtk.CallbackMarshal create_view_cbm;
+ public Gtk.CallbackMarshal create_menus_cbm;
+ public Gtk.CallbackMarshal get_config_string_cbm;
+ public Gtk.CallbackMarshal set_label_cbm;
+ public Gtk.DestroyNotify create_view_dn;
+ public Gtk.DestroyNotify create_menus_dn;
+ public Gtk.DestroyNotify get_config_string_dn;
+ public Gtk.DestroyNotify set_label_dn;
+ public pointer create_view_data;
+ public pointer create_menus_data;
+ public pointer get_config_string_data;
+ public pointer set_label_data;
+ public pointer reserved;
+ public MDIGenericChild (string name);
+ public void set_config_func (Gnome.MDIChildConfigFunc func, pointer data);
+ public void set_config_func_full (Gnome.MDIChildConfigFunc func, Gtk.CallbackMarshal marshal, pointer data, Gtk.DestroyNotify notify);
+ public void set_label_func (Gnome.MDIChildLabelFunc func, pointer data);
+ public void set_label_func_full (Gnome.MDIChildLabelFunc func, Gtk.CallbackMarshal marshal, pointer data, Gtk.DestroyNotify notify);
+ public void set_menu_creator (Gnome.MDIChildMenuCreator func, pointer data);
+ public void set_menu_creator_full (Gnome.MDIChildMenuCreator func, Gtk.CallbackMarshal marshal, pointer data, Gtk.DestroyNotify notify);
+ public void set_view_creator (Gnome.MDIChildViewCreator func, pointer data);
+ public void set_view_creator_full (Gnome.MDIChildViewCreator func, Gtk.CallbackMarshal marshal, pointer data, Gtk.DestroyNotify notify);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class MessageBox : Gnome.Dialog {
+ public class MessageBox : Gnome.Dialog, Atk.Implementor, Gtk.Buildable {
+ public void @construct (string message, string message_box_type, string buttons);
+ public MessageBox (string message, string message_box_type);
+ [CCode (cname = "gnome_message_box_newv")]
+ public MessageBox.newv (string message, string message_box_type, string buttons);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class PasswordDialog : Gtk.Dialog {
+ public class PasswordDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
+ public weak Gnome.PasswordDialogDetails details;
public bool anon_selected ();
public weak string get_domain ();
public weak string get_new_password ();
public weak string get_password ();
public Gnome.PasswordDialogRemember get_remember ();
- public static weak Gtk.Type get_type ();
public weak string get_username ();
public PasswordDialog (string dialog_title, string message, string username, string password, bool readonly_username);
public bool run_and_block ();
@@ -570,176 +901,150 @@ namespace Gnome {
public void set_show_userpass_buttons (bool show_userpass_buttons);
public void set_username (string username);
[NoAccessorMethod]
- public weak bool show_username { get; set; }
+ public weak bool anonymous { get; set; }
+ public weak string domain { get; set; }
[NoAccessorMethod]
- public weak bool show_domain { get; set; }
+ public weak string message { get; set; }
[NoAccessorMethod]
- public weak bool show_password { get; set; }
+ public weak string message_markup { get; set; }
+ public weak string new_password { get; set; }
+ public weak string password { get; set; }
[NoAccessorMethod]
- public weak bool show_new_password { get; set; }
+ public weak bool readonly_domain { get; set; }
[NoAccessorMethod]
- public weak bool show_new_password_quality { get; set; }
+ public weak bool readonly_username { get; set; }
[NoAccessorMethod]
- public weak bool show_userpass_buttons { get; set; }
+ public weak Gnome.PasswordDialogRemember remember_mode { get; set; }
[NoAccessorMethod]
- public weak bool show_remember { get; set; }
+ public weak bool show_domain { get; set; }
[NoAccessorMethod]
- public weak bool readonly_username { get; set; }
+ public weak bool show_new_password { get; set; }
[NoAccessorMethod]
- public weak bool readonly_domain { get; set; }
+ public weak bool show_new_password_quality { get; set; }
[NoAccessorMethod]
- public weak bool anonymous { get; set; }
+ public weak bool show_password { get; set; }
[NoAccessorMethod]
- public weak Gnome.PasswordDialogRemember remember_mode { get; set; }
+ public weak bool show_remember { get; set; }
[NoAccessorMethod]
- public weak string message { get; set; }
+ public weak bool show_username { get; set; }
[NoAccessorMethod]
- public weak string message_markup { get; set; }
+ public weak bool show_userpass_buttons { get; set; }
public weak string username { get; set; }
- public weak string domain { get; set; }
- public weak string password { get; set; }
- public weak string new_password { get; set; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Pixmap : Gtk.Image {
+ public class Pixmap : Gtk.Image, Atk.Implementor, Gtk.Buildable {
+ public void load_file (string filename);
+ public void load_file_at_size (string filename, int width, int height);
+ public void load_xpm_d (out string xpm_data);
+ public void load_xpm_d_at_size (out string xpm_data, int width, int height);
+ public Pixmap.from_file (string filename);
+ public Pixmap.from_file_at_size (string filename, int width, int height);
+ public Pixmap.from_gnome_pixmap (Gnome.Pixmap gpixmap);
+ public Pixmap.from_xpm_d (string xpm_data);
+ public Pixmap.from_xpm_d_at_size (string xpm_data, int width, int height);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class PixmapEntry : Gnome.FileEntry {
+ public class PixmapEntry : Gnome.FileEntry, Atk.Implementor, Gtk.Buildable, Gtk.Editable {
+ public void @construct (string history_id, string browse_dialog_title, bool do_preview);
public weak string get_filename ();
+ public weak Gtk.Widget gnome_entry ();
+ public weak Gtk.Widget gnome_file_entry ();
+ public weak Gtk.Widget gtk_entry ();
+ public PixmapEntry (string history_id, string browse_dialog_title, bool do_preview);
public weak Gtk.Widget preview_widget ();
public weak Gtk.Widget scrolled_window ();
+ public void set_pixmap_subdir (string subdir);
public void set_preview (bool do_preview);
public void set_preview_size (int preview_w, int preview_h);
[NoAccessorMethod]
public weak bool do_preview { get; set; }
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class PropertyBox : Gnome.Dialog {
+ public class PropertyBox : Gnome.Dialog, Atk.Implementor, Gtk.Buildable {
+ public weak Gtk.Widget notebook;
+ public weak Gtk.Widget ok_button;
+ public weak Gtk.Widget apply_button;
+ public weak Gtk.Widget cancel_button;
+ public weak Gtk.Widget help_button;
+ public pointer reserved;
+ public int append_page (Gtk.Widget child, Gtk.Widget tab_label);
+ public void changed ();
+ public PropertyBox ();
+ public void set_modified (bool state);
+ public void set_state (bool state);
public signal void apply (int page_num);
public signal void help (int page_num);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Scores : Gtk.Dialog {
+ public class Scores : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
+ public void @construct (uint n_scores, string names, float scores, ulong times, bool clear);
+ public static weak Gtk.Widget display (string title, string app_name, string level, int pos);
+ public static weak Gtk.Widget display_with_pixmap (string pixmap_logo, string app_name, string level, int pos);
+ public Scores (uint n_scores, string names, float scores, ulong times, bool clear);
+ public void set_color (uint n, out Gdk.Color col);
+ public void set_colors (out Gdk.Color col);
+ public void set_current_player (int i);
+ public void set_def_color (out Gdk.Color col);
+ public void set_logo_label (string txt, string font, out Gdk.Color col);
+ public void set_logo_label_title (string txt);
+ public void set_logo_pixmap (string pix_name);
+ public void set_logo_widget (Gtk.Widget w);
}
[CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
public class ThumbnailFactory : GLib.Object {
public bool can_thumbnail (string uri, string mime_type, ulong mtime);
public void create_failed_thumbnail (string uri, ulong mtime);
public weak Gdk.Pixbuf generate_thumbnail (string uri, string mime_type);
- public static GLib.Type get_type ();
public bool has_valid_failed_thumbnail (string uri, ulong mtime);
public weak string lookup (string uri, ulong mtime);
public ThumbnailFactory (Gnome.ThumbnailSize size);
public void save_thumbnail (Gdk.Pixbuf thumbnail, string uri, ulong original_mtime);
}
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class AppBarMsg {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class GdkPixbufAsyncHandle {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class IconDataPoint {
- public int x;
- public int y;
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class MessageBoxButton {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class PasswordDialogDetails {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class ThemeFile {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class UIBuilderData {
- public Gnome.UISignalConnectFunc connect_func;
- public pointer data;
- public bool is_interp;
- public Gtk.CallbackMarshal relay_func;
- public Gtk.DestroyNotify destroy_func;
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class UIInfo {
- public Gnome.UIInfoType type;
- public weak string label;
- public weak string hint;
- public pointer moreinfo;
- public pointer user_data;
- public pointer unused_data;
- public Gnome.UIPixmapType pixmap_type;
- public pointer pixmap_info;
- public uint accelerator_key;
- public Gdk.ModifierType ac_mods;
- public weak Gtk.Widget widget;
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Authentication {
- public static bool manager_dialog_is_visible ();
- public static void manager_init ();
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Error {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Gdk {
- public static weak Gdk.Pixbuf pixbuf_new_from_uri (string uri);
- public static weak Gnome.GdkPixbufAsyncHandle pixbuf_new_from_uri_async (string uri, Gnome.GdkPixbufLoadCallback load_callback, Gnome.GdkPixbufDoneCallback done_callback, pointer callback_data);
- public static weak Gdk.Pixbuf pixbuf_new_from_uri_at_scale (string uri, int width, int height, bool preserve_aspect_ratio);
- public static void pixbuf_new_from_uri_cancel (Gnome.GdkPixbufAsyncHandle handle);
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Gtk {
- public static weak Gnome.ModuleInfo module_info_get ();
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Icon {
- public static weak string lookup (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, GnomeVFS.FileInfo file_info, string mime_type, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags result);
- public static weak string lookup_sync (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags result);
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Ok {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Popup {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Question {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Request {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Thumbnail {
- public static bool has_uri (Gdk.Pixbuf pixbuf, string uri);
- public static bool is_valid (Gdk.Pixbuf pixbuf, string uri, ulong mtime);
- public static weak string md5 (string uri);
- public static weak string path_for_uri (string uri, Gnome.ThumbnailSize size);
- public static weak Gdk.Pixbuf scale_down_pixbuf (Gdk.Pixbuf pixbuf, int dest_width, int dest_height);
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Warning {
- }
- [CCode (cheader_filename = "libgnomeui/libgnomeui.h")]
- public class Window {
- }
public static delegate void AppProgressCancelFunc (pointer data);
public static delegate double AppProgressFunc (pointer data);
public static delegate void GdkPixbufDoneCallback (Gnome.GdkPixbufAsyncHandle handle, pointer cb_data);
public static delegate void GdkPixbufLoadCallback (Gnome.GdkPixbufAsyncHandle handle, GnomeVFS.Result error, Gdk.Pixbuf pixbuf, pointer cb_data);
public static delegate void InteractFunction (Gnome.Client client, int key, Gnome.DialogType dialog_type, pointer data);
- public static delegate weak string MDIChildConfigFunc (Gnome.MDIChild arg1, pointer arg2);
- public static delegate weak Gnome.MDIChild MDIChildCreator (string arg1);
- public static delegate weak Gtk.Widget MDIChildLabelFunc (Gnome.MDIChild arg1, Gtk.Widget arg2, pointer arg3);
- public static delegate weak GLib.List MDIChildMenuCreator (Gnome.MDIChild arg1, Gtk.Widget arg2, pointer arg3);
- public static delegate weak Gtk.Widget MDIChildViewCreator (Gnome.MDIChild arg1, pointer arg2);
+ public static delegate weak string MDIChildConfigFunc (Gnome.MDIChild p1, pointer p2);
+ public static delegate weak Gnome.MDIChild MDIChildCreator (string p1);
+ public static delegate weak Gtk.Widget MDIChildLabelFunc (Gnome.MDIChild p1, Gtk.Widget p2, pointer p3);
+ public static delegate weak GLib.List MDIChildMenuCreator (Gnome.MDIChild p1, Gtk.Widget p2, pointer p3);
+ public static delegate weak Gtk.Widget MDIChildViewCreator (Gnome.MDIChild p1, pointer p2);
public static delegate double PasswordDialogQualityFunc (Gnome.PasswordDialog password_dialog, string password, pointer user_data);
public static delegate void ReplyCallback (int reply, pointer data);
public static delegate void StringCallback (string string, pointer data);
public static delegate void ThemeFileLineFunc (Gnome.ThemeFile df, string key, string locale, string value, pointer data);
public static delegate void ThemeFileSectionFunc (Gnome.ThemeFile df, string name, pointer data);
public static delegate void UISignalConnectFunc (Gnome.UIInfo uiinfo, string signal_name, Gnome.UIBuilderData uibdata);
+ public const string GNOMEUIINFO_KEY_UIBDATA;
+ public const string GNOMEUIINFO_KEY_UIDATA;
+ public const string APP_MENUBAR_NAME;
+ public const string APP_TOOLBAR_NAME;
+ public const int CANCEL;
+ public const string CLIENT_PARAM_SM_CONNECT;
+ public const int KEY_MOD_CLEAR;
+ public const int KEY_MOD_CLOSE_WINDOW;
+ public const int KEY_MOD_NEW_WINDOW;
+ public const int KEY_MOD_PAUSE_GAME;
+ public const int KEY_MOD_PRINT_SETUP;
+ public const int KEY_MOD_REDO;
+ public const int KEY_MOD_REDO_MOVE;
+ public const int KEY_MOD_SAVE_AS;
+ public const int KEY_NAME_CLEAR;
+ public const int KEY_NAME_CLOSE_WINDOW;
+ public const int KEY_NAME_NEW_WINDOW;
+ public const int KEY_NAME_PRINT_SETUP;
+ public const string MESSAGE_BOX_ERROR;
+ public const string MESSAGE_BOX_GENERIC;
+ public const string MESSAGE_BOX_INFO;
+ public const string MESSAGE_BOX_QUESTION;
+ public const string MESSAGE_BOX_WARNING;
+ public const int NO;
+ public const int OK;
+ public const int PAD;
+ public const int PAD_BIG;
+ public const int PAD_SMALL;
+ public const string PROPERTY_BOX_DIRTY;
public const string STOCK_ABOUT;
public const string STOCK_ATTACH;
public const string STOCK_AUTHENTICATION;
@@ -772,12 +1077,69 @@ namespace Gnome {
public const string STOCK_TRASH;
public const string STOCK_TRASH_FULL;
public const string STOCK_VOLUME;
+ public const int YES;
+ public const string LIBGNOMEUI_PARAM_CRASH_DIALOG;
+ public const string LIBGNOMEUI_PARAM_DEFAULT_ICON;
+ public const string LIBGNOMEUI_PARAM_DISPLAY;
[CCode (cname = "LIBGNOMEUI_MODULE")]
public Gnome.ModuleInfo libgnomeui_module;
public static void accelerators_sync ();
+ public static bool authentication_manager_dialog_is_visible ();
+ public static void authentication_manager_init ();
+ public static weak Gtk.Widget error_dialog (string error);
+ public static weak Gtk.Widget error_dialog_parented (string error, Gtk.Window parent);
+ public static weak Gdk.Pixbuf gdk_pixbuf_new_from_uri (string uri);
+ public static weak Gnome.GdkPixbufAsyncHandle gdk_pixbuf_new_from_uri_async (string uri, Gnome.GdkPixbufLoadCallback load_callback, Gnome.GdkPixbufDoneCallback done_callback, pointer callback_data);
+ public static weak Gdk.Pixbuf gdk_pixbuf_new_from_uri_at_scale (string uri, int width, int height, bool preserve_aspect_ratio);
+ public static void gdk_pixbuf_new_from_uri_cancel (Gnome.GdkPixbufAsyncHandle handle);
+ public static weak Gnome.ModuleInfo gtk_module_info_get ();
+ public static void gtk_widget_add_popup_items (Gtk.Widget widget, Gnome.UIInfo uiinfo, pointer user_data);
+ public static bool help_display_desktop_on_screen (Gnome.Program program, string doc_id, string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
+ public static bool help_display_on_screen (string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
+ public static bool help_display_uri_on_screen (string help_uri, Gdk.Screen screen) throws GLib.Error;
+ public static bool help_display_with_doc_id_on_screen (Gnome.Program program, string doc_id, string file_name, string link_id, Gdk.Screen screen) throws GLib.Error;
public static void ice_init ();
+ public static weak string icon_lookup (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, GnomeVFS.FileInfo file_info, string mime_type, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags result);
+ public static weak string icon_lookup_sync (Gtk.IconTheme icon_theme, Gnome.ThumbnailFactory thumbnail_factory, string file_uri, string custom_icon, Gnome.IconLookupFlags flags, Gnome.IconLookupResultFlags result);
public static void interaction_key_return (int key, bool cancel_shutdown);
+ [CCode (cname = "libgnomeui_module_info_get")]
+ public static weak Gnome.ModuleInfo libgnomeui_module_info_get ();
public static weak Gnome.Client master_client ();
- public static void type_init ();
+ public static weak Gtk.Widget ok_cancel_dialog (string message, Gnome.ReplyCallback callback, pointer data);
+ public static weak Gtk.Widget ok_cancel_dialog_modal (string message, Gnome.ReplyCallback callback, pointer data);
+ public static weak Gtk.Widget ok_cancel_dialog_modal_parented (string message, Gnome.ReplyCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget ok_cancel_dialog_parented (string message, Gnome.ReplyCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget ok_dialog (string message);
+ public static weak Gtk.Widget ok_dialog_parented (string message, Gtk.Window parent);
+ public static void popup_menu_append (Gtk.Widget popup, Gnome.UIInfo uiinfo);
+ public static void popup_menu_attach (Gtk.Widget popup, Gtk.Widget widget, pointer user_data);
+ public static void popup_menu_do_popup (Gtk.Widget popup, Gtk.MenuPositionFunc pos_func, pointer pos_data, Gdk.EventButton event, pointer user_data, Gtk.Widget for_widget);
+ public static int popup_menu_do_popup_modal (Gtk.Widget popup, Gtk.MenuPositionFunc pos_func, pointer pos_data, Gdk.EventButton event, pointer user_data, Gtk.Widget for_widget);
+ public static weak Gtk.AccelGroup popup_menu_get_accel_group (Gtk.Menu menu);
+ public static weak Gtk.Widget popup_menu_new (Gnome.UIInfo uiinfo);
+ public static weak Gtk.Widget popup_menu_new_with_accelgroup (Gnome.UIInfo uiinfo, Gtk.AccelGroup accelgroup);
+ public static weak Gtk.Widget question_dialog (string question, Gnome.ReplyCallback callback, pointer data);
+ public static weak Gtk.Widget question_dialog_modal (string question, Gnome.ReplyCallback callback, pointer data);
+ public static weak Gtk.Widget question_dialog_modal_parented (string question, Gnome.ReplyCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget question_dialog_parented (string question, Gnome.ReplyCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget request_dialog (bool password, string prompt, string default_text, ushort max_length, Gnome.StringCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget request_password_dialog (string prompt, Gnome.StringCallback callback, pointer data);
+ public static weak Gtk.Widget request_password_dialog_parented (string prompt, Gnome.StringCallback callback, pointer data, Gtk.Window parent);
+ public static weak Gtk.Widget request_string_dialog (string prompt, Gnome.StringCallback callback, pointer data);
+ public static weak Gtk.Widget request_string_dialog_parented (string prompt, Gnome.StringCallback callback, pointer data, Gtk.Window parent);
+ public static bool thumbnail_has_uri (Gdk.Pixbuf pixbuf, string uri);
+ public static bool thumbnail_is_valid (Gdk.Pixbuf pixbuf, string uri, ulong mtime);
+ public static weak string thumbnail_md5 (string uri);
+ public static weak string thumbnail_path_for_uri (string uri, Gnome.ThumbnailSize size);
+ public static weak Gdk.Pixbuf thumbnail_scale_down_pixbuf (Gdk.Pixbuf pixbuf, int dest_width, int dest_height);
public static bool url_show_on_screen (string url, Gdk.Screen screen) throws GLib.Error;
+ public static weak Gtk.Widget warning_dialog (string warning);
+ public static weak Gtk.Widget warning_dialog_parented (string warning, Gtk.Window parent);
+ public static void window_icon_init ();
+ public static void window_icon_set_default_from_file (string filename);
+ public static void window_icon_set_default_from_file_list (out string filenames);
+ public static void window_icon_set_from_default (Gtk.Window w);
+ public static void window_icon_set_from_file (Gtk.Window w, string filename);
+ public static void window_icon_set_from_file_list (Gtk.Window w, out string filenames);
+ public static void window_toplevel_set_title (Gtk.Window window, string doc_name, string app_name, string extension);
}