Hi,
Is it possible to ellipsize expander label?
The simple approach does not work for me.
expander = gtk_expander_new(NULL);
label = gtk_label_new(some longer text);
gtk_label_set_ellipsize(GTK_LABEL(label), PANGO_ELLIPSIZE_END);
gtk_expander_set_label_widget(GTK_EXPANDER(expander), label);
It
Hey All,
I'm running under Ubuntu 8.10 and want to make a simple beep -- like the
Windows Beep function which takes a frequency (in Hz) and a duration (in
milliseconds). Does anyone have a place to point me?
TIA
-Garth
--
Garth Upshaw
Garth's KidStuff
I hope this is the right list to post this query.
An application that I've built many times before is now suddenly refusing to
run. I see an error message saying:-
Gtk-WARNING: This process is currently running setuid or setgid
This is not a supported use of GTK+. You must create a helper
Hi, list.
I've noticed many widgets calculate its base size relying on font sizes (font
size, ascent, descent...) of its pango context. Thus I've tried to change
PangoFontDescription of widgets in this way just after widget creation:
context = gtk_widget_get_pango_context ( wg );
descr1 =
On Sun, Mar 1, 2009 at 9:48 AM, Vladimir Nadvornik nadvor...@suse.cz wrote:
Hi,
Is it possible to ellipsize expander label?
The simple approach does not work for me.
expander = gtk_expander_new(NULL);
label = gtk_label_new(some longer text);
gtk_label_set_ellipsize(GTK_LABEL(label),
Hello people.
I wonder how to solve this elegantly:
If I first set the day of the GtkCalendar, I sometimes hit an error
depending on the number of weeks in the following month.
If I set the month first, I have the same problem, depenging on the day
selected previously.
In both cases, the
GLib 2.19.10 is now available for download at:
ftp://ftp.gtk.org/pub/glib/2.19/
http://download.gnome.org/sources/glib/2.19/
glib-2.19.10.tar.bz2 md5sum: 2cec449d5593835b6080d662a17078ca
glib-2.19.10.tar.gz md5sum: fbae7251ba6486228a78388f829639ed
This is the a development release leading
Hi,
On Sun, 2009-03-01 at 01:01 +, Stef wrote:
This leads me to wonder if perhaps the password entry control in GTK+
might fare better as a separate widget. There's an insane amount of if
(entry-visible) in the code and alternate code paths for password entry.
I definitely think so.
On Sun, Mar 1, 2009 at 7:47 AM, Sven Neumann s...@gimp.org wrote:
Hi,
On Sun, 2009-03-01 at 01:01 +, Stef wrote:
This leads me to wonder if perhaps the password entry control in GTK+
might fare better as a separate widget. There's an insane amount of if
(entry-visible) in the code and
Hi,
On Sun, 2009-03-01 at 14:47 -0500, Matthias Clasen wrote:
Some of the recently added new features are specifically for password
entries, like the caps lock
warning.
Great, so if we had a GtkPasswordEntry, these features would not have to
live in GtkEntry. That's even better.
A
Matthias Clasen wrote:
On Sun, Mar 1, 2009 at 7:47 AM, Sven Neumann s...@gimp.org wrote:
So perhaps as a start, try to make a list of the features that are
needed, or might be useful, in a password entry?
Some of the recently added new features are specifically for password
entries, like
GLib 2.19.10 is now available for download at:
ftp://ftp.gtk.org/pub/glib/2.19/
http://download.gnome.org/sources/glib/2.19/
glib-2.19.10.tar.bz2 md5sum: 2cec449d5593835b6080d662a17078ca
glib-2.19.10.tar.gz md5sum: fbae7251ba6486228a78388f829639ed
This is the a development release leading
august,
I
can already render stuff to screen and bound a text segment by width
and height
I guess you tried PangoLayout and friends.
how to render text within a non-rectangular bounding shape?
Can someone point me in the right direction?
If I were you, I'd be using PangoItem,
Hi All,
sorry to disturb, but I seem unable to fully grasp this.
I am using glib (not full GTK+) for a server application that needs to
listen to multiple sockets/pipes.
I managed to have the GIOChannels working the way I need them.
Now I have (in some of the GIOChannel watches) a complete
Hi,
Is there a way in gtk of taking the application window and saving it
into an image (like Print screen)
Thanks,
Roei
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
I use the following subroutine to save from a pixbuf to jpeg format.
static void button_save( GtkWidget *widget,
gpointer data )
{
/* try to save the current image into a jpeg format file */
GdkPixbuf *sdata;
gboolean aaa;
GError *er = NULL;
char
On Sun, 01 Mar 2009 11:24:21 +0100
Mauro Condarelli mc5...@mclink.it wrote:
I am using glib (not full GTK+) for a server application that needs
to listen to multiple sockets/pipes.
I managed to have the GIOChannels working the way I need them.
Now I have (in some of the GIOChannel watches) a
GLib 2.19.10 is now available for download at:
ftp://ftp.gtk.org/pub/glib/2.19/
http://download.gnome.org/sources/glib/2.19/
glib-2.19.10.tar.bz2 md5sum: 2cec449d5593835b6080d662a17078ca
glib-2.19.10.tar.gz md5sum: fbae7251ba6486228a78388f829639ed
This is the a development release leading
Kevin Ryde wrote:
my @info;
ok(!!(@info = Glib-filename_from_uri($uri)));
The returns from those could be checked a little bit could they?
Tested on MSWin32: everything passes. Committed. Thanks!
___
gtk-perl-list mailing list
Kevin Ryde wrote:
Nosing around AccelGroup connects, I think the fixme comment doubting
the GClosure ref counting is ok, ie. the code is ok as it stands.
Yeah, I agree. Committed. Thanks!
Unfortunately we thus lose the occasion to imagine muppet swearing until he is
blue in the face. :-)
Kevin Ryde wrote:
Giving a bad signal name to signal_connect() seems to leak some memory.
Eg. core used by foo.pl below grows forever.
I know leaks on error conditions aren't a priority, but this one is easy
to notice. I get some joy from inserting a g_closure_unref per below.
(That's the
Kevin Ryde wrote:
In generic code, you can never be sure that calling get_property() on
an object will invoke Glib::Object::get_property(). You'd have to
fully specify the method name to be sure.
Really? It seems a bit un-oop-ish to give a full name, since if I'm not
mistaken it would bypass
On Mar 1, 2009, at 12:10 PM, Torsten Schoenfeld wrote:
Kevin Ryde wrote:
Nosing around AccelGroup connects, I think the fixme comment doubting
the GClosure ref counting is ok, ie. the code is ok as it stands.
Yeah, I agree. Committed. Thanks!
Yay!
Unfortunately we thus lose the
muppet sc...@asofyet.org writes:
You ought to be able to do this quite readily in your own perl code.
Yes, that's all I'm looking at. (The Glib pod could have some guidance,
if there's an easy answer, or a cross reference to somewhere there is
one :-)
Then again, trapped exceptions are not
muppet sc...@asofyet.org writes:
My gut reaction was we set a global default handler already, but we
don't.
I wondered if a default handler might cover what gperl_handle_logs_for()
sets up. Or maybe just offer gperl_log_handler() at the perl level so
you could pass it to set_default_handler()
Torsten Schoenfeld kaffeeti...@gmx.de writes:
There might be a lot of code out there relying
on get_property() being Glib::Object::get_property(). I still think
that's broken, since there's no guarantee that subclasses avoid naming
methods get_property.
Oh, well, you hope as a social matter
26 matches
Mail list logo