Hello every body,
I'm berginner in gtk,
I have a question, how add custom icon to my menubar using gtkaction?
I have been googling for tow days, but still can't add custom icon to my menubar,
My example code in attachement.
Thank you,,
I'm berginner in gtk,
I have a question, how add custom icon to my menubar using gtkaction?
I have been googling for tow days, but still can't add custom icon to my menubar,
My example code in attachement.
Thank you,,
Attachment:
builder.ui
Description: Binary data
#include <iostream> #include <gtk/gtk.h> int main(int argc, char *argv[]) { GtkBuilder *pcGBuilder; GError *pcGError = NULL; gtk_init(&argc, &argv); pcGBuilder = gtk_builder_new (); gtk_builder_add_from_file( pcGBuilder, "builder.ui", &pcGError ); GtkWidget *mainWindow = GTK_WIDGET ( gtk_builder_get_object( pcGBuilder, "mainWindow" ) ); gtk_builder_connect_signals( pcGBuilder, NULL ); g_object_unref( G_OBJECT( pcGBuilder ) ); gtk_widget_show( GTK_WIDGET(mainWindow) ); /* Start main loop */ gtk_main(); }
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list