Title: active and inactive
Dear sir,
I use gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE)
to inactive the button1. It works !!!
But then when using gtk_widget_set_state(button1,GTK_STATE_NORMAL) or
gtk_widget_set_state(button1,GTK_STATE_ACTIVE)
to restore button1 active.
Hi all,
gtk_rc_get_module_dir() returns the directory which GTK+ looks for theme engines
in (see docs).
But it looks like this directory doesn't exist in built space.
What's wrong ?
Where gtk_rc_find_module_in_path() will search theme engine modules ?
Thanks for any help,
Sergey
Hi,
I would put pixmaped buttons, instead of labeled buttons.
Thus, I have made round-shaped button XPM files.
As I know I can not remove the edge space.
I used the function, gdk_pixmap_colormap_create_from_xpm_d ().
However,
even I make them transparent, buttons have the unnecessary edges.
I
Hello,
I have searched the mailinglist archive and found out that 'glib-config'
needs to be in the path. Only one problem though ... where is
glib-config? It didn't install here I think..(?) I have tried to locate
it but I can't find it anywhere. Did I do something wrong in the
install? (I
Hi,
[EMAIL PROTECTED] writes:
I use gtk_widget_set_state(button1,GTK_STATE_INSENSITIVE)
to inactive the button1. It works !!!
But then when using gtk_widget_set_state(button1,GTK_STATE_NORMAL) or
gtk_widget_set_state(button1,GTK_STATE_ACTIVE)
to restore button1 active. It fails.
Hi there:
some app such as dillo,are developed in gtk1.2. In order to render,
they use gtklayout widget.Now since xoffset and yoffset removed,the
display of apps is absnormal in Gtk 2.0 because I simple assume xoffset
and yoffset equal zero but in fact it isn't.Anything can replace
of
dear all,
for the 1st chance, i wanna introduce my self, my name
Muhaimin. indnesian. :)
i've problem with ny gtk. i've install my gtk. and the
configure file gtk, gtk-config at this location:
gtk/gtk.h - /usr/include/gtk-1.2/
gtk-config - /usr/bin/
my gtk is gtk-1.2.10 version
Are you using ` instead of ' when compiling?
Use the backquote ` instead of the quote '.
So, try using this instead:
cc namefile.c -o namefile `gtk-config --libs --cflags`
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of aminetti
Sent: Friday, April
Hi David,
Which version of gtk are you using ?
Erwann
From: David F. Newman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Solaris 8 Xinerama GDK BadMatch
Hello,
I'm not really sure where to start with regards to reporting
this problem, but the error message has GDK in it so I figure
it best
Hello,
I couldn't find anything related to this in gtk.org's FAQ nor tutorial.
Where could I find information about user-defined accelerators saving ?
I looked in Pan and Sylpheed source, but didn't find the relevant things
:-/
Thanks for any hint or pointer,
--
Colin
Dinner not ready:
I use this:
gcc -Wall -g x.c -o x 'gtk-config --libs' 'gtk-config
--cflags'
--- Daniel Morgan [EMAIL PROTECTED] wrote:
Are you using ` instead of ' when compiling?
Use the backquote ` instead of the quote '.
So, try using this instead:
cc namefile.c -o namefile `gtk-config --libs
Hi,
Nicolas web [EMAIL PROTECTED] writes:
gcc -Wall -g x.c -o x 'gtk-config --libs' 'gtk-config
--cflags'
which won't work since you need to use backticks (`) instead
of apostrophes ('). Apart from that the output of
`gtk-config --cflags` `gtk-config --libs` is equivalent to
`gtk-config
Hi all
I would like to get events on a GtkDrawingArea, especially the mouse clicks
and mouse position.
I wrote that :
gtk_signal_connect (GTK_OBJECT (MyWindow-MyDrawingArea), clicked,
GTK_SIGNAL_FUNC (MyHandler), GTK_OBJECT (file_menu));
gtk_widget_set_events (GTK_OBJECT
'clicked' is a gtkbutton signal.
mouse click signals are button press/release event signals.
- Original Message -
From: Jean-Yves Lamoureux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 12:27 PM
Subject: GtkDrawingArea signal
Hi all
I would like to get
Hi,
Jean-Yves Lamoureux [EMAIL PROTECTED] writes:
I would like to get events on a GtkDrawingArea, especially the mouse clicks
and mouse position.
I wrote that :
gtk_signal_connect (GTK_OBJECT (MyWindow-MyDrawingArea), clicked,
GTK_SIGNAL_FUNC (MyHandler), GTK_OBJECT (file_menu));
I have searched the mailinglist archive and found out that 'glib-config'
needs to be in the path. Only one problem though ... where is
glib-config? It didn't install here I think..(?) I have tried to locate
it but I can't find it anywhere. Did I do something wrong in the
install? (I
- glib:
I had a program with module loading working. Now, my code does not
work. The error reported by glib says some function (I have it defined
in the caller application) is not defined. This is, indeed weird, and I
would like to know how can I debug this to check it's problem.
- gtk+:
I had a program with module loading working. Now, my code does not
work. The error reported by glib says some function (I have it defined
in the caller application) is not defined. This is, indeed weird, and I
would like to know how can I debug this to check it's problem.
Use gdb or
On Fri, 2002-04-12 at 13:10, Szalai Ferenc wrote:
I had a program with module loading working. Now, my code does not
work. The error reported by glib says some function (I have it defined
in the caller application) is not defined. This is, indeed weird, and I
would like to know how
Ok works great, thanks a lot
Le Vendredi 12 Avril 2002 13:44, Sven Neumann a écrit :
Hi,
Have a look at the scribble-simple example in the gtk+ docs to see how
button_press events are properly handled. Basically you need something
like:
gtk_widget_add_events (widget,
On Fri, 12 Apr 2002, Erwann Chenede wrote:
Hi David,
Which version of gtk are you using ?
gtk+ 1.2.10
-Dave
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Re-Hi all
I'm looking for a way to print some text ON a pixmap.
Imagine I've a window, with a background pixmap.
How can I print text on it ?
(in other way, how can I define a background image/pixmap ?)
Thanks
--
Jean-Yves Lamoureux
Software Developper
On Fri, 12 Apr 2002, Jean-Yves Lamoureux wrote:
I'm looking for a way to print some text ON a pixmap.
Imagine I've a window, with a background pixmap.
How can I print text on it ?
You draw the pixmap in the expose event:
gint expose_event( GtkWidget *widget,
-- Message transmis --
Subject: Re: text on a pixmap
Date: Fri, 12 Apr 2002 17:46:53 +0200
From: Jean-Yves Lamoureux [EMAIL PROTECTED]
To: Chris Nystrom [EMAIL PROTECTED]
You draw the pixmap in the expose event:
gint expose_event( GtkWidget *widget,
What you can do is draw the image on a drawing area, and then draw the
text..
You can also use GtkFixed to order the layout of your widgets and put
the drawing area in it, and then put a GtkLabel on top of the drawing
area..
Or, you can create a GtkPixmap (if you are using gtk 1.2, i think that
Oh.. i forgot, you can put a pixmap on the background also...
void gdk_window_set_back_pixmap (GdkWindow *window,
GdkPixmap *pixmap,
gint parent_relative);
An then you simply put a GtkFixed and you place a GtkLabel wherever you
Hi,
did anyone made a drawing area showing on it a GdkPixmap with
transparencies? If so, please mail me.. i just can't make it.
Afonso
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
27 matches
Mail list logo