![]() |
![]() |
![]() |
Buzztard Bt-Edit Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include "bt-edit.h" void add_pixmap_directory (const gchar *directory
); GtkWidget * gtk_image_new_from_filename (const gchar *filename
); GdkPixbuf * gdk_pixbuf_new_from_filename (const gchar *filename
); GdkPixbuf * gdk_pixbuf_new_from_theme (const gchar *name
,gint size
); GtkToolbarStyle gtk_toolbar_get_style_from_string (const gchar *style_name
); GtkTargetEntry * gtk_target_table_make (GdkAtom format_atom
,gint *n_targets
); void gtk_show_uri_simple (GtkWidget *widget
,const gchar *uri
); #define GNOME_CANVAS_BROKEN_PROPERTIES
Implements the body of the buzztard GUI editor.
You can try to run the uninstalled program via
libtool --mode=execute buzztard-edit
to enable debug output add:
--gst-debug="*:2,bt-*:3" for not-so-much-logdata or --gst-debug="*:2,bt-*:4" for a-lot-logdata
Example songs can be found in ./test/songs/
.
void add_pixmap_directory (const gchar *directory
);
Use this function to set the directory containing installed pixmaps.
|
register another directory to search for pixmaps |
GtkWidget * gtk_image_new_from_filename (const gchar *filename
);
Creates a new pixmap image widget for the image file.
|
the filename of the image file |
Returns : |
a new pixmap widget |
GdkPixbuf * gdk_pixbuf_new_from_filename (const gchar *filename
);
Creates a new pixbuf image for the image file.
|
the filename of the image file |
Returns : |
a new pixbuf, g_object_unref() when done. |
GdkPixbuf * gdk_pixbuf_new_from_theme (const gchar *name
,gint size
);
Creates a new pixbuf image from the icon name
and size
.
|
the icon name |
|
the pixel size |
Returns : |
a new pixbuf, g_object_unref() when done. |
GtkToolbarStyle gtk_toolbar_get_style_from_string (const gchar *style_name
);
toolbar gconf to style conversion
|
the style name returned from gconf settings |
Returns : |
the style id |
GtkTargetEntry * gtk_target_table_make (GdkAtom format_atom
,gint *n_targets
);
Generate the target table for pasting to clipboard. Use gtk_target_table_free (targets, n_targets);
|
format atom for the target list |
|
out variable for the size of the table |
Returns : |
the table and the size in the out variable n_targets
|
void gtk_show_uri_simple (GtkWidget *widget
,const gchar *uri
);
Show the given uri
. Uses same screen as widget
(default if widget
is NULL).
|
widget that triggered the action |
|
the uri |