GnomePixmapEntry

Name

GnomePixmapEntry — one line description goes here.

Synopsis


#include <gnome.h>


struct      GnomePixmapEntry
GtkWidget*  gnome_pixmap_entry_new          (char *history_id,
                                             char *browse_dialog_title,
                                             int do_preview);
void        gnome_pixmap_entry_set_pixmap_subdir
                                            (GnomePixmapEntry *pentry,
                                             const char *subdir);
GtkWidget*  gnome_pixmap_entry_gnome_file_entry
                                            (GnomePixmapEntry *pentry);
GtkWidget*  gnome_pixmap_entry_gnome_entry  (GnomePixmapEntry *pentry);
GtkWidget*  gnome_pixmap_entry_gtk_entry    (GnomePixmapEntry *pentry);
void        gnome_pixmap_entry_set_preview  (GnomePixmapEntry *pentry,
                                             int do_preview);
void        gnome_pixmap_entry_set_preview_size
                                            (GnomePixmapEntry *pentry,
                                             int preview_w,
                                             int preview_h);
char*       gnome_pixmap_entry_get_filename (GnomePixmapEntry *pentry);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GtkBox
                     +----GtkVBox
                           +----GnomePixmapEntry

Description

Details


GnomePixmapEntry

struct GnomePixmapEntry;


gnome_pixmap_entry_new()

GtkWidget*  gnome_pixmap_entry_new          (char *history_id,
                                             char *browse_dialog_title,
                                             int do_preview);

Creates a new pixmap entry widget, if do_preview is false, the preview is hidden but the files are still loaded so that it's easy to show it. If you need a pixmap entry without the preview you just use the GnomeFileEntry

history_id : the id given to gnome_entry_newbrowse_dialog_title : title of the browse dialogdo_preview : booleanReturns : Returns the new object


gnome_pixmap_entry_set_pixmap_subdir()

void        gnome_pixmap_entry_set_pixmap_subdir
                                            (GnomePixmapEntry *pentry,
                                             const char *subdir);

Sets the subdirectory below gnome's default pixmap directory to use as the default path for the file entry

pentry : the GnomePixmapEntry to work withsubdir : sbudirectory


gnome_pixmap_entry_gnome_file_entry()

GtkWidget*  gnome_pixmap_entry_gnome_file_entry
                                            (GnomePixmapEntry *pentry);

Get the GnomeFileEntry widget that's part of the entry

pentry : the GnomePixmapEntry to work withReturns : Returns GnomeFileEntry widget


gnome_pixmap_entry_gnome_entry()

GtkWidget*  gnome_pixmap_entry_gnome_entry  (GnomePixmapEntry *pentry);

Get the GnomeEntry widget that's part of the entry

pentry : the GnomePixmapEntry to work withReturns : Returns GnomeEntry widget


gnome_pixmap_entry_gtk_entry()

GtkWidget*  gnome_pixmap_entry_gtk_entry    (GnomePixmapEntry *pentry);

Get the GtkEntry widget that's part of the entry

pentry : the GnomePixmapEntry to work withReturns : Returns GtkEntry widget


gnome_pixmap_entry_set_preview()

void        gnome_pixmap_entry_set_preview  (GnomePixmapEntry *pentry,
                                             int do_preview);

Sets if the preview should be shown or hidden, the files will be loaded anyhow, so it doesn't make the thing any more faster

pentry : the GnomePixmapEntry to work withdo_preview : bool


gnome_pixmap_entry_set_preview_size()

void        gnome_pixmap_entry_set_preview_size
                                            (GnomePixmapEntry *pentry,
                                             int preview_w,
                                             int preview_h);

Sets the minimum size of the preview frame

pentry : the GnomePixmapEntry to work withpreview_w : preview widthpreview_h : preview height


gnome_pixmap_entry_get_filename()

char*       gnome_pixmap_entry_get_filename (GnomePixmapEntry *pentry);

pentry : Returns