I've been happy with my xps-13, fwiw.
https://arstechnica.co.uk/gadgets/2017/01/dell-xps-13-ubuntu-review-2017/
It's £1200 for the one with Ubuntu pre-installed. Fedora works well
too, apparently.
John
___
gtk-app-devel-list mailing list
ou have
your project buildable via cmake or autotools, it should be simple to
adapt.
https://github.com/jcupitt/build-win64
John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 10 March 2017 at 15:48, Rúben Rodrigues wrote:
> Yes, i'm using GtkPlot! SO, I think I'm unable to migrate this to gtk3
> because of graphs. SOmeone who knows something about this charts?
> http://madebyryan.blogspot.pt/2011/08/smooth-curves-for-gtk-chart-component.html
You need to set the malloc routines to use the real system malloc;
export G_DEBUG=gc-friendly
export G_SLICE=always-malloc
I have this suppressions file:
https://github.com/jcupitt/libvips/blob/master/libvips.supp
That's for a gobject-based library, you might need
On 22 May 2016 at 10:57, Florian Pelz wrote:
> On 05/22/2016 11:54 AM, jcup...@gmail.com wrote:
>> x = gtk_combo_box_new_text();
>> g_signal_connect(x, "scroll-event", G_CALLBACK(true_cb), NULL);
>> ...
>
> Ah yes, this is a much better way.
I'm not sure it'd work for
On 22 May 2016 at 07:36, Lokesh Chakka wrote:
> Is there a way to disable mouse scroll on GtkComboBox and GtkSpinButton
> widgets ?
Yes, the mouse wheel to change the combo drives me CRAZY.
It means you can't use the mouse wheel to scroll a window that
contains
I believe (I think) signals and properties are found at build time by
starting up your library and walking the classes you define.
You need to add a bit more machinery to your Makefile.am to help it
run g-ir-scanner for you. There's a page on the wiki about this:
Oh dear, I'm sorry, I've been fiddling with gobject-introspection too
much recently. Of course you don't need introspection to generate
gtk-doc output.
I don't know why your signal documentation is not being generated.
On 20 December 2014 at 13:10, jcup...@gmail.com wrote:
I believe (I
On 8 December 2014 at 15:27, Johannes Deutsch j_deut...@web.de wrote:
I use goffice for this kind of thing. It's the plot library from
gnumeric, so any plot you can make in gnumeric, you can make with
goffice.
Do you know if it's safe to consider goffice for applications based
on gtk3 that
On 2 December 2014 at 16:17, Sergei Naumov vo...@rambler.ru wrote:
I think this question was asked many times but googling gives a rather patchy
answer to it. So, I am writing a piece of C code that acquires some data from
hardware controllers and it also has to plot a few simple graphs and
Hi all,
I'm using g_spawn_command_line_sync() to run a series of command-line
programs (actually ImageMagick's convert, if that's important).
It works fine, but on Windows I get an incredibly annoying console
window flash up for a fraction of a second for each command. Does
anyone have any good
On 3 July 2014 15:26, Allin Cottrell cottr...@wfu.edu wrote:
On Thu, 3 Jul 2014, Michael Cronenworth wrote:
On 07/03/2014 08:33 AM, jcup...@gmail.com wrote:
Yes, I'm doing that. It all works and I can capture stdout and stderr
from the convert.exe I'm running, it's just that I get a very
which displays a live video image with an
overlay. It's in Python for gtk2, but gtk3 is (almost) the same,
except for the drawing model for the overlay. It runs at about 50fps
with not too much CPU load on my laptop.
https://github.com/jcupitt/rtiacquire/blob/master/rtiacquire/preview.py
Here's a tiny, complete program that does almost what you want. It's
gtk2, but should work fine with gtk3.
It just updates a status bar, but it'd be easy to make it do a textview instead.
John
___
gtk-app-devel-list mailing list
Oh dear, I think my attachment got munched (thanks Chris).
Try here:
http://pastebin.com/PsG2UDkY
On 4 December 2013 13:31, jcup...@gmail.com wrote:
Here's a tiny, complete program that does almost what you want. It's
gtk2, but should work fine with gtk3.
It just updates a status bar,
I have a valgrind file here I use for my large gtk2 program:
http://www.vips.ecs.soton.ac.uk/development/nip2a.supp
I get clean runs with this file. Run with something like:
export G_DEBUG=gc-friendly
export G_SLICE=always-malloc
valgrind
, I did a music player that pulses a set of
lightbulbs in time:
https://github.com/jcupitt/huebert/blob/master/huebert/controller.py
Every method starts with:
logging.debug('methodname: parameters')
And I debug by running with logging enabled and dumping the output to a file:
./huebert.py
On 14 June 2013 07:29, Kip Warner k...@thevertigo.com wrote:
Hey Tristan. I see what you mean, but I think I should have provided
more code to show that what I was actually doing I think was what your
followup suggestion was. Namely do some short work, update the GUI, do
some more short work,
Hi Kip,
On 13 June 2013 06:40, Kip Warner k...@thevertigo.com wrote:
If I start the long job function from within my assistant's prepare
signal callback, as opposed to en-queueing it there via idle_add(), then
the GUI doesn't refresh throughout the duration of the long job. This
happens even
self.progress.update(percent)
hide progress feedback
mark gui active again
Code here, if it's any help:
https://github.com/jcupitt/rtiacquire
John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
Hi Tom,
On 2 June 2013 13:12, Thomas A. Moulton t...@moulton.us wrote:
Am I missing something?
If I use GtkBox it seems that once I add a child I can't get access to it's
address any more (GtkWidget *)
So if I create a box with some things in it in glade I really can't do much
with them.
Hi Kip,
On 22 May 2013 01:17, Kip Warner k...@thevertigo.com wrote:
How can I have this image widget added to the parent such that it is
always vertically aligned with the top of the page, but keeping the
other child box below it still vertically centred? I've tried wrestling
with Glade, but
Hi Paul,
On 18 March 2013 21:22, Paul Stelzig paul.stel...@reell.com wrote:
Is there a way make the screen saver wake up without a key press or mouse
movement? My program is written in C with GTK+ 3.0 I'm running on Linux Mint
13 with the mate desktop. The program is monitoring a inputs
Hi Mariano,
Just call gtk_menu_popup() and it'll position the menu away from the screen
edges for you.
https://developer.gnome.org/gtk3/stable/GtkMenu.html#gtk-menu-popup
John
On 13 March 2013 04:05, Mariano Gaudix marianocordobar...@gmail.com wrote:
Hello how i can determine the size of
Hi again,
You can connect to the map event. This happens after the window has been
realized and just before the window appears on the screen, so the size has
been calculated.
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-map
In ::map, change window x/y to move it away from
your program with gcc-mingw-w64.
If you have many other dependencies, jhbuild is very convenient. I
have a repro here which builds a setup.exe installer for a large
application, including a lot of deps.
https://github.com/jcupitt/build-win32/tree/master/7.30
John
/jcupitt/nip2/blob/master/src/main.c
search for main_register_icons(). You're welcome to borrow any bits
that look useful.
John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 13 December 2012 11:21, Mateusz Marzantowicz
mmarzantow...@osdf.com.pl wrote:
I'm writing very simple application in Python using pygobject. I'm using
What I've observed is that GUI (menu to be specific) freezes till my
callback function finishes. It's completely unacceptable for GUI
This
On 6 October 2012 15:48, Filip Lamparski matka.pooha...@gmail.com wrote:
However, the thumbnail loading process takes a long time, so I want to put
it into another process, with the GUI displaying a spinner or a progress
bar until the loading finishes.
Sorry, I don't use Python much, but in C
Sorry I missed the process bit.
To have the load in another process, use a pipe to send worker results
back to the main process, and add the pipe to your gtk main loop as an
event source.
You obviously can't use any gtk/glib stuff in your worker, you'd need
to just make a .jpg, then do all the
On 26 September 2012 07:09, Arne Pagel a...@pagelnet.de wrote:
Do you see any other option?
Have you tried setting the fixed-height hint on the treeview?
By default treeview supports variable-height rows. This is great, of
course, but there is a performance penalty: whenever the model
changes,
On 6 September 2012 13:01, Rudra Banerjee bnrj.ru...@yahoo.com wrote:
I am thinking of possibility of parsing a bibtex file with gkeyfile
parser. bibtex has the structure like:
@Book{a,
Author=b and q and r, s ,
Editor=c,
Title=d,
}
GKeyFile syntax is not much like
Hi Rudra,
On 23 August 2012 13:45, Rudra Banerjee bnrj.ru...@yahoo.com wrote:
whenever I am writing, it is saved, but to see the change, I have to
reopen the file(obviously).
What do you need to know? Do you want your textview to update as the
file changes?
If your program is appending to the
On 24 August 2012 14:41, Rudra Banerjee bnrj.ru...@yahoo.com wrote:
I am sorry but I really don't know how to write on a buffer.
I append to a textview like this:
void
log_text( Log *log, const char *buf )
{
GtkTextView *text_view = GTK_TEXT_VIEW( log-view );
GtkTextBuffer
Hi again David,
On Friday, 6 July 2012, David Buchan wrote:
When the user presses a button, an idle function is begun to watch a flag
which will tell it a message has been left in a string for it by a worker
thread. The worker thread is then started. It will produce results to be
On 6 July 2012 14:49, David Buchan pdbuc...@yahoo.com wrote:
If I understand the first solution correctly, we're creating a separate idle
function for each message. If the worker thread gets a bit ahead of the GUI
updates, then a few idle functions might pile up. ok. But one thing I don't
complicated and I've misunderstood
:( I use semaphores for hairier thread synchronisation problems.
http://en.wikipedia.org/wiki/Semaphore_%28programming%29
I have a set of simple semaphore functions over the g_thread primitives:
https://github.com/jcupitt/libvips/blob/master/libvips/iofuncs
Hi Igor,
On Tuesday, 3 July 2012, Igor Chetverovod wrote
Hi David,
probably you should use macros:
gdk_threads_enter ()
gdk_threads_leave ().
Those macros were used to lock the main gdk thread in earlier versions of
gtk if you wanted to call gtk_ functions from many threads. They are now
On 2 July 2012 15:44, Gabriele Greco gabriele.gr...@darts.it wrote:
I'm posting the code here before creating a bugzilla entry for it since I'm
not sure I can use g_idle_add to notify a new frame is available without
freeing the source, that works in linux and in older WIN32 versions and it
On 16 June 2012 01:33, Eric Tavenner estaven...@gmail.com wrote:
I am trying to teach myself C++. My goal is to be able to write code for
the same app in either Linux or Windows, and compile for both from the same
code. Is this possible?
Yes, I have a largish C/C++ program which I can build
Hi again Osmo,
On 31 May 2012 17:50, Osmo Antero osm...@gmail.com wrote:
Jcupitt:
Ok, g_idle_add() seems to need protection by gdk_threads_enter() and
leave().
Ref:
http://developer.gnome.org/gdk/stable/gdk-Threads.html#gdk-threads-add-idle
That's out of date. g_idle_add() does not need any
On 1 June 2012 20:41, Chris Vine ch...@cvine.freeserve.co.uk wrote:
jcup...@gmail.com wrote:
That's out of date. g_idle_add() does not need any locking by you.
I think you may be confusing this with the fact that with glib = 2.32
it is no longer necessary to call g_thread_init() to make glib
On 31 May 2012 07:11, Osmo Antero osm...@gmail.com wrote:
The actual code has also a LockedCounter (mutex controlled) object
that feeds each thread with a unique sequence number. Only the thread
with highest sequence number can tick and change the GUI, others will
simply die away.
I expect
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 program that works for me with gtk2. It just uses:
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 program does this with:
Hi Roger,
You should do all drawing in the expose handler and nowhere else.
Don't do any direct drawing in your data hander, instead update your
model and queue an expose event.
On 7 April 2012 02:16, Roger Davis r...@soest.hawaii.edu wrote:
presumably this includes the GtkDrawingArea widget as
Hi Jim,
On 2 April 2012 17:00, Tilton, James C. (GSFC-6063)
james.c.til...@nasa.gov wrote:
When I place the cursor in one of the display images, I would like to have a
cross hair appear at the cursor location of the window in which the cursor is
placed at the location currently pointed to by
On 4 April 2012 15:37, Tilton, James C. (GSFC-6063)
james.c.til...@nasa.gov wrote:
Your response is very helpful. The one key question that remains for me is:
How do I draw a floating crosshair?
You need to do it by hand, unfortunately, though it's not so hard (I think).
The trick (in my
Hi Michael,
Unfortunately I don't think this is easy.
You need o do some kind of crazy hack, like realizing but not mapping
the dialog, measuring the size you get, guessing the amount of chrome
the theme is adding from that, then setting the default window size
and finally mapping. I'd love to
Hi John,
On 6 March 2012 09:38, John Emmas john...@tiscali.co.uk wrote:
We're using GTK+ v2.20.0 which was current at that time. The Windows version
has a peculiar problem
The problem affects any scrollable / draggable object but the easiest
example to explain is probably a scroll bar.
Hi Roger,
On Saturday, 3 March 2012, Roger Davis r...@soest.hawaii.edu wrote:
I then downloaded those sources and first built glib 2.27.93 with a
simple './configure --prefix=/usr; make; make install;'. That went fine,
Oh dear, I think you may have broken your system. You've overwritten files
Hi Roger,
I moved a medium-sized (100k lines) application from Motif/X11 to gtk+
a while ago.
As you say, gdk_ is a thin layer over the X11 drawing system, so
converting that is pretty easy. Gdk has quite a few helpers too, eg.
stuff for rendering a 24-bit image to whatever visual the server
On Monday, 16 January 2012, Nick Belshaw nick.s.bels...@googlemail.com
wrote:
I would like to implement a progress-bar to make clear to users stuff is
happening.
Specifics involve loading and pre-processing of files. Some files might be
very big requiring some 10's of seconds to do all stuff.
Hi Gary,
On 8 January 2012 02:49, Gary Kline kl...@thought.org wrote:
o am trying to have a run button fork off a new gvim and increase
a global counter after the first gvim is closed. my main gtk goes
dark and nothing responds in this case. i don't know if every
If you do this:
On 16 December 2011 08:17, Gary Kline kl...@thought.org wrote:
i've asked what i thought were straightforeward quwstions recently.
zip. am i getting thru?
The last mail I see from you in my mail archive is 2 days ago, saying
thanks to Florian. Were there some more since then?
John
2011/12/16 John Lindgren john.lindg...@aol.com:
Lately I have been trying to improve the performance with large
playlists (i.e. on the order of 100,000 entries). The one remaining
problem spot seems to be GtkTreeView. I am attaching a simple test
program that creates a GtkTreeView with 3
On 16 December 2011 10:36, jcup...@gmail.com wrote:
2011/12/16 John Lindgren john.lindg...@aol.com:
Lately I have been trying to improve the performance with large
playlists (i.e. on the order of 100,000 entries). The one remaining
problem spot seems to be GtkTreeView. I am attaching a
Hi Gary,
2011/12/11 Gary Kline kl...@thought.org:
well, i've reached a stumbling block. the app i am working
on had things is a vertical stack. so far, there about 6
rectangles. the first shows the default title and the
count: Something like talk.0.txt
Here's a
Hi Marcelo,
On 10 December 2011 23:05, Marcelo Elias Del Valle mvall...@gmail.com wrote:
Imagine the following scenario: the application running on my web
server spends 20k of memory for each concurrent request. If I have
enough concurrent requests in a way it will consume more memory than,
Hi Gary,
On 8 December 2011 01:00, Gary Kline kl...@thought.org wrote:
i'll need a play button and callback that invokes, say,
espeak -f on that file.
Make a play button with gtk_button_new_from_stock(GTK_STOCK_PLAY):
On 7 December 2011 09:16, Geert Janssens i...@kobaltwit.be wrote:
I am now having problems to set the focus on this widget programmatically. In
this particular use case, the widget is added to a GtkAssistant, and during
the prepare of the page showing this widget, I call a gtk_widget_grab_focus
*button, Rowview *rview )
{
do_stuff( rview );
}
Source here, along with some other stuff. It's only 100 lines or so.
https://github.com/jcupitt/nip2/blob/master/src/gtkutil.c
John
___
gtk-app-devel-list mailing list
gtk-app-devel
Hi Craig,
On 3 November 2011 08:07, Craig craigbakal...@verizon.net wrote:
Is there a list of linux flavors like Ubuntu, KDE, Red Hat... that
include or don't include gtk? And, let's say that a type of linux
I think all will include gtk, either as part of the standard install
or available via
On 3 October 2011 01:37, Craig craigbakal...@verizon.net wrote:
I am about to try to use GLib in a Bison file, mainly calling
functions on the GList Object. I have never tried this before. Will it
work? Are there any threading issues?
Bison and flex don't use threads, so no, there's no
I posted this the last time this subject came up (twice last year, I
think), but I made this valgrind suppression file for my project:
http://www.vips.ecs.soton.ac.uk/development/nip2.supp
Run with:
$ export G_DEBUG=gc-friendly
This makes Glib clear certain memory areas after using
Hi Tom,
On 20 September 2011 11:38, Thomas Harty t.har...@physics.ox.ac.uk wrote:
Running like that, I still get quite a few leaks detected by valgrind. Some
of them are created by g_type_add_interface_static, which looks like another
type_init leak, which we can safely ignore. So, I've
That lets you detect ctrl-esc anywhere on the desktop. If you only
need to detect crtl-ecs within your window you can just set
ControlEscape as an accelerator, see:
http://developer.gnome.org/gtk3/stable/gtk3-Keyboard-Accelerators.html
On 30 August 2011 06:33, czk czon...@gmail.com wrote:
try
Hi Andrew,
You can add an accelerator to a window and it'll be called when that
key combination is pressed. It doesn't need to be associated with a
widget.
However I think it's generally considered good form to have a menu
item somewhere with the accelerator as a shortcut. That way the user
can
On 30 August 2011 15:22, Andrew Wood a@me.com wrote:
How would you link it directly to the window then rather than to a widget?
You can link a GClosure to a key press with this:
http://developer.gnome.org/gtk3/stable/gtk3-Keyboard-Accelerators.html#gtk-accel-group-connect
Parse ctrlesc to
On 19 August 2011 16:13, Michal Suchanek hramr...@centrum.cz wrote:
https://bugzilla.gnome.org/show_bug.cgi?id=656816
Could you explain the combobox navigation bug a little more? It seems
to work for me.
If I open GIMP preferences (for example) and tab to one of the
comboxboxes there I can use
Hi Ferdinand,
I want to create a small set (say
5-10 symbols) of custom glyphs and want these symbols to be
part of the alphabet of a fictional language. I also want to
assign unused unicode values to these symbols and want these
symbols to appear on my application as well as the terminal
On 11 March 2011 12:23, Craig Bakalian craigbakal...@verizon.net wrote:
I don't know if this is the right place to complain about this, but ever
since I update to 11.04 I have not been able to use Anjuta IDE.
Hi Craig,
11.04 is still in development and is not finished. You should expect
many
On 24 February 2011 22:57, James Morris jwm.art@gmail.com wrote:
I am wondering if in this case, as there is no extra data to destroy,
is it really necessary for me to specify the destroy function?
Put another way, by specifying the destroy function, am I duplicating
by 'over-riding' the
On 16 February 2011 04:48, Rendaw ren...@zarbosoft.com wrote:
As a side note, does gdk_window_process_updates() preserve mouse motion
events when the MOTION_HINT mask is set? I also had motion event queuing
problems (I would stop moving the mouse but the screen would continually
redraw for a
I posted this the last time this subject came up (twice last year, I
think), but I made this valgrind suppression file for my project:
http://www.vips.ecs.soton.ac.uk/development/nip2.supp
With this, I get no reported leaks in my huge (200,000 lines of C)
application on Ubuntu with current
On 7 January 2011 11:33, John Emmas john...@tiscali.co.uk wrote:
Although I can now change the button's label font, the new font seems to be
quite transitory and certain operations seem to reset it. For example if
(later) I change the label's text (e.g. if it currently says This message
I agree, I was just trying to keep it simple.
On Tuesday, 4 January 2011, Jaroslav Šmíd jardas...@gmail.com wrote:
Don't do that. Fixed size buffers are evil for string formatting. You better
use g_strdup_printf even though this would lead to reallocations. But much
better then end up with
Hi John,
On 2 January 2011 13:17, John Emmas john...@tiscali.co.uk wrote:
As an example, let's say I wanted a button whose label needed to be at the
top of the button, rather than in the centre. I use either a separate label
or a graphical image to achieve this.
You can just set the
On 2 January 2011 15:39, John Emmas john...@tiscali.co.uk wrote:
To be honest, all I'm trying to do is create a button whose label font can be
changed on demand. I've managed to achieve it by using an empty button with
a label on top, except that the label doesn't always stay on top!
Ah,
On 27 November 2010 11:14, Jaroslav Šmíd jardas...@gmail.com wrote:
Is it possible to cancel construction in gobject-derived class?
I don't think so. Lots of code (including code inside gobject) assumes
that g_object_new() always returns a valid pointer.
I handle this by having a more
On 19 October 2010 06:22, Vishak V. Kurup vishak.ku...@nestgroup.net wrote:
I am having a small problem related to GTK. My application is having
around 15 windows. When I start my application and check the memory
usage using top utility it shows around 19MB. When a new window is
created it
On 14 September 2010 15:48, Dmitry Kruglov i...@midisa.org wrote:
5. I want to work with the database and use the Grid in different
windows: http://gtkextra.sourceforge.net/
I think you'll find that the standard gtk treeview widget is better
for this. For example, if you use Rhythmbox, the main
On 11 August 2010 02:14, Allin Cottrell cottr...@wfu.edu wrote:
rid of GdkGC. I'd imagine that the effect I'm after is something
that many GTP apps have need of, and it's trivial to achieve with
the GDK API.
I've found that XOR rubber banding is quite hard to do reliably in
gdk. The problem
2010/7/28 c-aries babyari...@gmail.com:
Hi all. Can someone show me how to implement my own window decoration?
Such as removing the title and resize buttons, adding background picture in
the window decoration.
You can use gtk_window_set_decorated() to turn off the usual window decorations:
On 4 July 2010 16:50, John Emmas john...@tiscali.co.uk wrote:
operation being processed. Neither of those is quite what I need. I'm
looking for is a function that will force a window to be repainted at once,
before any other pending events get processed.
There's
Hi John,
On 2 July 2010 16:04, John Emmas john...@tiscali.co.uk wrote:
Now for the problem when in playback mode, I'd like the viewport to
have a vertical now line (similar to the play head on a tape recorder).
I doubt I count as brainy, but one simple technique would be to render
the
On 11 June 2010 11:50, Matthew Allen l...@sydneyband.com.au wrote:
I'm trying to translate co-ordinates from local widget space into screen
space and back again. Is that possible with GTK?
You can use _get_allocation() to get the size and position of a widget
within it's parent:
On 9 June 2010 06:16, Matthew Allen l...@sydneyband.com.au wrote:
GtkWidget *vp = gtk_viewport_new(GTK_ADJUSTMENT(h), GTK_ADJUSTMENT(v));
if (vp)
{
On a tiny style point, by design gtk cannot get out of memory errors.
You can set a handler to run on out-of-mem, and allocations you
On 8 June 2010 23:22, Tomasz Sterna to...@xiaoka.com wrote:
I am using the following code (stripped):
8
drawing = gtk_drawing_area_new ();
gc = gdk_gc_new (drawing-window);
image = gdk_image_new (GDK_IMAGE_FASTEST,
gdk_visual_get_system(), w, h );
On 9 June 2010 12:40, Matthew Allen l...@sydneyband.com.au wrote:
the problem I have now is that because I'm catching the configure-event
on the GtkWindow (to adjust my internal position/size variables) the
scrollview doesn't update to the client area of the window as I resize it.
That's an
On 25 May 2010 16:20, Adam Chrapkowski adam.chrapkow...@gmail.com wrote:
I have written a GTK+ based application and I need to redistribute it on
Windows (I'm Ubuntu user).
I'd add another bit of advice to Tor's excellent mail: cross-compile
from linux with mingw. It really is much faster and
Hi,
2010/1/20 Manu TM manutm...@gmail.com:
I'm having troubles debugging a multithreaded gtk app I made.
Basically, the app looks like this:
You need to post a complete small program that people can compile and run.
Though from your fragment it doesn't look like you are using threads,
just
Hi Garth,
2010/1/14 Garth's KidStuff garthskidst...@gmail.com:
I build the same source on both 32-bit and 64-bit machines running various
versions of ubuntu (64-bit is only 9.04 and 9.10) and on the 32-bit builds I
see the menu item bitmaps, but on 64-bit, I don't.
Ubuntu 9.10 has removed
2009/10/22 Lars Wirzenius l...@liw.fi:
* when you create and add the menu item, keep a reference to it
* when you remove it, call the function to remove a child from the
container; with the Python binding's it's just the .remove(menuitem)
method, but in C I guess it's gtk_container_remove.
2009/10/21 Peter Daum gator...@yahoo.de:
There are several functions to dynamically change/reorder menus,
but I couldn't find or figure out a way how to remove a certain
item from a Menu. Is this possible? How?
(I tried some strange things like calling item-destroy
and was not surprised that
2009/10/7 John Coppens j...@jcoppens.com:
- I have a (top-level) window, with a vbox, then a vpanel, a frame, an
'alignment' and a table (listed in the order of nesting).
When I change something in the table, which makes it wider, the table
gets wider, wider than the frame, which doesn't
2009/4/21 Gabriele Greco gabriele.gr...@darts.it:
About this issue, I've been able to build the whole win32 GTK
environment only on WIN32 mingw since all the configure process relies
too much on pkg-config to be usable from a cross-compiler (we usually
build all of our apps on linux with the
2009/4/13 Paolo pra...@gmail.com:
I'm drawing lines into GtkDrawingArea through gdk_draw_line function. The
results is good, but not enough. How can I increase the rendering?
Do you mean make it faster'? You could try:
- disable gtk's automatic double buffering
- try another X driver (there's
Hi all,
I'd like to make a signal that can return a bool result. I've defined it with:
progress_signals[SIG_UPDATE] = g_signal_new( update,
G_OBJECT_CLASS_TYPE( class ),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET( ProgressClass, begin ),
2009/3/10 Adeel Malik adeelmali...@yahoo.com:
I intend to monitor the variable's value (acquired via data acquisition
hardware) at a rate of around 1,000 times per second.
I haven't used textboxes before in GTK+. Could anyone suggest how to update
the value of a variable in a textbox etc.,
1 - 100 of 170 matches
Mail list logo