Re: [Fwd: Custom Toolbar]
- From: John Finlay <finlay moeraki com>
- To: "Andrew E. Makeev" <andrew solvo ru>
- Cc: gtk-list gnome org
- Subject: Re: [Fwd: Custom Toolbar]
- Date: Fri, 22 Oct 2004 00:08:48 -0700
Andrew E. Makeev wrote:
Hi.
Excuse me, there is no answer, even simple "yes" or "no"?
Probably, you didn't quite understand my english, then tell me about
it, please.
Regards,
-andrew
------------------------------------------------------------------------
Subject:
Custom Toolbar
From:
"Andrew E. Makeev" <andrew solvo ru>
Date:
Tue, 19 Oct 2004 17:52:48 +0400
To:
gtk-list gnome org
Hi,
I found that gtk_action_create_tool_item() doesn't set action
properties ( tooltip, accelerator ) for that ToolItem automatically.
Is there a mechanism that allows to create "full feature" GtkToolItem
from GtkAction, except for UImanager?
thanks in advance,
-andrew
GTK+-2.4.13
My experience is that the accelerator for an Action is set up using:
gtk_action_set_accel_group()
gtk_action_group_add_action_with_accel()
gtk_action_connect_accelerator()
assuming that the Action uses a Stock Item with an accelerator.
Also the tooltip for an Action has to be set after the associated
ToolItem is added to the Toolbar. You can get and set the "tooltip"
property on the Action.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]