Hello.
I try writing menuber example in gtk3.
Use 2. gtk_menu_item + gtk_accel_group.
In exist “Mnemonics” (ex. "(F)ile > (Q)uit") and “Accelerators”(ex.
"Ctrl+A")
http://blog.michinari-nukazawa.com/2015/12/gtk3-menubar-example.html
Is this code anything wrong?
(I need is method "1" like
I try append menu on gtk3 application.
I understood that there were two methods.
1. gtk_ui_manager + gtk_action_group
2. gtk_menu_item + gtk_accel_group
method "1" is easy maintenances.
menuitem propertys + tree hierarch from variables.
method "2" is easy append new menuitem during application
I am trying to customize GtkCellRendererCombo so that the items in the
combo box have different colors.
Documentation indicates that this is supposed to be done through
"editing-started" signal handler, but I failed to do it.
My sample is given below.
When gtk_cell_layout_set_cell_data_func or
On Sat, 2015-12-05 at 16:47 +0100, Miroslav Rajcic wrote:
> I am trying to customize GtkCellRendererCombo so that the items in the
> combo box have different colors.
Yes, that is not really easy.
Looking at
https://developer.gnome.org/gtk3/stable/GtkCellLayout.html#gtk-cell-layo
Hi,
On 12/05/2015 06:06 AM, Stuart Axon wrote:
> Hi,
>I'm going a bit mad trying to find decent examples - I want to have a
> bit of data attached to a menu item, how can I do it ?
> (my action is something like win.open_example + I want to have a
> filename attached to each item).
> - I