16, 2018 at 7:34 AM, rbd wrote:
Can someone point me to an official gtk3 documentation source which clearly
lists all of the command-line arguments parsed and then stripped from
argv[] by gtk_init()?
The "Running and debugging GTK+ Applications" document is the only thing I
know of
Hi all,
Can someone point me to an official gtk3 documentation source which
clearly lists all of the command-line arguments parsed and then stripped
from argv[] by gtk_init()? I cannot find this information anywhere
(although it would not be the first time I missed something right in
front o
Hi,
i recall having struggled with a file chooser some years ago,
but after some iterations got something that worked for me
for simple file operations. It was however impossible at that
time to tell the file chooser to open a file OR a dir so i ended
reinventing the wheel and wrote my own file
Hi all,
I have done some further experimentation with regard to my GtkFileChooser
problem and discovered that the piece of my code that seems to be
triggering this problem is the call to gtk_file_chooser_set_current_name()
-- if I remove that then I do not get the error described in my last
Hi all,
I am having a problem with GtkFileChooser when the chooser action is set to
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER, i.e., I want to allow the user to
specify any existing or as-yet-nonexistent directory. The documentation says
that use of GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER:
"... I
I second Stefan's suggestion of encapsulating your dialog panel within a
scrolled window, and in fact I have made it a habit to implement that for
every major toplevel window in all of my GUI software. You never know when
an app that was designed for a nice fat desktop display will end up bein
Hello Marcin,
I have written a number of gtk3 apps that perform the type of rubberband
line drawing you have described. Although I was originally porting apps
from an Xlib drawing environment where XOR was available to do
lightning-fast 'undraws' of existing line segments and was skeptical of
Eric (cecas...@aol.com) sent me the following earlier today in response to
another discussion thread I started a few days ago re: GSubProcess:
I put together a test example of GSubprocess. ...
https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/Pipes/gnuplot5.c
In an amazi
, however.
Roger
On Mon, 23 Jan 2017, Emmanuele Bassi wrote:
Hi;
On 23 January 2017 at 22:09, rbd wrote:
It is not quite that bad. The documentation for g_source_add_unix_fd()
is inadequate, but although not immediately obvious the prepare, check
and finalize handlers can in fact usually
Thanks for all the further explication, Chris!
The problem is that the main loop would enter a busy loop. Well, maybe
a 'busy-ish' loop. If you call up g_idle_add() with a repeating
callback (one which returns TRUE) which does nothing except examine a
non-blocking select(), you will end up w
Hi Roger,
I put together a test example of GSubprocess. It starts Gnuplot, sets up
the pipes and callbacks, and then when Gnuplot is done it opens the
graph in an image widget. The GSubprocess will take care of the file
descripters for you. ...
https://github.com/cecashon/OrderedSetVelociRa
Hi Chris,
Thanks very much for all of that information -- it was very helpful!
I do not fully understand your question (especially I don't understand
your reference to using "g_idle_add_full() and do my own non-blocking
select() inside my callback", which would not work), ...
I won't be try
Hi all,
I need to monitor a Unix file descriptor for input within my gtk3 program.
I believe that I need to somehow be using g_source_add_unix_fd() and
friends but am finding the documentation confusing. Are there any simple
examples which show how to do this anywhere? (I looked but could not
Thanks much for the suggestions and code pointer, Eric!
I get the drift that GSubProcess is a more recent package layered over
g_spawn. It consequently seems to have more features but less 3rd-party
documentation outside the reference manual.
Roger
On Sat, 14 Jan 2017, cecas...@aol.com wrote
Hi Emmanuele,
On closer reading there are some details of GSubProcess implementation and
usage that are unclear to me. I have not been able to find anything
resembling a tutorial anywhere, if you are aware of anything useful other
than the base GSubProcess reference manual page please advise.
ent's
other open descriptors and making them close-on-exec like gtk's.
Thanks so much for your help!
Roger
On Sat, 14 Jan 2017, Emmanuele Bassi wrote:
Hi;
On 14 January 2017 at 16:24, rbd wrote:
However, I am still curious as to whether the fork/exec/SIGCHLDhandler model
of
m GIO, instead, which is a much better API, it's safe, and
it's likely more comprehensive in handling additional cases.
Ciao,
Emmanuele.
On Sat, 14 Jan 2017 at 01:30, rbd wrote:
Hi all,
I have a few questions relating to the use of fork/exec within a
gtk3
p
Hi all,
I have a few questions relating to the use of fork/exec within a gtk3
program. Briefly, (i) can this be made to work at all, and (ii) should I
perform any specific operations related to disconnecting from gtk within
the child process code of my gtk parent in the very brief interval be
On Fri, 30 Dec 2016, cecas...@aol.com wrote:
Hi Roger,
Would this be similar to using a GtkLayout and a GtkDrawingArea? If you add
a drawing area to a layout you get draw scrolling and the layout can update
the part of the drawing area shown on the screen even though the drawing
might be on a
Hello Sergei,
Unfortunately the use of the gtk3 DrawingArea is a bit obscure and
difficult to figure out. However, I have been able to make use of it very
effectively in conjunction with Cairo drawing ops.
For various reasons I have created a GUI toolkit library which lies
between my app cod
Hi all,
My GTK+3 app includes several GtkButton widgets which I am setting to
specific background and foreground (i.e., label) colors. Furthermore, the
colors of each of these buttons are changed over time in response to user
activity. My current code seems to work OK but I have a few questio
Hi all,
I am trying to use the GtkColorChooserDialog (3.14 under CentOS7 and also
3.18 under MacOS/MacPorts) and have two questions:
(1) My app will potentially do a substantial amount of custom color
creation. Every time I make a new custom color with GtkColorChooserDialog,
the next time I
22 matches
Mail list logo