Hi guys,
What would cause accelerators for menu items not being loaded? It is being
saved in ~/.gnome/accels/application file but never gets loaded. What could
be wrong in application that would cause this?
Thanks,
Rick
___
gtk-list mailing list
alogs to a new XML
(.glade) file for persistence and analysis by my program?
Also, is libxml(2) or similar required for this behaviour or does
libglade provide an XML DOM? (or subset thereof)
--
Cheers!
Rick
___
gtk-list mailing list
gtk-list@gnome.org
On Wed, 9 Mar 2005 12:10:13 -0500, Tristan Van Berkom
<[EMAIL PROTECTED]> wrote:
> On Wed, 9 Mar 2005 10:43:10 -0500, Rick <[EMAIL PROTECTED]> wrote:
> [...]
> > Can I generate glade XML files (.glade) on the fly and have them used
> > by my application (via li
will continue on and look in the gtk source and the pango source for
info on how to create and manipulate a drawing buffer.
In the meantime if someone could give me an example code snippet, it
would make me very happy:)
--
Cheers!
Rick
___
gtk-list ma
y all for? And which
> > do I want to solve my problem in the first paragraph?
>
> Summary: use GdkPixbuf client-side and GdkPixmap server-side.
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
--
Cheers!
Rick
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
gs up UI design issues that may be unique to GTK. If
there are cleaner and faster ways to do this, or just dead wrong
approaches to this kind of thing I'd appreciate heads up opinions on
those too. :)
--
Cheers!
Rick
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
ues :)
> - Ben
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
--
Cheers!
Rick
___
gtk-list mailing list
gtk-list@gnome.org
http:/
would have as easily recommended any other solution had I gone with one.
>
> Calvin
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
>
--
--
Cheers!
Rick
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
with experience. Perhaps all that is need is to document the
existing internal DnD data so external widgets can properly recv. the
data. (I'm not sure about that though.)
Can I get anyone to add better DnD to the CList?
Thanks,
Rick Niles.
_
aps
running text commands from a GUI offends someones sense of a good user
interface design?
Please check it out at: ftp://www.scyld.com/pub/system_command
I would be happy to donate it to either project. Changes are welcome.
Thanks,
Rick Niles
Sc
There appears to be a bug in the gtk_ctree_node_get_text function when a
GtkCTree is defined with only one column. More specifically, this statement
in gtk_ctree_node_get_text() will return 0 when column = 0.
if (column < 0 || column >= GTK_CLIST (ctree)->columns)
return 0;
Others have
While gchar is defined as a char, I've run into this problem as well.
However, I've cast the gchar to a char to "fix:" the problem. For example:
gchar cf[3] = {"100"};
float ff = 0.0;
ff = atof((const char *)cf);
As a result: ff = 100.0.
Hope this helps, good luck...
___
Hello Everyone,
Does Gtk+ or will GTK+ support OpenGL ?
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Here is some sample code using gdk_pixmap_colormap_create_from_xpm():
GdkPixmap *close = NULL;
GdkPixmap *open = NULL;
GdkBitmap *transparent;
/*-
-- Create Pixmap from a file.
You can also use gtk_text_get_length(GTK_TEXT(text)) to get the number of
characters.
Cheers.
Rick Esquibel
Embedded Software/Engineer
5000 E. McDowell Road
Mesa, AZ 85215-9797
(480) 891-8423
[EMAIL PROTECTED]
> --
> From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
>
Try using XML or an ASCII file using dot notation (i.e.
parent.node1.node2.node3.node4).
Cheers.
Rick Esquibel
Embedded Software/Engineer
5000 E. McDowell Road
Mesa, AZ 85215-9797
(480) 891-8423
[EMAIL PROTECTED]
___
gtk-list mailing list
that must be gathered up before attempting to build GTK+
these days?
Rick
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
option that disables it.
This doesn't necessarily mean that functions disappear completely, but
they may behave differently. The advantage of this approach is that
people who really want/need to keep things lean and mean are able to
do so, while those who want/need all possible features are also able
to do so.
Rick
PGP signature
if it's possible to extend this widget, for example
by passing my own directory create function?
Cheers, Rick
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
don't get it
style->fg[0] = white; //white defined as a color
before
//I tried all of the other STATES
gtk_widget_set_style(window, style);
gtk_widget_show(window);
gtk_style_unref(style);
But it does not work. How to do it?
Thanks in advance for you
I have been trying to change the pixmap of a button in
which I previously inserted a pixmap, using the button
as a container for the pixmap. How to empty the
container to insert a new pixmap?
Any help will be highly appreciated.
Rick
__
Do You
o top with a call to
gtk_show_window, but it does not help.
When I execute the process for itself, it closes
correctly on receiving the quit signal.
Any help will be highly appreciated.
Rick
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
_SIGNAL_FUNC(button_press_event), 0);
gtk_signal_connect(GTK_OBJECT(mainwin),
"button_release_event",
GTK_SIGNAL_FUNC(button_release_event), 0);
And all its combinations, all in vain.
Any help would be greatly appreciated.
Rick
___
" on a terminal.
Is there anything like that around compatible with gtk et al?
thanks,
rick jones
--
Wisdom Teeth are impacted, people are affected by the effects of events.
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to raj in
" -I/usr/local/include
-I/opt/libpng/include -g -c io-gif.c +Z -DPIC -o io-gif.lo^M
cpp: "/usr/include/sys/param.h", line 379: warning 2001: Redefinition of
macro MIN.^M
cpp: "/usr/include/sys/param.h", line 380: warning 2001: Redefinition of
macro MAX.^M
cc: "io-
sr/include/sys/param.h", line 380: warning 2001: Redefinition of
> > macro MAX.^M
> > cpp: "../config.h", line 144: warning 2001: Redefinition of macro
> > HAVE_STDLIB_H.^M
> > cc: "io-jpeg.c", line 453: warning 562: Redeclaration of
> after experimenting for a while I've found out, that it's probably a
> bug in /bin/sh of Solaris 2.7 because:
If it is a bug in Solaris 2.7 /bin/sh it is likely the same bug in
HP-UX 11.11 /bin/sh as I encounter the same error.
rick jones
___
se - but I have
done the configure with CFLAGS and LDFLAGS to point at the includes
and the libraries. I've not verified though that all the makefiles
are actually honouring that.
rick jones
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
"usr/local" instead of "/opt".
Thanks. I'll go there if I get tired of settings CFLAGS and LDFLAGS
in the gtk configure :)
rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP
. Now
> we have switched to "/usr/local", It is alot easier.
Looks like I should simply draft off of all your previous good work :)
> No I don't think so. Although I haven't compile with HP cc, But I don't think
> that is the case.
I'll try your so
; full of
global variables, and with the application code tightly coupled to the
GUI code.
Does anyone have any suggestions of how to learn to write clean well
designed GUI applications (in GTK or just in general)?
Rick
___
gtk-list mailing list
also check
software.hp.com
what sort of specific problems are you encountering? i'm far from a portability
expert, but i have some interest in gtk on ux via netperf4 (http://www.netperf.org/)
rick jones
___
gtk-list mailing list
gtk-list@gnom
... work without errors.
Any hints?
It would be good to know just where they are dumping core, so finding the core
files and getting the stack traces and/or running the failing programs under a
debugger would be a good first step.
rick jones
Roman
Roman Toenshoff wrote:
* Rick Jones <[EMAIL PROTECTED]> [060216 20:55]:
Ah, did you teach cairo where to find whatever it wanted from stdint.h? Was
cairo's configure script missing a check for stdint.h to allow for
conditional include? Regardless by all means feed those changes b
ade a
difference) It is entirely possible as my Windows knowledge is nearly
nil and I've only just begun with glib.
I did a _brief_ search on www.microsoft.com for "atexit" and some of the
first hits which appeared seem to say that atexi
Tor Lillqvist wrote:
Rick Jones writes:
> the first complaint out of the
> compiler (among many :) is that in line 239 of gutils.h atexit is being
> redefined with different type modifiers (error C2373)
Hmm, does it help to make the declaration
int __cdecl atexit(void (__cdec
Rick Jones wrote:
Tor Lillqvist wrote:
Hmm, does it help to make the declaration
int __cdecl atexit(void (__cdecl *)(void));
instead?
I thought about trying that, which then got me in the "fun" of trying to
use notepad :) I'll see about moving the file around to where it
nd a "don't do that!" sort of thing, but barring
plans to add affinity calls to gthread (and even then for the interim),
it seems I need to know how to peel-back the opaque veneer of the
GThread abstration to retrieve the native thread id contained therein.
Has an
with a harness function that does the native
affinity thing via pthread_self et al, and then calls into the test code.
The one problem there is it seems to preclude changing the affinity
later, which is something I could do when the main netserver thread was
making the affinity calls.
rick jones
Sebastian Wilhelmi wrote:
Hi Rick,
How about a g_native_thread_id() call?-)
What should be returned by that? Something like
#define g_native_thread_id(thread) ((void*)thread)
just for exporting something, that no-one should use? Doesn't sound very
convincing.
What can
Tor Lillqvist wrote:
Rick Jones writes:
> I'd not heard of wordpad - and it doesn't seem to be on
> the system to which I have access - pointer?
That would be odd as it is bundled. Look in Start Menu:Accessories.
ah, well, there it is. i just couldn't say &qu
Tor Lillqvist wrote:
Rick Jones writes:
> int __cdecl atexit(void (__cdecl *)(void));
> did indeed make the error go away when compiling under the DDK.
What compiler is used in that case, BTW, as I get no errors or
warnings when compiling a program that includes both stdlib.h (whe
.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html
says:
Currently full support is available on UNIX platforms, support for
Windows is only partially complete.
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailma
nd run the
following program:
#include
#include
#include
#include
#include
#include
#include
#include
#include
int __cdecl
main(int argc, char *argv[]) {
g_print("hello world\n");
}
so it would _seem_ that the "add the __cdecl to the atexit declaration
in gutil.h"
Tor Lillqvist wrote:
Rick Jones writes:
> I was wondering about the status of IO Channels under Windows -
> specificially with respect to SOCKETs (the capitalization is
> Windows', not mine :) I ask because:
> Currently full support is available on UNIX platforms, support f
o the first hello world went-out to the remote, we got the reply, the
timer event happened the first time and wrote hello world again, and it
seems we got it back from the remote, but the next timer event didn't
seem to happen.
rick jones
#include
#include
#ifndef G_OS_WIN32
#incl
rror parameters are to
have the parent receive that stuff from the child rather than have the
parent set them for the child?
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
ocket(listen_sock);
#else
control_channel = g_io_channel_unix_new(listen_sock);
#endif
Based on an assumption of symmetry, I took a wild guess that it would be
"g_io_channel_win32_get_socket" but that doesn't seem to be the case.
thanks,
rick jones
_
if there
was a separate _socket call to register the thing... anyway, it seems to
work :)
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
king
that is doubleplusungood.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
/local/bin is read-only, or perhaps your user id does
not have sufficient permissions to put files there.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
HU Li wrote:
Dear Rick,
Thank you very much. Then how can I change this path, i.e.,
/usr/local/bin/_inst.17461_, to another directory? I think it must be
specified in one configuration file.
I'm a little sketchy there, but perhaps the --prefix option to configure?
rick jones
Best re
x27;t in the runtime.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
I was hoping there was a g_option_mumble() call one could make
to do that but don't see one in the API reference.
Does such a thing exist?
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
.
If one specifies the full name of the dll including the ".dll",
g_module_build_path() doesn prepend "lib".
is that full absolute name, or a "full basename?"
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Tor Lillqvist wrote:
Rick Jones writes:
> > If one specifies the full name of the dll including the ".dll",
> > g_module_build_path() doesn prepend "lib".
> is that full absolute name, or a "full basename?"
read the code? ;)
you guys are ju
Tor Lillqvist wrote:
Rick Jones writes:
>
http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html#g-module-build-path
> which reads:
>
>For example, calling g_module_build_path() on a Linux system with a
>directory of /lib and a module_nam
GV remains, then at least
valgrind output will help give more information about the path - as
would say a backtrace from a debugger.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
x27; || echo './'`garray.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION
-D_THREAD_SAFE -g -c -M garray.c -DPIC -o .libs/garray.o
cc: 1501-230 Internal compiler error; please contact your Service
Representative
make: 1254-004 The error code from the last command is 1.
So, I find myself looking for pointers - either on how to address the
G_INLINE_FUNC thing with Bull's precompiled bits, or if anyone has more
up-to-date rpms for AIX I suppose.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
g seen the other option was set
and based on that set or not the apropriate gcparse or gcscan variable
when there was an argument passed.
at least that would be my first take
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
99 out of 10) compilers but I'm leaving stuff like -pthread and
-Wl,--export-dynamic on the floor which may or may not be "OK" and
while looking into that I came across the "export" and "no-export"
flavors of gmodule pkg-config packages.
rick jones
FWIW, it w
erf.c", line 261.71: 1506-196 (W) Initialization between types
"void*" and "int(*)(char*,char*,void*,struct _GError**)" is not allowed.
"netperf.c", line 262.67: 1506-196 (W) Initialization between types
"void*" and "int(*)(char*,char*,void*,struct _
Michael L Torrie wrote:
On Wed, 2006-04-05 at 15:30 -0700, Rick Jones wrote:
which seems to be an issue with the callback function field of the
GOptionEntry. Do folks think it is something really worth worrying
about or should I just blythly ignore it and move-on?
While it appears that
included that option for
AIX when it was told to -export-dynamic?
Anyway, I'll try adding the -brtl and see what happens. Thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Perhaps I'm missing a side-effect of one of the g_source functions, but
where in the application does accept() get called?
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
on the box using glib must be recompiled..." hell.
You may find that recoding things to pass a function pointer is the more sane
way to work around it. ;)
Yep :(
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
that "g_module_open means never having to
include the suffix" so you can, and perhaps should (?) drop the ".so"
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
--cflags and --libs can contain
compiler-specific options. it "feels" buggy but I cannot confirm it -
at the very least, it makes life "interesting" when glib was compiled
with a compiler other than the one you want to use for your appli
quot; This
relates to porting/running netperf4 on 64-bit Windows, not just the
32-bit Windows where I have it running at the moment.
rick jones
http://www.netperf.org/svn/netperf4/branches/glib_migration
___
gtk-list mailing list
gtk-list@gnome.org
h
le environment a SOCKET is a 64-bit quantity
rather than 32.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
led without any
need for #ifdefs.
IIRC there is a similar issue with the routine that returns the SOCKET
(or HANDLE) from a channel. Its return type is gint.
rick
--tml
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
mention that
limitation:
http://developer.gnome.org/doc/API/2.0/glib/glib-Date-and-Time-Functions.html#g-get-current-time
rick jones
Seems that GetSystemTimeAdjustment is involved in finding the precision
of clock time:
http://msdn.microsoft.com/library/default.asp?url=/l
is allow the user to click on the expand
gizmo (gee, does my knowledge of terms show?-) of a netserver and list
the tests with their own column headings and such.
thanks for any pointers,
rick jones
an example of a netperf4 config file, with just one netserver, in its
native XML form can be
.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
t says "Returns the value associated with key
under group_name as an integer." and I suspect that was meant to be
"Returns the value associated with key under group_name as a double."
instead.
rick jones
___
gtk-list mailing li
://bugzilla.redhat.com/show_bug.cgi?id=1395968 ??
Thanks
Rick
May 29 03:48:17 localhost.localdomain systemd-coredump[25018]: Process
25016 (gnome-session-f) of user 1000 dumped core.
Stack trace of thread 25016:
#0
0x7f30c73c3dc9
,
allowing me to login.
cheers -- Rick
On 2017-05-30 04:40 AM, Rick Leir wrote:
Hi all,
Please would you help me troubleshoot this. It occurred on Fedora 26
when attempting to login using the KDM window manager. What info
should I be looking for?
Note, the crash is similar to what a gaupol
Hey GTK+ Crew,
New to gtk+, how do I get rid of the pesky drag and drop text box that
shows up when you select selected text?
I want to make a text view that I can start the selection process again
without that box showing up.
Best,
-Rick Ferreira
an use a pixmap to act as
your 'canvas', which the drawing area then displays. IIRC there is a
scribble example that does this.
Alternatively there is a more complete canvas widget in Gnome.
--
Rick L. Vinyard, Jr.
___
gtk-list mai
lFunc)YourExposeEvent, NULL);
and don't forget about:
gtk_signal_connect(GTK_OBJECT(YourDrawingArea),
"configure_event", (GtkSignalFunc)YourConfigureEvent, NULL);
--
Rick L. Vinyard, Jr. http://www.cs.nmsu.edu/~rvinyard
__
80 matches
Mail list logo