MidoriFileChooserDialog

MidoriFileChooserDialog

Functions

Types and Values

Object Hierarchy


Description

Functions

MIDORI_TYPE_FILE_CHOOSER_DIALOG

#define MIDORI_TYPE_FILE_CHOOSER_DIALOG (midori_file_chooser_dialog_get_type ())

The type for MidoriFileChooserDialog.


midori_file_chooser_dialog_new ()

MidoriFileChooserDialog *
midori_file_chooser_dialog_new (const gchar *title,
                                GtkWindow *window,
                                GtkFileChooserAction action);

Parameters

title

 

 

window

 

 

action

 

 

midori_show_message_dialog ()

void
midori_show_message_dialog (GtkMessageType type,
                            const gchar *_short_,
                            const gchar *detailed,
                            gboolean modal);

Parameters

self

the (null) instance

 

type

 

 

short

 

 

detailed

 

 

modal

 

 

midori_timeout_add_seconds ()

guint
midori_timeout_add_seconds (guint interval,
                            GSourceFunc function,
                            void *function_target,
                            GDestroyNotify function_target_destroy_notify);

Parameters

self

the (null) instance

 

function_target

user data to pass to function .

[allow-none][closure]

function_target_destroy_notify

function to call when function_target is no longer needed.

[allow-none]

interval

 

 

function

 

 

midori_timeout_add ()

guint
midori_timeout_add (guint interval,
                    GSourceFunc function,
                    void *function_target,
                    GDestroyNotify function_target_destroy_notify);

Parameters

self

the (null) instance

 

function_target

user data to pass to function .

[allow-none][closure]

function_target_destroy_notify

function to call when function_target is no longer needed.

[allow-none]

interval

 

 

function

 

 

midori_test_init ()

void
midori_test_init (int *args_length1,
                  gchar ***args);

Parameters

self

the (null) instance

 

args_length1

length of the args array

 

args

 

 

midori_test_grab_max_timeout ()

void
midori_test_grab_max_timeout (void);

Parameters

self

the (null) instance

 

midori_test_release_max_timeout ()

void
midori_test_release_max_timeout (void);

Parameters

self

the (null) instance

 

midori_test_idle_timeouts ()

void
midori_test_idle_timeouts (void);

Parameters

self

the (null) instance

 

midori_test_log_set_fatal_handler_for_icons ()

void
midori_test_log_set_fatal_handler_for_icons
                               (void);

Parameters

self

the (null) instance

 

midori_test_set_dialog_response ()

void
midori_test_set_dialog_response (GtkResponseType response);

Parameters

self

the (null) instance

 

response

 

 

midori_test_set_file_chooser_filename ()

void
midori_test_set_file_chooser_filename (const gchar *filename);

Parameters

self

the (null) instance

 

filename

 

 

MIDORI_TEST_TYPE_JOB

#define MIDORI_TEST_TYPE_JOB (midori_test_job_get_type ())

The type for MidoriTestJob.


midori_test_job_run ()

void
midori_test_job_run (MidoriTestJob *self,
                     GCancellable *cancellable,
                     GAsyncReadyCallback _callback_,
                     gpointer _user_data_);

See also: midori_test_job_run_finish()

Parameters

self

the MidoriTestJob instance

 

cancellable

 

 

_callback_

callback to call when the request is satisfied.

[scope async]

_user_data_

the data to pass to _callback_ function.

[closure]

midori_test_job_run_finish ()

void
midori_test_job_run_finish (MidoriTestJob *self,
                            GAsyncResult *_res_,
                            GError **error);

See also: midori_test_job_run()

Parameters

self

the MidoriTestJob instance

 

_res_

a GAsyncResult

 

error

location to store the error occuring, or NULL to ignore

 

midori_test_job_run_sync ()

void
midori_test_job_run_sync (MidoriTestJob *self);

Parameters

self

the MidoriTestJob instance

 

midori_dialog_run ()

gint
midori_dialog_run (GtkDialog *dialog);

Parameters

self

the (null) instance

 

dialog

 

 

Types and Values

struct MidoriFileChooserDialog

struct MidoriFileChooserDialog {
	GtkFileChooserDialog parent_instance;
	MidoriFileChooserDialogPrivate * priv;
};

struct MidoriFileChooserDialogClass

struct MidoriFileChooserDialogClass {
	GtkFileChooserDialogClass parent_class;
};

The class structure for MIDORI_TYPE_FILE_CHOOSER_DIALOG. All the fields in this structure are private and should never be accessed directly.

Members

GtkFileChooserDialogClass parent_class;

the parent class structure

 

struct MidoriTestJob

struct MidoriTestJob {
	GObject parent_instance;
	MidoriTestJobPrivate * priv;
};

struct MidoriTestJobClass

struct MidoriTestJobClass {
	GObjectClass parent_class;
	void (*run) (MidoriTestJob* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*run_finish) (MidoriTestJob* self, GAsyncResult* _res_, GError** error);
};

The class structure for MIDORI_TEST_TYPE_JOB. All the fields in this structure are private and should never be accessed directly.

Members

GObjectClass parent_class;

the parent class structure

 

run ()

virtual method called by midori_test_job_run()

 

run_finish ()

asynchronous finish function for run, called by midori_test_job_run()