Craig Harding wrote:
Hi, I'm trying to change an image with another when I click on my applet
button, but it doesn't work, can anyone help me out?
CODE:
play_button = gtk_image_new_from_file (/usr/local/pixmaps/play.png);
pause_button = gtk_image_new_from_file(/usr/local/pixmaps/pause.png);
A simpler programmatic way is gtk_widget_modify_base.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andreas
Stricker
Sent: Friday, November 25, 2005 2:29 AM
To: gtk-app-devel-list@gnome.org
Subject: Re: Setting the background color of a GtkEntry
Hello all,
I have a problem with my application, that when it is started it just
output these lines:
(x:18680): Pango-WARNING **: Cannot open font file for font Bitstream
Vera Sans 10
(x:18680): Pango-WARNING **: Cannot open fallback font, nothing to do
and then it exit.
Anyone has a
Hi all
I'm new with GTK ...I created my menu manually just like I read about it in GTK
tutorial.But I don't know how do I assign key shortcuts to menu-items .In
item-factory it's pretty obvious but in manually created menu I don't know :(
I tried to figure it out but since I'm new with gtk it's
Hi , (no replay on my last post...retry...)
I have a problem using the IconView auto-dnd
(gtk_icon_view_enable_model_drag_source) and the item-activated signal.
On item-activate I show a dialog to the user, when the dialog is closed
the IconView start a drag operation incorrectly.
This is
GTK+ 2.8.8 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.8/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/
gtk+-2.8.8.tar.bz2 md5sum: a048757bbe37f74d0de065aa0ac29c52
gtk+-2.8.8.tar.gzmd5sum: 22e703d994a91c5474b6e6fd438ee905
This is a bugfix release in the 2.8.x
Actually putting in your 5 lines, replacing mine with the image swap, crashes the applet and gives
me the following output on debugging:
(xmms-applet:8282): GLib-GObject-WARNING **: instance of invalid non-instantiatable
type `invalid'
(xmms-applet:8282): GLib-GObject-CRITICAL **: file
Hi,
I opened a new enchancement request to gtk bugzilla: http:
//bugzilla.gnome.org/show_bug.cgi?id=322640 about key navigation with
reduced set of keys. The problem is simple that if gtk is used in an
environment that doesn't have full keyboard available (no
shift/tab/ctrl) key navigation
On Fri, 2005-11-25 at 07:09 -0500, Owen Taylor wrote:
On Thu, 2005-11-24 at 17:19 +, Gustavo J. A. M. Carneiro wrote:
I'm not really opposed to adding a warning to g_list_append() - after
all, there are no operations on GList where you provably *have* to
check the result - unlike GSList.
GTK+ 2.8.8 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.8/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/
gtk+-2.8.8.tar.bz2 md5sum: a048757bbe37f74d0de065aa0ac29c52
gtk+-2.8.8.tar.gzmd5sum: 22e703d994a91c5474b6e6fd438ee905
This is a bugfix release in the 2.8.x
On Mo, 2005-11-28 at 15:24 -0400, Elmano Carvalho wrote:
Hello,
I am writing an application that uses Singly-Linked Lists for adding
and removing elements on that list.
I need to go through the list, identify each element and remove them
on the go...
As the subject suggests, there's
On Sat, 2005-11-19 at 12:57 +, Mark Seaborn wrote:
I want to create an alternative implementation of GtkFileChooserDialog
that doesn't implement a file chooser window itself, but instead
invokes an external, trusted process to provide a file chooser. This
is for security purposes -- skip
Mike Hearn [EMAIL PROTECTED] wrote:
Hi Mark,
I've looked briefly at this before. A few thoughts:
* Rather than messing around with LD_PRELOAD and X proxies you really
just want to build your own patched copy of GTK+. This sort of change
is fundamental and not something you should
It's remarkably non-trivial to say what used mean for this
attribute when your intention is to silence the warning.
Works:
do { if (func ()); } while (0);
func () || 0;
func () ? 0 : 1;
func () == 0;
!func ();
Does not work:
(void)func ();
func () || 1;
func () ? 1 : 1;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pango-1.10.2 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.8/
pango-1.10.2.tar.bz md5sum: 7302220d93ac17d2c44f356d852e81dc
pango-1.10.2.tar.gz md5sum: 4298ed2fd374b26fdc98db9d5a8062a6
This is a stable release and is
Hello.
I Noticed an anti-intuitive thing.
Once I've selected a value in a combo box, I can't reset it (from an
user's POV). Is there a reason not to handle an esc press on it to
call ...set_active(this, -1) ? I know I can do it myself in my programs,
but IMVHO it should be done by the
hello All,
There is any way to show a wizard type interface using gtk.
If hav't found any idea and widget in documentation. So if any body
knows the details information about it then tell me how to create the
wizard type interface in gtk.
Rgards,
Ibrar Ahmed
On 11/28/05, Diego Zuccato [EMAIL
2005/11/28, ibrar ahmed [EMAIL PROTECTED]:
hello All,
There is any way to show a wizard type interface using gtk.
If hav't found any idea and widget in documentation. So if any body
knows the details information about it then tell me how to create the
wizard type interface in gtk.
Ahmed I
Benedikt Meurer wrote:
I Noticed an anti-intuitive thing.
Once I've selected a value in a combo box, I can't reset it (from an
user's POV). Is there a reason not to handle an esc press on it to
call ...set_active(this, -1) ? I know I can do it myself in my programs,
but IMVHO it should be done
Diego Zuccato wrote:
I Noticed an anti-intuitive thing.
Once I've selected a value in a combo box, I can't reset it (from an
user's POV). Is there a reason not to handle an esc press on it to
call ...set_active(this, -1) ? I know I can do it myself in my programs,
but IMVHO it should be done
Hello All,
I want to load an image with label in Glade. How i can do it . Any
body knows about the gtk widget which can load an bitmap with label.
Regards,
Ibrar
___
gtk-list mailing list
gtk-list@gnome.org
ibrar ahmed wrote:
Hello All,
I want to load an image with label in Glade. How i can do it . Any
body knows about the gtk widget which can load an bitmap with label.
I dont think you can do this with glade.
What you'd typicly want to do; is add a label to a widget,
and skin the widget using
Hi,
I want to display a pixmap as a background of any control or container. And
on top of that container(hbox, vbox etc) i would have any controls.
How can i achieve that using gtk+ c source code
One thing more i want the image to resize(scale) when the window is resized.
Any help would be
Hi all
I'm new with GTK ...I created my menu manually just like I read about it in GTK
tutorial.But I don't know how do I assign key shortcuts to menu-items .In
item-factory it's pretty obvious but in manually created menu I don't know :(
I tried to figure it out but since I'm new with gtk it's
ahmad hassan wrote:
Hi,
I want to display a pixmap as a background of any control or
container. And on top of that container(hbox, vbox etc) i would have
any controls.
How can i achieve that using gtk+ c source code
One thing more i want the image to resize(scale) when the window is
GTK+ 2.8.8 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/v2.8/
http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/
gtk+-2.8.8.tar.bz2 md5sum: a048757bbe37f74d0de065aa0ac29c52
gtk+-2.8.8.tar.gzmd5sum: 22e703d994a91c5474b6e6fd438ee905
This is a bugfix release in the 2.8.x
I can't get any recent Gtk applications (using Gtk 2.8.6) to work when
forwarding the DISPLAY of the applications to any SGI Octane's we have
here. It's running IRIX/6.5.15f.
Where's the appropriate place to send the details of this? And what
details should I send?
Backtrace of one of my
On Mon, 2005-11-28 at 16:17 -0800, Joe Van Dyk wrote:
I can't get any recent Gtk applications (using Gtk 2.8.6) to work when
forwarding the DISPLAY of the applications to any SGI Octane's we have
here. It's running IRIX/6.5.15f.
Where's the appropriate place to send the details of this?
Hello,
I dont think you can do this with glade.
.. there is another way ?
What you'd typicly want to do; is add a label to a widget,
I want to place a Bitmap as a background and generate some control on
top of Bitmap like a simple label placed on it, which is acting like a
image also.
I want to
Hi!
I am pleased to announce the (very alpha-ish) release of Glib::Event.
This module overwrites the poll function used by Glib by a function
compatible with the Event module.
The result is that you can now mix Glib/Gtk2 code with code designed
for the Event module, which I regard as *the*
Hello Everyone,
I have been working the last 5 days on trying to create a treeview from
a list of paths that i am getting from a database. I backed up my /data/
directory and placed each path and some info about the directory/file in
a database. Can anyone point me to a place that has an example,
Hi,
I was wondering which signal I need to intercept if I want to know when
the desktop exits while my application is still open. I tried catching
SIGHUP, SIGTERM and SIGKILL but no luck so far. (The obvious purpose of
this is to save the state of the application before it exits.)
I know
Glib provides Perl access to the GLib and GObject libraries. GLib is a
portability and utility library; GObject provides a generic type system
with inheritance and a powerful signal system. Together these
libraries are used as the foundation for many of the libraries that
make up the Gnome
On Nov 28, 2005, at 1:09 PM, James Muir wrote:
I am trying to subclass a subclass of a Gnome2::Canvas::Group, and
I can't get a method to call its parent method. I understand that
SUPER:: is not available, but the online documentation baffles me
and I'm getting the could not find signal
On Nov 21, 2005, at 3:07 PM, Peter Daum wrote:
With regular buttons, this works without a problem,
but I can't figure out any way how to receive the
button press events on the tool button.
Don't have the source available at the moment (just got in from
vacation and haven't yet started up
muppet wrote:
$self-SUPER::ripen; # does what you want.
Thanks for cutting through my confusion. I gotta check my PANEXA
prescription :-) . I was and probably still am mis-reading the
Glib::Object::Subclass and the Subclassing Widgets in Perl documents.
I'm unclear as to what the
36 matches
Mail list logo