"Andrew Mirsky" <[EMAIL PROTECTED]> writes:
> When installing GTK+-1.2.8, and it trys to run the test for GLIB
> compliance, I get the following error message:
>
> Undefined first referenced
> symbol in file
> _nl_msg_cat_cntr
Colin Thomas <[EMAIL PROTECTED]> writes:
>
> I would like to be able to click on a Drawing area and extract
> the cursors position, and possibly drag-select over its suface.
>
> Are there any tutorials on this?
>
Look at the "scribble" example in the GTK tutorial (on www.gtk.org).
Havoc
___
Ronald Bultje <[EMAIL PROTECTED]> writes:
> On 2001.01.16 21:04:21 +0100 Timothy M. Shead wrote:
> > Ronald Bultje wrote:
> >
> > > I have tried it yesterday The application dumps core directly at
> > > startup, I probably am doing something wrong. What? By the way, it
> > compiles
> > > fin
Jeff Shipman <[EMAIL PROTECTED]> writes:
> Is there any form of object persistence in Glib?
> I would like to write a GList to a file without
> having to determine a format and then also have
> to parse it afterwards.
>
No, no support for that. (If you think about it you'll realize that
GLib has
Christian Kreibich <[EMAIL PROTECTED]> writes:
>
> I have a clist widget that causes a relatively costly operation for
> displaying information to be performed whenever I select a row, via the
> select_row signal. While this works great for single selections, the
> problem is that when I select
Billy Patton <[EMAIL PROTECTED]> writes:
> I'm able to emit a signal by name and get it to go to the correct
> location
> but it dies with a page fault immediately. I put printf's inside and it
> runs tryough the
> entire function called but does not return the the location where signal
> was em
"Maher Awamy" <[EMAIL PROTECTED]> writes:
> I think this is the function you want..
>
> void gtk_signal_emit_by_name (GtkObject *object,
>
>const gchar *name,
>
Neil Bird <[EMAIL PROTECTED]> writes:
> I've taken to adding that final 'widget' line to all my downlaoded
> themes, *none* of which set up tooltips "correctly".
>
> However, since they /do/ all have 'tooltip' entries (after a fashion),
> the question is: are /all/ the themes I have doing t
"R. Bernstein" <[EMAIL PROTECTED]> writes:
> FTP'd a small patch to glib that I use that facilitates finding memory
> leaks (a tad).
>
> I can't see if it's in incoming. It isn't in patches, patches/applied,
> patches/unapplied or patches/outdated. I made a small typo in the date
> (gtk-rocky-00
[EMAIL PROTECTED] (Rafał Kleger-Rudomin) writes:
> PROBLEM:
> When the window appears on the screen first time, i get
> all may pango layouts (but the notebook is not drawn yet),
> but after the second (sleep(1)) all they get cleared, and then
> the notebook appears as well as rectangle, despi
Andy Kahn <[EMAIL PROTECTED]> writes:
>
> What does gtksourceview provide that the new GtkTextView/GtkTextBuffer
> widgets does not?
It's a subclass that adds syntax highlighting, line numbers, and other
programming-editor features.
Havoc
___
gtk-li
Andy Kahn <[EMAIL PROTECTED]> writes:
> On Mon, Jan 22, 2001 at 10:57:43AM -0500, Havoc Pennington wrote:
> >
> > Andy Kahn <[EMAIL PROTECTED]> writes:
> > >
> > > What does gtksourceview provide that the new GtkTextView/GtkTextBuffer
> > >
"Kevin B. McCarty" <[EMAIL PROTECTED]> writes:
> Is it the case that GTK doesn't like for a widget
> to be displayed in more than one place at a time?
Yep.
> Can anyone give me a
> better idea for how to "link" two identical groups of radio buttons
> together so they always have the same stat
Maciej Stachowiak <[EMAIL PROTECTED]> writes:
> What's the right way to handle a GtkType that's defined in a loadable
> module that can get unloaded and reloaded multiple times? There's no
> way to remove an existing GtkType, so the module can't clean up on
> exit. However, from what I can see re
Ronald Bultje <[EMAIL PROTECTED]> writes:
>
> I have made my own simple widget, it works, but one thing I don't like is
> that if I request a size (width/height) and one of them gets bigger, the
> other doesn't. Now, I really want the ration width:height to be 4:3. My
> simple solution was to ju
Hosam Al-Moqim <[EMAIL PROTECTED]> writes:
> hi gtk programmers ,, the gtk 1.3 is still development release ,, but it's
> as i know support unicode ,,
> how i cant get some information about new functions in this release that's
> make my program support right dirction ,, thanx
>
There's some do
"Petros Sidiropoulos" <[EMAIL PROTECTED]> writes:
> hello,
> I tried to compile gtk+-1.2.8 on my system (GNU/Hurd) but 'make' returns a
> few errors,(see attach)
> the only think I understand is that MAXPATHLEN is not defined somewhere.
> Can you help me to find which header file must be edited
"frederik jensen" <[EMAIL PROTECTED]> writes:
> 1. when key "1" is pressed inside a text widget, key_press_event() is called,
> and returns TRUE. However, should this not stop event propagation and mask out
> the
>
> "1" from the visible text?
>
>
No, TRUE return from a signal emission keep
"frederik jensen" <[EMAIL PROTECTED]> writes:
> Would it not be nice to have a "trace" function mapping the calling hierarchy
>
> of signals and events to stdout? This could perhaps help in understanding the
> internals of the gtk main loop, or is such a function just plain unnecessary?
>
Tha
Helmethead <[EMAIL PROTECTED]> writes:
> Despair not, you can always contribute a couple of one line patches
> like me! There are sgml sources in docs/reference/gtk in the source
> distribution, yes. An sgml and a tmpl directory apparently. I don't
> have a clue what they do but I'm pretty sur
Lars Clausen <[EMAIL PROTECTED]> writes:
> I'm looking at a SpinButton that goes from -100.0 to 100.0, and the Entry
> field turns out too small -- when you're at -10.0 or below, the digits get
> cut off. From the spinbutton example in the tutorial, I just see the
> gtk_widget_set_usize, which i
Paul Davis <[EMAIL PROTECTED]> writes:
> except that its far from clear what you use it for. if you set the
> usize of the spinbutton, it will still be too small, because of the
> space taken by the arrows. a real annoyance.
>
Presumably the 2.0 API would be something like
gtk_spin_button_set_
Lars Clausen <[EMAIL PROTECTED]> writes:
> I have the exact same problem with GtkMenu, it doesn't like to resize
> itself to accomodate longer items (even when prompted with
> gtk_widget_queue_resize()). Instead I find the longest item and set that
> as usize, adding a but to allow for border a
Lars Clausen <[EMAIL PROTECTED]> writes:
> > I know there will be a bunch of little stuff like this that we forget
> > for 2.0 and then kick ourselves having to answer the FAQ for the next
> > year or two - everyone please query bugzilla.gnome.org for the "2.0
> > API freeze" milestone and be su
Sven Neumann <[EMAIL PROTECTED]> writes:
> I fear this is not possible (although I'm not an expert). I wish GTK
> would load the GDK backend as a module. I have no idea is this would
> be doable, but it would definitely rock.
It's possible, but not actually that useful I think. So it's not a
Helmethead <[EMAIL PROTECTED]> writes:
> *sigh*
> Sorry if this is a 100% braindead question, but what are style.xthickness and
>style.ythickness exactly?
>
They are used for various padding values in GTK, such as the space
taken up by frames. grep for them in the GTK source.
Havoc
_
winterlion <[EMAIL PROTECTED]> writes:
> I'll look into it then... multiple GDK targets are quite useful for me...
> (probably a holdover from when I depended on GGI... XGGI can run under
> XGGI which can all be running on the surfaces of a 3D cube :)
>
> I realise this example's silly - but h
winterlion <[EMAIL PROTECTED]> writes:
> configure for X asks for:
> pangox
> pangoxft
It shouldn't be asking for pangoxft unless you have the Xrender
extension (i.e. XFree 4.0.2).
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://
Dean Edmonds <[EMAIL PROTECTED]> writes:
>
> Is there a way, as a use, to configure a longer delay before the
> scroll-repeat kicks in?
>
Not at the moment, but GTK 2 will have a mechanism that lets us add
this. If you want to file a bug at bugzilla.gnome.org, that would be
useful (so we don't
Julio Cesar Gazquez <[EMAIL PROTECTED]> writes:
> 1) Hitting TAB once and again, focus goes from a widget to another, until
> suddenly dissapears (after last widget, I guess), hitting TAB again focus
> appears in the first widget. Why? Where is the damn focus?
It's a bug. It may be fixed in G
winterlion <[EMAIL PROTECTED]> writes:
> (now that I remember I had to manually patch this before)
>
> but gtk-config-2.0 is not constructed.
> configure.in (and configure of course) doesn't construct it...
> I manually added it in the line above "docs/gtk-config.1"
>
> ideas?
>
gtk-config-2.
winterlion <[EMAIL PROTECTED]> writes:
> no - but you should probably mention something in the README or the like
> about it :)
>
> A lot of gnome/gtk programs ask for it so
Right, we'll have something like that by release time.
Havoc
___
gtk-l
Paul Davis <[EMAIL PROTECTED]> writes:
> create GtkWindow of type GTK_WINDOW_POPUP. its not guaranteed to be
> free of decorations, but almost every window manager will obey the
> request to avoid them.
>
POPUP means the window manager ignores it totally, not just for
decorations - which mean
Sven Neumann <[EMAIL PROTECTED]> writes:
>
> DirectFB is not adding hardware accel to the linux-fb port, but a
> hardware abstraction layer that allows you to write code for the
> linux framebuffer that benefits from the capabilities of your gfx
> hardware or uses a software fallback if the des
"Norman Black" <[EMAIL PROTECTED]> writes:
>
> I have had many window managers ignore the decoration settings I have set.
>
That's really not your problem though, it's a bug in the WM. Using
GTK_WINDOW_POPUP makes it broken for users who have a working WM, in
order to fix it for users who have
Paul Davis <[EMAIL PROTECTED]> writes:
> GTK defines 3 window types:
Yes, but these mean:
>
> TOPLEVEL
- all windows an app would normally create
> DIALOG
- useless feature, don't use it even for dialogs
> POPUP
- GtkMenu, tool tips (i.e. windows that are expect
Hi,
Already fixed in CVS.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
"Padraig O'Briain" <[EMAIL PROTECTED]> writes:
> 1) Should the variable called spacing in _GtkBox be gint?
Unless you have a monitor 65535 pixels wide, it doesn't really make
any difference. ;-) It's 16 to save 32 bits there, since otherwise
"homogeneous" would get its own 32 bits, which is har
winterlion <[EMAIL PROTECTED]> writes:
> Is there any looking into upgrading the /gtk+/examples directory to
> actually support gtk-2.0? :)
I think we'll probably be moving to using demos/gtk-demo instead and
getting rid of examples. Though, examples is part of the GTK tutorial,
so may get updat
winterlion <[EMAIL PROTECTED]> writes:
> for some reason the cursor jumps around a lot - and the text output is
> jumbled. No I -don't- know enough to know if this is gtk+, pango (one of
> the fonts? I have pangoxft, pangoft2), glib, or something else.
Did you get fribidi separately or use the
Andrei Zmievski <[EMAIL PROTECTED]> writes:
>
> When I do gdk_colormap_get_system(), the colormap I get has 'size' member set
> to 64, but 'colors' is NULL. Why is that?
>
The code looks like this happens for TrueColor visuals. The "64" is
apparently visual->colormap_size reported by X which i
winterlion <[EMAIL PROTECTED]> writes:
> Oh good point - I got the standalone...
>
> right. Maybe add this to FAQ? *g*
> (not a bad idea actually)
>
> Q: I've got jumbled text and nothing seems to print right?
>
> A: try reinstalling pango without --with-fribidi and see how that works
>
R
"Dugas, Alan" <[EMAIL PROTECTED]> writes:
> Does anyone have a suggestion on how I could asynchronously read a file?
> I've tried using gtk_timeout_add()/gtk_timeout_remove(), but this causes
> "racing" conditions when run over a network. Any ideas would be greatly
> appreciated.
>
Sure, use g
Ronald Bultje <[EMAIL PROTECTED]> writes:
> What is the signal name to emit a (fake) resize-event to the window, so
> that the window thinks it must be resized?
>
> I tried gtk_signal_emit_by_name(GTK_OBJECT(window), "resize_event");, but
> that signal is unknown.
>
You need to call gtk_main_d
"Dugas, Alan" <[EMAIL PROTECTED]> writes:
> I'm getting segfaults in ioctl when I try to use open() and gdk_input_add().
> Do I need to setup threads?
>
Nope, just a bug in something I guess.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://
"Michael" <[EMAIL PROTECTED]> writes:
> I want to ask , whats the most appropriate GTK+ widget to use enhanced text
> editing .
>
> For example , something that looks like Windows RichEdit or Windows HTML
> Control .
>
> I need both controls , especially HTML .
>
Look at the GtkHTML widget fo
Mikael Hermansson <[EMAIL PROTECTED]> writes:
> I am trying to use the property API in glib to get values in GtkTextTag.
>
> But I am getting GRuntime-CRITICAL **: file gvalue.c: line 48
> (g_value_init): assertion `G_VALUE_TYPE (value) == 0' failed when when
> calling: g_object_get_property usi
Lee Mallabone <[EMAIL PROTECTED]> writes:
> Clearly glib-genmarshal should exist, but it doesn't. Anyone know what
> I'm doing wrong?
>
The dependencies are probably hosed - you might try make -k to get
glib-genmarshal built, then make again.
Havoc
___
Jiang XU <[EMAIL PROTECTED]> writes:
>
> How to use gdk_window_shape_combine_mask( GdkWindow *, GdkBitmap *
> shape_mask, gint offset_x, gint offset_y )
>
> What is "offset_x" and "offset_y" used for?? Is that to do with
> "GdkBitmap *shape_mask"
>
The position of the mask with respe
Jeff Shipman <[EMAIL PROTECTED]> writes:
> > gtk_timeout_add (500, gtk_widget_hide, widget);
>
> Wow, that works great! Thanks a lot! One question, though. I
> do get a warning about using gtk_widget_hide because it is
> not a GtkFunctcion. How could I get rid of that warning?
Pass a funct
<[EMAIL PROTECTED]> writes:
> Is this a hint that changing the direction was overlooked?
> If so, will Gtk+ 2.0 provide it?
>
There's a bug in the tracker about this, if you want to track progress
add yourself to the CC list:
http://bugzilla.gnome.org/show_bug.cgi?id=50806
Havoc
__
Ottavio Campana <[EMAIL PROTECTED]> writes:
> Now, the widget is similar to a list in which every segment is a
> possible choice (like the rows in the clist). I don't know where to
> start from for developing this widget. Has someone of the list ever done
> something similar?
>
Yo
"frederik jensen" <[EMAIL PROTECTED]> writes:
> Is there any way to connect the key press event with darea instead
> of the main window?
>
Your drawing area needs to get the key focus. There are several parts
of this:
- set the GTK_CAN_FOCUS flag on it with GTK_WIDGET_SET_FLAGS
- on focu
Timothy Flechtner <[EMAIL PROTECTED]> writes:
> i'm trying to create a table, and supply it with headers, one per column.
> for the life of me, i can't figure out how to
> get the header width and the column width to match. created an hbox and
> packed a bunch for frames containing la
Enrico Fracasso <[EMAIL PROTECTED]> writes:
> if i run it the memory used by the process increases (checked with top)
> if I remove the gtk_ctree_insert_node(...) and gtk_ctree_remove_node(...) lines the
> memory remain constant.
> According to you, where's the problem?
>
We really need this
"$)C7yGu0o" <[EMAIL PROTECTED]> writes:
> Shortly saying, What is needed for making GUI interface,
> using GTK+fb, on my embedded device ?
>
GTK fb comes with a built-in window manager. We have a prototype of a
virtual keyboard, and maybe some work on the handwriting recognition,
but not fi
Timothy Flechtner <[EMAIL PROTECTED]> writes:
>
> i would much prefer to leave everything to the provided layout
> mechanisms in gtk, but i haven't found a way to do and:
> 1. have my headers not scroll off the page. i put my table in a
> scrolled window, but i'd like to always be able to see
>
Jeff Shipman <[EMAIL PROTECTED]> writes:
> Is there a way to increase the size of the small black
> border that appears around a widget when it receives the
> input focus (mainly, I would like to mess with the
> size of the border for entry widgets)?
>
Not that I know of.
Havoc
__
[EMAIL PROTECTED] writes:
> What you want is gprof. It's a standard component of most free Unices these
> days.
>
> What you do is compile your programs (if using gcc) with the -pg
> option. Then, when you run them, the program will generate a huge
> log file. gprof analyses this log file and g
Andrei Zmievski <[EMAIL PROTECTED]> writes:
>
> When I do gdk_gc_get_values() to retrieve the GC values, the
> 'foreground' value which is a GdkColor, for example, only has pixel
> member set properly - red, green, and blue are not. What is the proper
> way to obtain RGB values for a certain pix
[EMAIL PROTECTED] writes:
> Can anyone help cause I done have a clue. Is it possible to call a
> class function in such a situtation.
>
No, because GTK can't invoke a method without the object to invoke it
on. (And moreover knowing the type of that object at compile time.)
You can use only gl
Jeff Shipman <[EMAIL PROTECTED]> writes:
> I have widgets packed into a table and I would like
> to add padding to the top of a widget. If I attach
> it and modify the ypadding, then this adds padding
> to the bottom as well, which is not what I want.
> It doesn't work to add another column betwe
Andrei Zmievski <[EMAIL PROTECTED]> writes:
> This obviously won't work on Windows.. Or does Windows port
> automatically fill in the red/green/blue values?
Right, well 1.2 does not officially work on Windows. ;-) With 2.0
Windows is officially supported and we have gdk_colormap_query_color()
t
"Stephan Stapel" <[EMAIL PROTECTED]> writes:
>
> I would like to know if a website exists where all (or at least some) custom
> controls/ widgets for Gtk are listed. A similar site exists for Qt...
>
A small subset can be found here:
http://developer.gnome.org/tools/repo/
Also look at librar
Jeff Shipman <[EMAIL PROTECTED]> writes:
> Is there a way to assign an icon to an applicaton?
> My window manager (fvwm2) displays an icon that
> I can double-click on after I've minimized the app
> to pop it back up. I've seen many applications that
> have the icon as part of the program (mozill
Dov Grobgeld <[EMAIL PROTECTED]> writes:
> And please don't forget my imageviewer widget at:
>
> http://imagic.weizmann.ac.il/~dov/freesw/gtk/gtk-image-viewer/
>
> 8-)
>
> The widget repository is a great idea, but it needs a system for
> adding entries in the repository. Currently th
Dov Grobgeld <[EMAIL PROTECTED]> writes:
> That's a great idea. It will be even greater once pressing Submit
> returns something other than:
>
> Not Found
>
>The requested URL /cgi-bin/submit.cgi was not found on this server.
>
I forwarded the problem to webmaster.
Havoc
__
"Vladimir V. Zolotych" <[EMAIL PROTECTED]> writes:
> gcc -g -O2 -g -Wall -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -o .libs/make-inline-pixbuf
> make-inline-pixbuf.o .libs/libgdk_pixbuf-1.3.so -L/usr/local/lib
> -lgobject-1.3 -lgmodule-1.3 -ldl -lgthread-1.3 -lpthread -lgl
Chris Ellec <[EMAIL PROTECTED]> writes:
>
> How can I access the various Flags in the GtkWidgetFlags ?
>
> I'd like to see the status of HAS_FOCUS and VISIBLE in particular. I
> know it's like bit 8 and 12 or something like that, but how do I get
> the value to mask ?
>
GTK_WIDGET_VISIBLE (w
Flavio Ribeiro <[EMAIL PROTECTED]> writes:
> What should I do to make gtk_widget_set_usize's values stick after the
> call without resorting to GtkAlignment? And if I _must_ use
> GtkAlignment, how can I allow the widget to resize if I resize its
> window?
>
Exactly what behavior are you looki
Ignacio Nodal <[EMAIL PROTECTED]> writes:
>
> I want to use a GtkEntry widget, where the user should only enter float
> values.
> How can i avoid ilegal text-entries?
>
In addition to Flavio's suggestions, you can connect to the
insert_text signal and gtk_signal_emit_stop_by_name (entry,
"inse
[EMAIL PROTECTED] writes:
> This doesn't work, it flickers continully.
> I then tried to place the onscreen image in a pixmap, but this is to
> slow. I think that pixmaps are only supposed to be used for static
> images, not realtime movement. The position if the tanks is updated
> many times a
"J. Ali Harlow" <[EMAIL PROTECTED]> writes:
> There may be a clear argument, but I have to say that it is
> unacceptable to me for the GTK team to resort to such
> nannyisms. While it would not be impossible for the Slash'EM
> development team to comply with this (and it would also have some
> fr
"J. Ali Harlow" <[EMAIL PROTECTED]> writes:
w
> I do think you are being needlessly heavy handed. Even calling
> gets(), which everybody agrees is not on, doesn't actually break the
> application. And as I say, I will subvert the check if I have to. At
> least if you supply a method of defeating
[EMAIL PROTECTED] writes:
> On Mon, 05 Mar 2001 14:10:29 EST, Havoc Pennington said:
> > Right. Adding something like a GTK_ALLOW_INSECURE environment variable
> > doesn't seem like a terrible idea, though it's too late to do so for
> > 1.2.9.
>
> Wron
[EMAIL PROTECTED] writes:
> And of course, what we end up is an ISO-standard band-aid, with bells,
> wistles, gauges, buttons, and supporting documentation, which still won't
> fix the problem of programmers who don't take the time to write secure
> code.
>
> You're probably better off sticking
"Eric M. Monsler" <[EMAIL PROTECTED]> writes:
>
> If the operator then clicks "==>", it becomes:
> _
> <== | THIRD | fourth | fifth | ==> |
> _
>
Notebook is supposed to do this automatically, I t
Neil Bird <[EMAIL PROTECTED]> writes:
> What's the proper way to ask the WM to give input focus to a newly
> popped-up dialogue box?
>
> I can't see any obvious or non-obvious GTK/GDK calls/hints/etc.
>
GDK 2 has this function, which you'll have to do yourself in GDK
1.2. Can leave out the
"david" <[EMAIL PROTECTED]> writes:
>
> I would like to display several fonts such as English, Chinese,
> Japanese at together at one time. Does gtk provide any functions to
> implement that?
>
> As I know, motif provides some functions to handle the issue of
> muti-fonts but I cannot find in
Deborah Swayne <[EMAIL PROTECTED]> writes:
> I'm going to revive a topic I raised a year ago and see if
> there's anything new to be said about it.
>
> The use of plural drawing routines (draw_points instead of
> draw_point, etc) improves drawing speed **twenty-fold** for
> Windows versions of
Jiri_Mracek <[EMAIL PROTECTED]> writes:
> I get an error:
> "/sopt/SUNWspro50/SUNWspro/SC5.0/include/CC/std/time.h", line 29:
> Error: Multiple declaration for std::tm.
>
> To correct the problem:
>
> Change line 2079 in file "glib.h",
> from
> 2079 struct tm;
> to
"Tom Knowles" <[EMAIL PROTECTED]> writes:
> The TOP_LEVEL window seems to want to position itself centrally. I have
> tried set_uposition (0,0) but it makes no difference. With subservient
> dialogs there is no problem.
> Can I force the window top left.
The window manager has ultimate control h
Ron Steinke <[EMAIL PROTECTED]> writes:
> Mabye the windows version of draw_point could cache the points, and
> then call draw_points on a timeout when the main loop executes?
>
Yep I think that's pretty much the right idea. There may be tricky
details.
Havoc
___
Deborah Swayne <[EMAIL PROTECTED]> writes:
> On Wed, Mar 07, 2001 at 07:29:19AM -0800, Ron Steinke wrote:
> >
> > Mabye the windows version of draw_point could cache the points, and
> > then call draw_points on a timeout when the main loop executes?
> >
> > R
[EMAIL PROTECTED] writes:
>
> when exactly did the G in gtk start standing for automa_g_ically?
>
Long ago. GTK strives to save programmer thought cycles whenever
possible.
However this particular optimization is in Xlib for the X11 port, and
no one has ever accused Xlib of being too high-le
Jeff Shipman <[EMAIL PROTECTED]> writes:
> I'm currently using GList's in my program, but
> I don't really need the capability of a doubly-linked
> list and GSList provides everything I could need.
> However, I was wondering if there's a reason GList
> should be used over GSList? Or, does GList n
Eamonn Martin Galvin <[EMAIL PROTECTED]> writes:
>
> Does anyone know if you can make a certain part of an entry widget
> non-editable, say the first 4 characters, and the rest editable?
>
You could only do this by connecting to insert_text and doing some
filtering. I think the reference manua
Stephan Stapel <[EMAIL PROTECTED]> writes:
> BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
> Assertion `needed != ((void *)0)' failed!
>
> As I'm quite new to the Linux enviromnment, I don't know how to react to
> this error message?
> Can anyone help me?
>
Sugge
Neil Bird <[EMAIL PROTECTED]> writes:
> My gut feeling would be to base this upon a GtkArea (or similar) and do
> the drawing roughly myself - but what would be the best way of inheriting
> theme/style settings (of say Buttons) such that the area's b/g, fill &
> outline colours matched 'normal
Dave Neary <[EMAIL PROTECTED]> writes:
>
> In gtk+/gdk/gdkwindow.c (gdk_window_resize) there's a call to
> XResizeWindow() which works mostly - but there have been a few
> bugs reported in unusual circumstances in the Gimp which get
> traced to this function.
>
> There are hacks to get around t
Neil Bird <[EMAIL PROTECTED]> writes:
> Havoc Pennington wrote:
> > Use the functions in gtkpaint.h to do your drawing when possible, and
> > if that isn't possible (there aren't functions there to draw triangles
> > for example), use the colors a
Dwight Tuinstra <[EMAIL PROTECTED]> writes:
> > This program compiles and creates an executable which works
> > correctly, ie. ithe int is successfully passed to the function,
> > however I get this warning, which I would like to fix
> >
> > gui.h:873: cannot convert `int' to `void *' for argument
"Tom Knowles" <[EMAIL PROTECTED]> writes:
> I am developing a touch screen EPOS application using gtk. When I raise
> another window/dialog I would like that item to be highlighed. The focus, as
> I call it, remains where the button was pressed and the new item is bordered
> in lowlight until an
Dwight Tuinstra <[EMAIL PROTECTED]> writes:
> You're right about a pointer to random data. But casting
> pointers to ints, and vice-versa, has always seemed to me
> a horrible abuse of the type system (I guess I've been
> overly influenced by contact with the ML language's Vorlon-
> strict typ
Andrei Zmievski <[EMAIL PROTECTED]> writes:
> I'm writing language bindings for GTK+. In GtkFontSelectionDialog, are
> all the following fields considered publicly accessible?
>
> GtkWidget *fontsel;
>
> GtkWidget *main_vbox;
> GtkWidget *action_area;
> GtkWidget *ok_button;
> /* The
Lokesh Setia <[EMAIL PROTECTED]> writes:
>
> While doing some gtk+ programming, I noticed that opening a menu grabs
> the X11 mouse. Any broken program can take control of the entire
> display this way, and even wm-shortcuts don't seem to work while the
> display is grabbed. The only way I cou
Vladimir Tsichevski <[EMAIL PROTECTED]> writes:
>
> Some of that fields (notably ok_button) are referenced in supplied
> testgtk.c file, which is meant to be an usual user application
> example. So IMHO the fields are dy def public.
>
Well, testgtk isn't really supposed to be an example (it do
Andrei Zmievski <[EMAIL PROTECTED]> writes:
> On Thu, 15 Mar 2001, Havoc Pennington wrote:
> > Well, testgtk isn't really supposed to be an example (it does a lot of
> > things in the wrong way, does a lot of weird things you shouldn't do,
> > and is reall
Chris Ellec <[EMAIL PROTECTED]> writes:
>
> However, I imagine I need to do a free(colormap) somewhere. If I put it at the
> end of the expose_event, the program segfaults. Since I have colormap as a
> local variable, I can't free it anywhere else.
>
Two mistakes:
- you don't need to free the
Chris Ellec <[EMAIL PROTECTED]> writes:
>
> I get the following error everytime I close one of my windows, and I was
> wondering how to track it down:
>
> Glib critical **file main.c line 500 (g_source_remove) assertion 'tag > 0'
> failed.
>
Run the app in gdb with --g-fatal-warnings:
$ gdb
301 - 400 of 1165 matches
Mail list logo