Hi,
first of all, I cannot still run any example compiled by
compile_with_fpc_under_linux.sh and make_examples.sh scripts.
Compilation and linking works without error, but when I try to run an
executable, i got this error:
Inconsistency detected by ld.so: dl-minimal.c: 114: realloc: Assertion
`ptr == alloc_last_block' failed!
What's wrong?
My next question is: what's the equivalent function for
gtk_menu_ensure_uline_accel_group in GTK2? I've used this function for
adding accelerators for letters in manual menu creation, which were
underlined in text of the menuitem. This caused activating the item, for
example when you opened the menu by Alt+F (_File), and then you pressed
the letter O (_Open). This function returned an AccelGroup object, which
was used for the specified menu. I tried to make the local AccelGroup
manually, assigning to menu using gtk_menu_set_accel_group, and adding
the accelerator into it, but this doesn't work.
I have also take a look on ItemFactory, but I don't know, how to change
the data of the item, for example the text or the accelerator.
----------------
Tomas Bzatek
|