#include <gdk/gdk.h>
#include <gtk/gtkdialog.h>
#include <gtk/gtkselection.h>
Data Structures | |
struct | _GtkSavebox |
Defines | |
#define | GTK_TARGET_XDS 0x584453 |
#define | GTK_TYPE_SAVEBOX (gtk_savebox_get_type ()) |
#define | GTK_SAVEBOX(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_SAVEBOX, GtkSavebox)) |
#define | GTK_SAVEBOX_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SAVEBOX, GtkSaveboxClass)) |
#define | GTK_IS_SAVEBOX(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_SAVEBOX)) |
#define | GTK_IS_SAVEBOX_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SAVEBOX)) |
Enumerations | |
enum | { GTK_XDS_SAVED, GTK_XDS_SAVE_ERROR, GTK_XDS_NO_HANDLER } |
Functions | |
GType | gtk_savebox_get_type (void) |
GtkWidget * | gtk_savebox_new (const gchar *action) |
void | gtk_savebox_set_icon (GtkSavebox *savebox, GdkPixbuf *pixbuf) |
void | gtk_savebox_set_pathname (GtkSavebox *savebox, const gchar *pathname) |
void | gtk_savebox_set_has_discard (GtkSavebox *savebox, gboolean setting) |
GtkWidget * | gtk_savebox_get_extension_area (GtkSavebox *savebox) |
#define GTK_IS_SAVEBOX | ( | obj | ) | (GTK_CHECK_TYPE ((obj), GTK_TYPE_SAVEBOX)) |
Check a pointer to GtkSavebox
[in] | obj | pointer to object |
#define GTK_IS_SAVEBOX_CLASS | ( | klass | ) | (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SAVEBOX)) |
Check a pointer to a GtkSavebox class
[in] | klass | pointer to object class |
#define GTK_SAVEBOX | ( | obj | ) | (GTK_CHECK_CAST ((obj), GTK_TYPE_SAVEBOX, GtkSavebox)) |
Cast pointer into a pointer to GtkSavebox only if it is valid, otherwise return NULL
[in] | obj | pointer to object |
NULL
for error #define GTK_SAVEBOX_CLASS | ( | klass | ) | (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_SAVEBOX, GtkSaveboxClass)) |
Cast pointer into a pointer to GtkSavebox class only if it is valid, otherwise return NULL
[in] | klass | pointer to object class |
NULL
for error #define GTK_TARGET_XDS 0x584453 |
This is for the 'info' value of the GtkTargetList. It's for the XdndDirectSave0 target - ignore requests for this target because they're handled internally by the widget. Don't use this value for anything else!
#define GTK_TYPE_SAVEBOX (gtk_savebox_get_type ()) |
anonymous enum |
GtkWidget* gtk_savebox_get_extension_area | ( | GtkSavebox * | savebox | ) |
Return the extension area, a vbox just above the buttons where additional widgets may be placed.
[in,out] | savebox | Save box widget |
GType gtk_savebox_get_type | ( | void | ) |
GtkWidget* gtk_savebox_new | ( | const gchar * | action | ) |
Create and return a new GtkSavebox widget.
[in] | action | Label to use in the Save button |
void gtk_savebox_set_has_discard | ( | GtkSavebox * | savebox, | |
gboolean | setting | |||
) |
Set whether the discard area is show. Normally this is hidden but contains a single "Discard" button.
[in,out] | savebox | Save box widget |
[in] | setting | non-zero to show discard area |
void gtk_savebox_set_icon | ( | GtkSavebox * | savebox, | |
GdkPixbuf * | pixbuf | |||
) |
Set the icon used for dragging the file.
[in,out] | savebox | Save box widget |
[in] | pixbuf | image to use for icon |
void gtk_savebox_set_pathname | ( | GtkSavebox * | savebox, | |
const gchar * | pathname | |||
) |
Set the initial path to show in the widget.
[in,out] | savebox | Save box widget |
[in] | pathname | path to use |