ives from GtkContainer, you can use
gtk_container_set_border_width(GTK_CONTAINER(button), width);
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Felix Bueltmann <[EMAIL PROTECTED]> writes:
> On Mon, 2005-01-24 at 16:47 +0000, Roger Leigh wrote:
>> On Mon, Jan 24, 2005 at 04:49:04PM +0100, Felix Bueltmann wrote:
>>
>> > Is there a way to change the distance be
to look into libglade itself yet.) This is probably only 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/
the gladewin32 GTK+
packages. It seemed to work OK, though my canvas objects didn't seem
to receive every GdkEvent (particularly GdkEventCrossing) they should
have, making it a little more difficult to use than under X11. The
basic functionality seemed to work just fine, howev
n to update
handlers in disparate objects. The other objects in cse/cse-*.[ch]
and uterm/uterm-*.[ch] are other objects (including widgets) derived
from other GObjects. There's some documentation in doc/api/.
I don't claim to be an expert though!--this is the first project I've
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Todd Fisher <[EMAIL PROTECTED]> writes:
> Roger Leigh wrote:
[libgnomecanvas]
>> I built it against GTK+ 2.4 on Windows a few weeks ago using
>>MSYS/MinGW and the gladewin32 GTK+ packages. It seemed to work OK,
>>thou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jody Goldberg <[EMAIL PROTECTED]> writes:
> On Sat, Jan 08, 2005 at 11:26:45PM +0000, Roger Leigh wrote:
>> - gnome_canvas_item_new allows one to set object properties on the
>> created item. However, it does not pass the
two.
Some distributions (e.g. Debian) are never going to support biarch.
http://www.linuxbase.org/~taggart/multiarch.html
http://raw.no/debian/amd64-multiarch-3
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian G
:
http://www.whinlatter.ukfsn.org/gtk/uterm-0.1.0.tar.bz2)
Many thanks,
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 encry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roger Leigh <[EMAIL PROTECTED]> writes:
> This might sound a little vague, but I'm having problems with my
> canvas widget grabbing keyboard focus. The canvas is packed into a
> derived GtkTable which is packed into a GtkNote
roblem?
If you connect a handler that prints a message to the "value-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.
ow I can create a new one with
> g_signal_new but I am looking for a simpler way.
Have you tried the "key-press-event" 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.
Rega
_warnings set in the environment.
It'll abort when this point is reached, and you can then get a
backtrace etc..
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
t;. It's
supposed to be both an introduction to GTK+ 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/
e set for the
object. These are object properties installed 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-pr
get_get_parent() in GTK+ 2.x.
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 and encrypt your mail.
-BEGIN PGP SIGNATUR
n bar_set_property() ? That way sounds a little
> too complicated so I think I'm missing something.
If "x" and "y" are properties of the parent Bar class, simply call
g_object_new() with the properties to set. You don't need to do
anything more, since it will handl
elieve it would must to
> mess with the private hash_tables of GladeXML object, or something
> like that ).
This does beg the question, "why?". It might be possible, but I
seriously doubt that it's sensible.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/
asily adapt this to your needs. This is basically 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/
Debia
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?
(it should be removed and replaced with a
wrapper around autopoint).
Now that gettext provides "autopoint", there is no need for
glib-gettextize. glib-gettextize doesn't exploit the features of
current gettext releases (it was forked from gettextize several years
ago, and has not been
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Stricker <[EMAIL PROTECTED]> writes:
> Roger Leigh wrote:
>> Now that gettext provides "autopoint", there is no need for
>> glib-gettextize. glib-gettextize doesn't exploit the features of
>> cu
ry chunk,
> changing the text in the GtkEntry. Am I right?
No. gtk_entry_set_text() will keep its own copy 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
ct
struct foo *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
->xml)
{
g_object_unref(G_OBJECT(window->xml));
window->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
r for libglade
to dlopen and introspect your running program.
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 and encrypt
26 matches
Mail list logo