I've found that if I disable a button after a click on it
(gtk_widget_set_sensitive(button, FALSE)), and then enable it back after
a timed event or something else occurs (...set_sensitive(button, TRUE)
), I'm unable to click on the button with the mouse pointer unless I
exit with the pointer
Does anyone know how to find out whether a vertical scrollbar is present
on scolled window or not.
I need to detect its presence at runtime.
below is the code which i tried to find out.but it is not working as
expected.
line 3 is always returning false.irrespective of vscrollbar presence.
1.
Gabriele Greco wrote:
I've found that if I disable a button after a click on it
(gtk_widget_set_sensitive(button, FALSE)), and then enable it back after
a timed event or something else occurs (...set_sensitive(button, TRUE)
), I'm unable to click on the button with the mouse pointer unless
amol wrote:
Does anyone know how to find out whether a vertical scrollbar is present
on scolled window or not.
I need to detect its presence at runtime.
below is the code which i tried to find out.but it is not working as
expected.
line 3 is always returning false.irrespective of vscrollbar
When I bring focus to a GtkEntry, all of its text gets selected by default.
How can I disable this behaviour?
I want the text to remain un-selected and cursor in the end.
Thanks
Anurag
_
Tried the new MSN Messenger? Its cool!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Jan 03, 2007 at 12:18:17PM +0100, [EMAIL PROTECTED] wrote:
Hello!!
hello!
(please, keep the list CC'ed so that others may lurk/chime-in)
I'm new in this treatment, but your help is good for me.
Glad it is :)
I compile your code in a
I want to convert GtkWidget into GdkPixbuf. Is there any way to do that?
I am trying to write an application in which i have a top-level widget
which has some data (text and images) . I want to have panning and
zooming support for that window.
Thanks and Regards,
Sanny Chawla
Yo tomas!
OK, here is a rough sketch (tested). As soon as the pointer crosses the
window boundary (inward), it is grabbed (the app changes the cursor's
appearance to show it). WARNING! IT IS A TRAP! Once your pointer is
inside, you won't be let out. See to it that you have a console around
Greetings!
When you program with GTK+ (or GLib) with C, sometimes there's a need
for temporary dynamically-allocated variables. The problem is to free
them in the right time — or worse — having to use even more auxiliary
variables, like in the example below:
gchar *func(void) {
gchar *temp =
Greetings,
In my application I have to save the contents of a widget to a PNG
file. So far it works (using GDK Pixbuf and gdk_pixbuf_save), but
garbage appears if the window is obscured by another window, or if
some part of it is hidden.
How can someone get a GtkWidget's GdkWindow in a way no
Ed Catmur wrote:
You've discovered bug 56070[1]. There are some workarounds at the bug, but
we're fairly close to getting it fixed in GTK+.
After a complete read of the thread I've implemented the workaround
based on the window motion events capture, seems to work correctly both
on linux
On Wed, 2007-01-03 at 13:02 -0200, Leandro A. F. Pereira wrote:
Greetings!
When you program with GTK+ (or GLib) with C, sometimes there's a need
for temporary dynamically-allocated variables. The problem is to free
them in the right time — or worse — having to use even more auxiliary
You can use the focus signal to set the cursor position using
gtk_editable_set_position with a position of -1 to indicate the end of
the text.
- Micah Carrick
http://www.micahcarrick.com | http://www.gtkforums.com
Anurag Chaudhary wrote:
When I bring focus to a GtkEntry, all of its text
Hi,
Is it possible to add tooltip to individual GtkCList rows?
Regards,
Preeti
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Thu, 2007-01-04 at 09:00 +0530, Preeti Joshi wrote:
Hi,
Is it possible to add tooltip to individual GtkCList rows?
Um, you do realise GtkCList is deprecated? You should be using
GtkTreeView with a GtkListStore.
That said, the answer to your question is: Not yet. See
The real problem is not setting the cursor position but the automatic
selection of the text in the GtkEntry field.
The text should remain un-selected when focussed.
From: Micah Carrick [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: gtk-app-devel-list@gnome.org
Subject: Re: GtkEntry text
On Thu, Jan 04, 2007 at 10:31:15AM +0530, Anurag Chaudhary wrote:
The text should remain un-selected when focussed.
gtk-entry-select-on-focus = 0
in gtkrc?
Yeti
--
http://physics.muni.cz/~yeti/pf2007.png
___
gtk-app-devel-list mailing list
This will change the behaviour for all the Gtkentry widgets system wide. Can
something be done for just one specific widget?
Anurag
From: David Neèas (Yeti) [EMAIL PROTECTED]
To: gtk-app-devel-list@gnome.org
Subject: Re: GtkEntry text selection
Date: Thu, 4 Jan 2007 07:52:02 +0100
On Thu,
18 matches
Mail list logo