Joe:
I program in Gtkmm so my advice may not be applicable but...
What I do to get a png file of an image is to
1. Get a pointer to the cairo context (cr) from what is passed to the
on_draw() callback from your image widget.
2. in the callback, execute cr->pop_group_to_source();
3. create a po
tps://drive.google.com/file/d/0B1s7dNPGsJ3CYlRvNTltbU1NWDA/view?usp=sharing>
[2]
https://drive.google.com/file/d/0B1s7dNPGsJ3CZWdCZkR2R1pEUEU/view?usp=sharing
<https://drive.google.com/file/d/0B1s7dNPGsJ3CZWdCZkR2R1pEUEU/view?usp=sharing>
2017-03-03 17:23 GMT+01:00 Jim Charlton <mailto:
I have no problem opening this file and deleting rows in the fan store.
I am using glade-3.20 on Ubuntu-16.10 with gtk-3.20.
Notably, this file opens but does not display its contents correctly
when I try to open it with glade-3.19 on Ubuntu-16.04 with gtk-3.18
(although it does not crash).
On 2017-01-14 01:51 PM, Eric Cashon via gtk-app-devel-list wrote:
Hi Roger,
A little while back I was testing something similar with
g_spawn_async_with_pipes(). It is neither mission-critical or meticulous but
something I was just testing for the possible use with gnuplot. There is a
drive
th Sergey, as I too find it a bit awkward to
confine drawing/rendering to the on_draw() event calls of the various
drawing areas.
jim... Jim Charlton
2016-12-30 18:15 GMT+03:00 Sergei Kolomeeyets :
Hi, Emmanuele
thanks for not leaving me alone with my first attemts to navigate throug
On 2016-12-30 05:45 AM, Colomban Wendling wrote:
Hi,
Le 30/12/2016 à 12:20, Sergei Kolomeeyets a écrit :
Hi, everyone
[…]
{draw_callback}
gboolean draw_callback(GtkWidget *area, GdkEventExpose *event, GArray
*ptLinePoints) {
That's not the right signature for the GtkWidget::draw signal: it t
In Gtkmm (C++) you can overload the on_draw() function with your own.
This might give you a foothold in the on_draw() routine that is called
after a redraw event occurs. I guess in GTK you would have to connect a
callback function to the "draw" signal. Might help.??
jim...
On 2016-11-28 0
On 16-06-06 05:05 PM, Rena wrote:
On Mon, Jun 6, 2016 at 7:23 AM, Kamalpreet Grewal
wrote:
I am developing a dialog box. I have added a treeview and two buttons in
it.
Adding the treeview to the scrolled window using:
_mainBox.pack_start(_scrolledWindow, Gtk::PACK_EXPAND_WIDGET);
where _mainB
I found that "Programming with gtkmm 3" (see
https://developer.gnome.org/gtkmm-tutorial/stable/) to be very helpful.
jim...
On 16-04-14 01:58 PM, Peter Wiehe wrote:
Hello,
I want to program C++ applications with a GUI, but I am new to Gtk+ and gtkmm
programming.
1.) What are the really imp
Replace "auto" with "Glib::RefPtr".
Then it works...
jim...
On 16-03-25 08:20 PM, Peter Wiehe wrote:
Hello!
The example in the gtkmm 3 docs is not working:
https://developer.gnome.org/gtkmm-tutorial/stable/sec-basics-simple-example.html
g++ says:
'app' does not name a type
I use:
Ubu
I use gtkmm and get screen size before opening the application window in
order to make sure it fits on the display. the equivalent gtk/gdk calls
(I think) use gtk_window_get_screen() to get the gdk window from
the gtk window. Then from the gdk window I use gdk_window_get_height()
to get
On 15-10-07 04:14 AM, Pierre Wieser wrote:
Hello,
On the application I'm currently working on [1], I want limit the size of the
text entered in a GtkTextBuffer to those saved in the DBMS, so 4096 chars.
I so connected to the 'changed' signal of the GtkTextBuffer, and the handler
is :
static vo
On 15-09-01 07:27 AM, rastersoft wrote:
In fact, I'm already using pipes and more; I can just replace the Thread
call with a fork() and everything will work fine. The only idea I see I
can use is to physically separate both process in different binaries and
use named pipes...
On 01/09/15 16:05,
code
above, you can only scroll around within the dimensions of layout2. Is
that what you wanted?
jim charlton
On 15-07-27 01:10 AM, Damien Caliste wrote:
Hello,
Le 21/07/2015, Roger Matthews a écrit :
which results from a simple straight line equation, and*/ /* that
extends beyond the b
It works fine for me on gtk3. I am running on linux and the version of
gtk3 is the most recent in the repository, I believe (3.10.8-0ubuntu1.5).
Depends: libgtk-3-common (>= 3.10.8), libatk-bridge2.0-0 (>= 2.5.3),
libatk1.0-0 (>= 2.7.5), libc6 (>= 2.14), libcairo-gobject2 (>= 1.10.0),
l
On 15-06-12 05:04 AM, Friedrich Beckmann wrote:
Hi,
I would like to use the style information from the textview widget in another
context. I want
to retrieve the text foreground color and the background color as it would be
used in a textview widget
and use this style information for rendering
ly. But I suppose that this discussion really is
more about the limitations imposed by the redraw rather than the
sampling rate or is it???
Jim Charlton
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
y XQuartz platforms.
Hope this helps,
Roger
Jim Charlton wrote:
I certainly should have mentioned that my observations were made under
the MAC OS X 10.10 (Yosemite) operating system. I too have not been
able to observe this problem under Linux (Ubuntu). As Konstantin has
pointed out, it does n
On 15-03-19 12:13 AM, Konstantin Dmitriev wrote:
2015-03-19 13:05 GMT+06:00 Konstantin Dmitriev :
Hello!
2015-03-15 22:32 GMT+06:00 Konstantin Dmitriev :
Hello, Jim!
2015-03-15 21:25 GMT+06:00 Jim Charlton :
With the default MacPorts installation of gtk3, one can set XDG_CONFIG_HOME
to /opt
On 15-03-15 10:56 AM, Konstantin Dmitriev wrote:
Sorry, forgot to forward my previous message into mailing list. ^__^
-- Forwarded message --
From: Konstantin Dmitriev
Date: 2015-03-15 22:32 GMT+06:00
Subject: Re: Fwd: Gtk3 MacOS (OSX) context menu issues
To: Jim Charlton
On 15-03-15 08:24 PM, Jim Charlton wrote:
On 15-03-15 01:49 PM, Roger Davis wrote:
Thanks for the suggestion, Jim, but no luck so far in getting any
change to my menu borders via
.window-frame, .window-frame:backdrop {
box-shadow: 6px 6px;
margin: 6px;
}
which I added to a new
like my system is flat-out never drawing any
menu borders no matter what.
Roger
On Sun, 15 Mar 2015, Jim Charlton wrote:
My experience has been that I can set the XDG_CONFIG_HOME environment
variable to the path to the gtk-3.0 directory (eg.
/opt/local/share/themes/Default) and then put both
On 15-03-15 10:40 AM, Roger Davis wrote:
Hi all,
Thanks to Jim Charlton for the nice fix (or workaround) on the context
menu problem! I've had a MacOS menu problem for some time which may be
related to this, but as it's a bit off-topic re: the context menu
thread I've start
margins will disappear on the popup menu boxes avoiding the
selection problem. No need to install an alternate theme.
Please excuse the errors in the previous posting.
jim... Jim Charlton
On 15-03-14 10:02 PM, Jim Charlton wrote:
To answer part of my own question I am using my own gtk3 theme
dea comes from https://forum.xfce.org/viewtopic.php?pid=36005.
jim... Jim Charlton
|
On 15-03-14 09:11 PM, Jim Charlton wrote:
A further note on the context menu issues
If one runs gtk3-demo and right clicks in the open pane on the lower
right a context menu opens. If one carefully slides the
roduced in April of last year...
https://mail.gnome.org/archives/commits-list/2014-April/msg01392.html ??
Or is there a way to change the css margin of popups to see if that will
cure the problem... ?? H...?
jim... Jim Charlton
On 15-03-14 09:25 AM, Konstantin Dmitriev wrote:
Hello, Jim
I forwarded to the list.
Thanks for the response.
jim...
On 15-03-14 09:07 AM, Jim Charlton wrote:
Hi Konstantin:
I wrote to the list earlier to say that I could reproduce the problem
that you have identified. I am using MAC Yosemite 10.10 in a
VirtualBox VM.
To investigate further, I
the Gtk3 and Gtkmm3 libraries. But maybe if we
keep working on it, a solution will appear. It would be good to verify
that this problem occurs on a "real" MAC and not just on a virtual machine.
Cheers...
jim... Jim Charlton,
On 15-03-05 09:17 AM, Konstantin Dmitriev wrote:
2
libraries on another machine. Go figure...??
Certainly something strange going on.
jim... Jim Charlton
On 15-03-05 09:17 AM, Konstantin Dmitriev wrote:
2015-03-03 15:01 GMT+06:00 Vest . :
Hello Konstantin,
I apologize that I probably cannot help you, but I am curious. Do you have
this issue
On 15-03-06 06:52 AM, Michael Torrie wrote:
On 03/05/2015 09:31 PM, Jim Charlton wrote:
I presume you have a callback function connected to the button press
event. Just create code to intercept the keyboard event and go to a
callback function that sees what key was pressed and then calls the
ing in programs with the user being able to
hit a select keyboard key or click the button (although I am using gtkmm3).
jim... Jim Charlton
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
fonts that I am
getting. But I just thought that I would mention that there is still
some magic going on that I, for one, do not understand.
jim... Jim Charlton
On 15-02-25 10:35 PM, Roger Davis wrote:
Hi all,
So I finally have my problem fully solved for now, and here is a
summary of the
("Sans 8");
tv1.override_font(*pfd);
This implies that GtkTextView uses pango font descriptors. Perhaps you
can use the GtkWidget.modify_font() method that will accept a
PangoFontDescription.
jim... Jim Charlton
On 15-02-25 03:56 PM, Roger Davis wrote:
Thanks, Jim, your hint on setting XD
e selected (and perhaps edited) theme
is then used over the embedded default.
If memory serves me correctly... I was able to copy themes from Linux to
the Mac and use them.
jim... JIm Charlton
On 15-02-24 11:18 PM, Roger Davis wrote:
Hi all,
I have an application suite built on gtk3 wh
On 15-02-10 12:50 AM, Murray Cumming wrote:
On Sun, 2015-02-08 at 09:08 -0800, Jim Charlton wrote:
A recent post about charting and plotting software for gtk-3.0
encouraged me to share some modifications I have made to the PlotMM
library originally made available by Andy Thaller
(http
compiles on MAC OS X 10.10 with the
gtk/gtkmm osx libraries installed.
To obtain the package, go to http://jimc.dyndns.org/Mod-Plotmm.
Jim Charlton
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk
.
Any hints as to what I might do to get my messagedialog boxes back to
normal (other than using an older version of the libraries)?
jim... Jim Charlton
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
37 matches
Mail list logo