an
issue when using a non-GtkWindow root with glade_xml_new*.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jody Goldberg [EMAIL PROTECTED] writes:
On Sat, Jan 08, 2005 at 11:26:45PM +, Roger Leigh wrote:
- gnome_canvas_item_new allows one to set object properties on the
created item. However, it does not pass them to g_object_new, so
-changed
signal of either the GtkRange or the GtkAdjustment, this should tell
you if it's adjusted twice.
Does GtkRange use Pango units or something?
It's just a gdouble in the adjustment; no units.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp
signal emitted by GtkWidget? If
the key (event-key.keyval) is GDK_Left or GDK_KP_Left, do your stuff
and return TRUE, else return FALSE.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp
+ and an example using of
the GObject techniques in the GObject tutorial (you'll still need the
GObject tutorial to refer to).
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org
with
g_object_class_install_property() with G_PARAM_CONSTRUCT. See the
GObject tutorial for examples
(http://www.le-hacker.org/papers/gobject/)
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org
,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU
g_object_new() with the properties to set. You don't need to do
anything more, since it will handle setting the properties for you.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp
a GObject-based
wrapper around the Linux-PAM (Pluggable Authentication Modules)
library, and is pretty flexible.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org
On Tue, Jul 19, 2005 at 12:39:57PM +0200, The Saltydog wrote:
I need to switch (from user action) 2 different models on the same
gtktreeview.
Is it allowed?
Yes. Just call gtk_tree_view_set_model().
--
Roger Leigh
Printing on GNU/Linux? http://gimp
years
ago, and has not been kept up-to-date), such as e.g. gettext-0.14.5.
See http://bugzilla.gnome.org/show_bug.cgi?id=308769 for an example.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp
of the text
internally, which is contained within the GtkEntry object. Once you
set the text, you can safely free your copy. If it didn't work this
way, you would quickly run into all sorts of memory leaks.
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp
*fptr = (struct foo *) gptr // pointer-to-struct from
// gpointer.
Now to get the struct back, just dereference the pointer (*fptr).
Remember that gpointer is just void *.
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp
-xml = NULL;
}
[...]
GObjectClass *parent_object_class = G_OBJECT_CLASS(parent_class);
if (parent_object_class-finalize)
parent_object_class-finalize(G_OBJECT(window));
}
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net
14 matches
Mail list logo