Chris,
If I interpret what you are trying to do correctly (not necessarily a
given), then I would have thought that GtkScrolledWindow (possibly in
conjunction with GtkViewport) would be the tool for the job.
James
On 26 January 2014 14:50, Chris Angelico ros...@gmail.com wrote:
My
Another possibility would be to use g_object_set_data to give the renderer
a column number, and g_object_get_data in the handler.
On 2 June 2013 07:15, dE de.tec...@gmail.com wrote:
On 06/02/13 00:27, Arnel A. Borja wrote:
On Sunday, 02 June, 2013 01:44 AM, dE wrote:
I've set the editable
I have a program that uses a g_timeout loop to control the display of a
sequence of plots (produced via plplot), and I need to be able to change
the delay between displaying the plots.
The method I am using is this:
1. Use g_timeout_add_full to create the timeout, with the GSourceFunc as
a
On 17 November 2012 16:05, Jakub Kucharski dexc...@gmail.com wrote:
I was trying to compile my application and it appears that one documented
function called 'gtk_application_get_window_**by_id' (
http://developer.gnome.org/**gtk3/stable/GtkApplication.**
Thanks to those who send examples on or off list. With the guidance of
those I was able to figure out how the different bits fit together and get
a working code.
James
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I am currently trying to implement combobox cell renderers in the
high-level gtk-fortran code. Unfortunately unlike normal comboboxes where
there is the convenience type of GtkComboBoxText this is not available for
cell renderers.
I have hunted for examples of a working combobox that uses an
There is very little documentation that I can find explaining how
g_value_set_instance is supposed to work. Is the following anywhere near
correct?
void my_gvalue_setter( const GValue *gv,
gpointer val,
Gtype type)
{
On 5 June 2012 11:00, Ferdinand Ramirez ramirez.ferdin...@yahoo.com wrote:
I have a treeview and a scrollbar which are both within a hbox. The hbox
is within a window. When I expand the treeview, the window resizes itself
to include the whole treeview.
The biggest problem is when the
On 5 June 2012 12:50, Ferdinand Ramirez ramirez.ferdin...@yahoo.com wrote:
--- On Tue, 6/5/12, James Tappin jtap...@gmail.com wrote:
I think the solution is to place the treeview in a gtk_scrolled_window
rather than using an hbox and an explicit scrollbar.
The reason for trying out
Is it possible that having an accelerator group associated with the
top-level window of a hierarchy could prevent multiple selections in a list
widget within that window from working?
I have an application that is supposed to have multiple selections enabled
On 11 April 2012 04:36, jcup...@gmail.com wrote:
On 10 April 2012 18:33, James Tappin jtap...@gmail.com wrote:
Thanks for the suggestion. Unfortunately in this case it doesn't help. (I
have also tried gdk_display_flush and gdk_window_flush, but still the
same
story).
Here's a tiny test
On 11 April 2012 09:25, James Tappin jtap...@gmail.com wrote:
On 11 April 2012 04:36, jcup...@gmail.com wrote:
On 10 April 2012 18:33, James Tappin jtap...@gmail.com wrote:
Thanks for the suggestion. Unfortunately in this case it doesn't help.
(I
have also tried gdk_display_flush
On 11 April 2012 10:51, James Tappin jtap...@gmail.com wrote:
I'm now really confused -- I've reordered some of the code so that the
set_cursor call precedes putting a message in the status bar. And the
status bar updates but not the cursor.
OK: I think I've figured it. The problem
I have a gtk (fortran) application that displays a progress monitor while
computing, and I would like to display the busy cursor while the program is
reading a large data file.
Right now what I have is:
To define the busy cursor and GDK window (module [global] variables).
draw_window =
On 10 April 2012 10:09, jcup...@gmail.com wrote:
On 10 April 2012 16:58, James Tappin jtap...@gmail.com wrote:
call gdk_display_sync(gdk_display_get_default())
call gdk_window_set_cursor(draw_window, busy_cursor)
call gdk_display_sync(gdk_display_get_default())
My gtk2
On 10 April 2012 11:36, Michael Cronenworth m...@cchtml.com wrote:
James Tappin wrote:
Is there some other call (or calls) I should be making to force the
updates
to take place?
I use the following for widget updates during background processing:
while ( gtk_events_pending
I have a problem running a Gtk program when using the Qt style as
supplied via gtk-qt-engine and kde-config-gtk-style.
The program is a fairly heavy duty computation that uses openmp for
parallel computation and has a gtk progress monitor (which is updated
from within a critical section so it can
2011/12/11 Gary Kline kl...@thought.org:
can somebody help me figure out how to pack the buttons
horizontally, or is is not possible to mix hbox and vbox?
It should be as simple as:
make the vbox
put the various items in it, including the hbox
put the increase decrease buttons in
I'm trying to add the capability to add a label formatted with Pango
markup to buttons and menu items in the high-level interface to
gtk-fortran.
While the following is successful in producing subscripts in labels
when the markup flag is set, there is a problem with alignment: while
a plain text
On 30 November 2011 11:31, James Tappin jtap...@gmail.com wrote:
there is a problem with alignment: while
a plain text label is correctly centred in the pulldown menu, a markup
label begins at the centre (even if it does not actually include any
markup).
I should add, the problem does
Just to let folks know that the pointers here have given me the lead
in that I needed and I've got a working code. (A bit more elegant in
the Gtk3 case than Gtk2 but both work).
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
I would like to be able to make a code that draws some (possibly very
complex) vector graphics, copies it to an off-screen backing store and
then when an expose-event (Gtk2) or draw signal (Gtk3) is received,
the backing store is copied to the screen rather than doing a complete
redraw of all the
On 14 June 2011 15:00, Stefan Salewski m...@ssalewski.de wrote:
On Tue, 2011-06-14 at 14:30 -0600, James Tappin wrote:
I would like to be able to make a code that draws some (possibly very
complex) vector graphics,
A better place for asking may be the cairo mailing list? At least
While working on a script to convert the GdkEvent structures to
Fortran derived types for the GtkFortran project I came across the
following
struct _GdkEventClient
{
GdkEventType type;
GdkWindow *window;
gint8 send_event;
GdkAtom message_type;
gushort data_format;
union {
char
Hello,
I'm working on some aspects of gtk-fortran (an interface of GTK+ to
Fortran95/2003), and so need to implement things without using varargs
routines. However I'm getting unexpected behaviours. I don't think the
problem is in the Fortran interface as I can reproduce the errors in
On 17 March 2011 15:55, James Tappin jtap...@gmail.com wrote:
Hello,
I'm working on some aspects of gtk-fortran (an interface of GTK+ to
Fortran95/2003), and so need to implement things without using varargs
routines. However I'm getting unexpected behaviours. I don't think the
problem
26 matches
Mail list logo