I've been trying to set custom textfor a menu
item accelerator text.
Code is something like this (based on
some"googled" posts).
menu_item =
gtk_menu_item_new_with_label(_("Insert
Node"));g_signal_connect(menu_item, "activate",G_CALLBACK
(on_menu_insert_node), NULL);gtk_menu_append(menu,
Matthias wrote:
GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET
(button));
This gives a Gtk-CRITICAL assertion GTK_IS_WIDGET (widget) failed,
and then returns null.
I tried it with both an unrealized and realized button.
Thanks again,
Manuel
Hi,
Manuel Op de Coul [EMAIL PROTECTED] writes:
GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET
(button));
This gives a Gtk-CRITICAL assertion GTK_IS_WIDGET (widget) failed,
and then returns null.
I tried it with both an unrealized and realized button.
Certainly works for me.
Le mercredi 03 novembre 2004 08:22 +0100, David Necas (Yeti) a crit :
You can use a pointer -- with G_TYPE_POINTER column type.
In fact I often use G_TYPE_POINTER even for objects because
I don't like unreferencing them every time I fetch them from
model.
Thanks, it is more simple than I
Hi,
Gabriel de Perthuis [EMAIL PROTECTED] writes:
Le mercredi 03 novembre 2004 08:22 +0100, David Necas (Yeti) a crit :
You can use a pointer -- with G_TYPE_POINTER column type.
In fact I often use G_TYPE_POINTER even for objects because
I don't like unreferencing them every time I fetch
On Wed, Nov 03, 2004 at 01:26:47PM +0100, Sven Neumann wrote:
It isn't really recommended to treat objects like this. Of course if
you know what you are doing, it will work. But I wouldn't suggest to
do it this way as it may very well fall onto your feet one day.
Well, it isn't. And yet I'm
I've recently written a small Gnome applet (announced on desktop-devel-
list) that consists of a single GtkMenuBar and it's children.
Everything is nice, except that (with the Glider theme) every so often
it gets an unwanted blue rectangle around the MenuBar - I suspect that
it is when the applet
On Tue, 2004-11-02 at 23:43 +0100, Raven wrote:
I've got some questions regarding licensing of GTK.
Please read through the terms of the LGPL [1]. It's not that difficult
of a document to understand. As with any source code license, you must
understand the terms of the license itself.
*1. Is
Hi,
David Necas (Yeti) [EMAIL PROTECTED] writes:
On Wed, Nov 03, 2004 at 01:26:47PM +0100, Sven Neumann wrote:
It isn't really recommended to treat objects like this. Of course if
you know what you are doing, it will work. But I wouldn't suggest to
do it this way as it may very well fall
Hello,
I'm new to programing!!!
I'm trying to compile and install GTK+ 2.4.9. on SuSE 9.1.
I compiled and installed these packages doing always:
$: ./configure
$: make
changed to root and then
$: make install
1. pkg-config 0.15.0
2. glib-2.4.6
3. pango-1.4.1 and
4. atk-1.6.1
I setup
On Wed, Nov 03, 2004 at 05:28:10PM +0100, Sven Neumann wrote:
time before I found this out. I'd like some
G_TYPE_STRING_DONT_DUPLICATE_IT_LIKE_MAD and
G_TYPE_OBJECT_DONT_REFERENCE_IT_LIKE_MAD column types.
If you know your strings are const or can be treated as const while
they are in
On Wed, 2004-11-03 at 13:26, Sven Neumann wrote:
Hi,
Gabriel de Perthuis [EMAIL PROTECTED] writes:
Le mercredi 03 novembre 2004 à 08:22 +0100, David Necas (Yeti) a écrit :
You can use a pointer -- with G_TYPE_POINTER column type.
In fact I often use G_TYPE_POINTER even for objects
On Wed, Nov 03, 2004 at 02:52:32PM +1000, [EMAIL PROTECTED] wrote:
So, what to do? Is there any canvas object currently in existence that
will fill the role I have for it (and preferrably be reintegrated into
gtk) over the next 6-12 months? Which API should I code to, and what steps
can I
Hrrm...
Todd Fisher [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04/11/2004 10:23 AM
To: David Necas (Yeti) [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: Preparing for Cairo?
Perhaps, this document will help
14 matches
Mail list logo