Gaurav Jain wrote:
For the purpose of my application, I need to programmatically
determine the actual 'exposed' region of a gdk window. The exposed
region should not include any obscured regions of the window. For
example, if there's some external window in front of my application's
window,
Konstantin Evdokimenko wrote:
Use this on your expose event callback.
gdk_window_begin_paint_rect(widget-window, rect);
/* Draw something */
gdk_window_end_paint(widget-window);
And make sure that widget is double buffered (by default).
Look at gtk_widget_set_double_buffered function.
Chris Morrison wrote:
Hi all,
I am trying to write a GTK/GNOME application. It has a main window with
GtkTreeView control on to which you can drag and drop files from
Nautilus.
The code I have used to set up the widgets is:
snip
However, although the drag_drop signal is being received
I wrote:
In particular, I believe you will also need to call
gtk_tree_view_enable_model_drag_dest and/or
gtk_tree_view_enable_model_drag_dest on the tree_view.
Oops. Second one should be gtk_tree_view_enable_model_drag_source of course.
Dave
___
I wrote:
I'm also trying to make drag-and-drop work in a tree and not finding
much in the docs. The best docs I've found so far are for the Python
bindings.
Murphy's alive and well. Just twenty minutes later and my words are
wrong :) I've just found this site:
I already searched and asked for this on the GTK+/GTK+Devel lists but I
didn't get any answer, so I'll ask again: is there any way to set the font
width or height size? I mean, not the font size in points but the font width
or height in pixels. I'm doing a display in GTK+ for a POS emulator and I
Hi all!
I'd need to compute the total height of a treeview based on the
amount of rows its model has. I've tried with the following
code but I had to set some constants that obviously works in my
specific setting but I would like to know to what correspond
that unknowns.
Thanks in advance.
On 6/27/07, Dave Howorth [EMAIL PROTECTED] wrote:
Gaurav Jain wrote:
For the purpose of my application, I need to programmatically
determine the actual 'exposed' region of a gdk window. The exposed
region should not include any obscured regions of the window. For
example, if there's
David Nečas (Yeti) wrote:
Ignore the inti parts there, though. I'd rather point to
http://www.gnu.org/software/gettext/manual/gettext.html
and after groking the basic concepts, look at any
internationalized Gtk+ application as working real world
examples are better than tutorials.
I
Hi,
I've set up a motion-notify-event handler in a GtkDrawingArea, adding
the POINTER_MOTION and POINTER_MOTION_HINT event masks to the widget.
The event is triggered only when the pointer moves into the window. I'd
like to receive an event for each movement of the pointer. Is there
something
On Wed, Jun 27, 2007 at 05:46:57PM +0200, Jerome Blondel wrote:
I've set up a motion-notify-event handler in a GtkDrawingArea, adding
the POINTER_MOTION and POINTER_MOTION_HINT event masks to the widget.
The event is triggered only when the pointer moves into the window. I'd
like to receive
On Tue, 2007-06-26 at 23:27 +0200, Kai Szymanski wrote:
Sorry, german text. It say's:
test.c:6: Error: »gstring« not declared
This is because C is case sensitive. Try GString instead of gstring.
___
gtk-app-devel-list mailing list
Hi,
I'm no expert, but AFAIK that information would have to be returned by the X
server/whatever, and I expect the server will try and send the least
possible events, eg.
the smallest rectangle comprising all the surface to redraw.
Plus, IIRC expose events won't tell you what has been covered,
David Nečas (Yeti) :
On Wed, Jun 27, 2007 at 05:46:57PM +0200, Jerome Blondel wrote:
I've set up a motion-notify-event handler in a GtkDrawingArea, adding
the POINTER_MOTION and POINTER_MOTION_HINT event masks to the widget.
The event is triggered only when the pointer moves into the
On Wed, 2007-06-27 at 10:43 +0100, Dave Howorth wrote:
I wrote:
In particular, I believe you will also need to call
gtk_tree_view_enable_model_drag_dest and/or
gtk_tree_view_enable_model_drag_dest on the tree_view.
Oops. Second one should be gtk_tree_view_enable_model_drag_source of
I've poured over the GTK+ api docs and googled myself
into the ground looking for a solution to the
following issue.
I have an app that creates a window. inside this
window is an eventbox and inside that is a GtkFixed
(no slapping me for using a GtkFixed, it works well
for this purpose)
I want
Hello everyone
I am using gtk_label_set_text in a dynamic gui and label keeps on changing
around 1-2 times every second.My program crashes because of this.
Is there any way to do the same.
Thanks
Divya
___
gtk-app-devel-list mailing list
By the way, if GtkBuilder can't be used for multiple top-level widgets,
we should probably check that gtk_builder_add_from_*() are not called
twice on the same instance.
Or does merge mean something special in
Parses a file containing a link linkend=BUILDER-UIGtkBuilder UI
definition/link and
Murray Cumming wrote:
By the way, if GtkBuilder can't be used for multiple top-level widgets,
we should probably check that gtk_builder_add_from_*() are not called
twice on the same instance.
Or does merge mean something special in
Parses a file containing a link
On Wed, 2007-06-27 at 11:12 -0300, Johan Dahlin wrote:
Murray Cumming wrote:
By the way, if GtkBuilder can't be used for multiple top-level widgets,
we should probably check that gtk_builder_add_from_*() are not called
twice on the same instance.
Or does merge mean something special in
Murray Cumming wrote:
On Wed, 2007-06-27 at 11:12 -0300, Johan Dahlin wrote:
Murray Cumming wrote:
By the way, if GtkBuilder can't be used for multiple top-level widgets,
we should probably check that gtk_builder_add_from_*() are not called
twice on the same instance.
Or does merge mean
Hi all,
I am an interaction architect and active in the openUsability scene.
Some of you know me from my work on GIMP, see:
http://www.mmiworks.net/eng/publications/labels/GIMP.html
Others I have met at the last linuxTag. Hello again.
The reason I chime in here is the openPrinting project.
There was a thread on this topic -- the perils of trying to
scroll through more than about 1000 gtktreeview rows on Windows
-- a couple of years ago:
http://mail.gnome.org/archives/gtk-devel-list/2005-February/msg00089.html
If I'm making the right inference from googling subsequent
On Wed, 27 Jun 2007, Jernej Simon+AQ0-i+AQ0- wrote:
On Wed, 27 Jun 2007 15:23:12 -0400 (EDT), Allin Cottrell wrote:
(BTW, I searched today, and couldn't find a GTK 2.6 win32 binary
distribution anywhere. Tor has old stuff up to 2.4 archived, and
gnome.org has 2.8 and above. Since 2.6
With the patches referenced in
http://bugzilla.gnome.org/show_bug.cgi?id=451070 I've been able to get a
list of printers from my local CUPS server which requires SSL. However,
it takes a long time with a ~30 second wait for a response from the CUPS
server while the whole gtk app blocks. I
On 6/27/07, Vince Busam [EMAIL PROTECTED] wrote:
With the patches referenced in
http://bugzilla.gnome.org/show_bug.cgi?id=451070 I've been able to get a
list of printers from my local CUPS server which requires SSL. However,
it takes a long time with a ~30 second wait for a response from the
Hi Peter,
Nice to meet you again.
Now that we have mock-ups to show of the new concepts we are introducing
in the printing dialog, it is the right time to start working with
the UI toolkits like gtk on moving towards implementation.
I've seen those mockups at the LinuxTag and the idea to use
On 6/27/07, Mathias Hasselmann [EMAIL PROTECTED] wrote:
So I highly recommand considering those mockups for a future versions
of the printing dialog.
What future versions of the printing dialog ? We have one now, and I don't see
hordes of volunteers who are eager to rewrite it...
28 matches
Mail list logo