Neil Bird [EMAIL PROTECTED] writes:
Am I right in remembering that GTK has a pixmap rotation jobby?
Nope. ;-) That's the fatal flaw in your plan! muhahahaha
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Colin Thomas [EMAIL PROTECTED] writes:
Now I need to write to one of the drawing areas BEFORE the window has ever been
displayed, and had a configure_event.
Assuming you could do this, it would be a no-op; X/GTK does not remember
the contents of the drawing area. Only the visible contents
latin [EMAIL PROTECTED] writes:
Is it possible to define a background color for GtkLabel in rc file?
How can I define it in a program?
Put the label in a GtkEventBox, set the background on the event box.
Havoc
___
gtk-list mailing list
[EMAIL
[EMAIL PROTECTED] writes:
I think that is the crux of the matter. I doubt the Gtk designers expect it
to be a library used by novices, at least not directly, and certainly not at
the current stage of 1.3.x development. (I don't think I'm not putting
words in anyone's mouth with the
David Goldsmith [EMAIL PROTECTED] writes:
Follow-up to previous posting: in my glib/.lib directory I found and ran
testglib and everthing was ok 'til:
g_log tests:
** WARNING **: harmless warning with parameters: 42 Boo 0x3039
Message: the next warning is a test:
GLib-CRITICAL **: file
David Goldsmith [EMAIL PROTECTED] writes:
Am I trying to do the impossible? If not, what do I need to do? Thanks,
I think the instructions about LD_LIBRARY_PATH, ldconfig, etc. are a
bit Linux-centric. Check the Solaris docs for how to put your library
directory in the linker's search
Dinesh Nadarajah [EMAIL PROTECTED] writes:
I am trying to grab the keyboard using the command gdk_grab_keyboard() and am passing
(GtkWidget *)-window, FALSE, GDK_CURRENT_TIME as paramaters. The function is
executed
just before gtk_main(). But I am unable to grab the keyboard. Am I doing
Ronald Bultje [EMAIL PROTECTED] writes:
But I'm horribly confused. The code of Gtk(H/V)Scale and GtkRange are not
really understandable to a newbie-who-knows-how-tu-use-gtk-but-doesn't-get-it
(me).
They aren't really understandable by anyone at all. The author of
GtkRange was smoking some
Vicki Stanfield [EMAIL PROTECTED] writes:
Is there a combination widget for use in the situation when you want
to ask a simple question and have the answer input by the user. In
Motif, there was a label attached to a text widget which could be used
for this purpose.
What is your name?
Rodrigo Moya [EMAIL PROTECTED] writes:
I'm trying to compile GTK+ HEAD, and, on the gtk/stock-icons directory,
it complains about
Image type 'png' is not supported
when trying to run gdk-pixbuf/make-inline-pixbuf. I've got the
libpng-dev package installed, and configure did detect it,
Owen Taylor [EMAIL PROTECTED] writes:
Well, this answer was for the case when libpng is not present -
which is - we need to fix this so the files are distributed
You and Michael are thinking of a newer thread - there was an older
thread where the same PNG missing problem had some other
Ronald Bultje [EMAIL PROTECTED] writes:
1) if I close the Gtk-app, control doesn't return to the terminal, so it
locks somewhere - how do I find out where?
Do you gtk_main_quit() to exit gtk_main()?
To find out where, just run 'gdb myapp', then after closing the app,
hit Ctrl-C and type
Preben Randhol [EMAIL PROTECTED] writes:
I do this (note the code is not in C as I use Ada 95, but it should be
understandable)
Gtk.Container.Add (Some_Vbox, Some_Frame);
Gtk.Container.Remove (Some_Vbox, Some_Frame);
Gtk.Container.Add (Some_Vbox, Some_Frame);
As I understand
Ronald Bultje [EMAIL PROTECTED] writes:
On 2001.05.08 20:53:10 +0200 Havoc Pennington wrote:
Do you gtk_main_quit() to exit gtk_main()?
yes
...
#4 0x400b9043 in gtk_main () from /usr/lib/libgtk-1.2.so.0
You are still in gtk_main(), so the answer is no not yes ;-)
Maybe you
Ronald Bultje [EMAIL PROTECTED] writes:
I cam as far as to see that the delete/destroy signals don't reach their
respective functions at all.
If it gets delete/destroy, it will unrealize the widget, then destroy the
widget (these commands finish), but then, it doesn't reach the
Hi,
Why not just post all the source code, and we'll look at it? ;-)
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Ronald Bultje [EMAIL PROTECTED] writes:
On 2001.05.09 21:27:01 +0200 Havoc Pennington wrote:
Hi,
Why not just post all the source code, and we'll look at it? ;-)
http://ronald.bitfreak.net/gtkenhancedscale.tar.gz
:-)
It works fine for me, I click the close decoration
Rene Rebe [EMAIL PROTECTED] writes:
I looked into XEmacs and gtk+ source - but can't figure out what might
be wrong. The gtkscrollbar.c in gtk+ has not changed ... .
bugzilla.gnome.org has a bug filed against GTK for this. The bug
speculates that XEmacs is not guaranteeing that
monkeyiq [EMAIL PROTECTED] writes:
I know that gtk2 is not a stable API at current. Though it
would be better to wait, I don't know that I will have the
time to code when gtk2 is out, so I am doing it now in the hopes
that the API doesn't change that much between now and then.
I have
monkeyiq [EMAIL PROTECTED] writes:
All I get is:
...
GRuntime-CRITICAL **: file gparamspecs.c: line 1465 (g_param_spec_enum): assertion
`g_enum_get_value (enum_class, default_value) != NULL' failed
Well, the lesson is, always debug the first warning first. The
BadMatch is probably just a
Janos Blazi [EMAIL PROTECTED] writes:
I am starting with gtk+.
...
gint64 x,y;
Here is your problem.
There's no reason to specify a size for these integers; and since the
natural integer size on Windows is 32, it breaks things below.
Also, not all platforms offer gint64.
gchar **l;
Bill Haneman [EMAIL PROTECTED] writes:
The follow-on to this is that we'd like to export application-name and
version strings to adaptive technologies as part of the Gnome
Accessibility SPI, and it seems that (most, all?) Gnome apps export
these strings in gnome_program_init or a similar
Bill Haneman [EMAIL PROTECTED] writes:
Havoc said, regarding getting program name and version:
g_get_prgname() returns the name, there is no existing way to get the
version.
Havoc
Seems like an omission. Mind if we file a bug?
Sure, though it isn't obvious to me how to fix this -
Raymond Wan [EMAIL PROTECTED] writes:
I haven't tried v1.3 of GTK+ yet, but I'm wondering if I should.
What I'm using is a GtkText that's holding a lot of text...like megabytes
of text and I don't mind switching to v1.3, even if it's just a
pre-release of 2.0 . My program seems to
Vicki Stanfield [EMAIL PROTECTED] writes:
I am trying to create a callback for an entry widget. When a string
is typed in, I want the callback to be called. I assume that I can
use the entry widget which is passed in with the gtk_entry_get_text
function to get the string. The problem is that
On Tue, 15 May 2001, Matt Hillebrand wrote:
I have been posting this question every few weeks for the past year, and I
have never received a response:
How do I force a status bar (or progress bar) to update when the computer
is really busy?
http://www.gtk.org/faq/#AEN561
Havoc
John Cupitt [EMAIL PROTECTED] writes:
Havoc Pennington wrote:
On Tue, 15 May 2001, Matt Hillebrand wrote:
I have been posting this question every few weeks for the past year, and I
have never received a response:
How do I force a status bar (or progress bar) to update when
Craig Emery [EMAIL PROTECTED] writes:
according to the GTK+ FAQ to make a window modal you call gtk_grab_add (window) and
then when it's destroyed called gtk_grab_remove (widndow).
However my code was using a different method!
After showing the window I call gtk_main () (yes, for the
Vicki Stanfield [EMAIL PROTECTED] writes:
I am trying to figure out how to create a window with a background
color and text of a different color. I understand that this involves
a graphics context and GDK, but I can't find a simple example. Can
anyone point me to a very simple example of
David J. Topper [EMAIL PROTECTED] writes:
1. Separators? Everything is a menu item?
Empty menu items (with no child packed in them) appear as
separators. Strange but true.
GTK 2 has GtkSeparatorMenuItem which is just a subclass of
GtkMenuItem that changes nothing whatsoever about the base
Vicki Stanfield [EMAIL PROTECTED] writes:
What is the function gdk_window_set_background used for? I have used
gtk_windows, but I don't understand how a gdk_window fits into the
scheme. Can someone explain it to me (as if I were a six year old)?
GdkWindow is a primitive window in the
Vicki Stanfield [EMAIL PROTECTED] writes:
rc_style-color_flags[GTK_STATE_NORMAL] |= GTK_RC_FG;
The error is:
conversion from `int' to `enum GtkRcFlags'
I've looked at the code a hundred times, and I don't see anything so
different as to account for this error. My declarations are just
Andrej Prsa [EMAIL PROTECTED] writes:
I'm a newbie to gtk+ programming (started only yesterday ;) ), but
after few hours of trying to invent hot water I gave up and figured
I should ask:
How do I get double precission with spin buttons? I have to enter
Julian dates, which are something
TG [EMAIL PROTECTED] writes:
* GTK toolbars continually update when you drag them, but there is a lot of
flickering/ugliness as they redraw.
Note that at least the flicker bit has been killed for GTK 2.
Havoc
___
gtk-list mailing list
[EMAIL
Rick Campbell [EMAIL PROTECTED] writes:
Where can I find a complete list of the packages required to build
GTK+? I've been going through an iterative process starting with gtk+
and glib, then pulling in pkgconfig, then pango, and currently I'm
staring at:
Unknown package 'atk'
Kimberley Brent-y17568 [EMAIL PROTECTED] writes:
I have been having difficulty downloading the latest stable gtk+
source file. Should I be using v1.3 instead?
Nope, not unless you enjoy instability.
Try putting your ftp client in passive mode, that makes ftp.gtk.org
work for me. Most
Vicki Stanfield [EMAIL PROTECTED] writes:
color.red = 99;
color.green = 8;
color.blue = 206;
These should be in the range 0-65535, Gimp is in 0-255.
(i.e., multiply by 255)
No luck. I have the hex equivalent (#6308ce) if that would be
easier.
gdk_color_parse (color, #6308ce);
Havoc
Robert Wilkens [EMAIL PROTECTED] writes:
Please consider taking the 'if i==1' thing out of the loop... Do your initialization
before you enter the loop, then make the loop 'for i = 2 to 5' instead of 1 to 5.
The
way your code is written it's not only doing an unnecessary compare, it's not
Rick Campbell [EMAIL PROTECTED] writes:
I wouldn't phrase it quite that way, but perhaps, ``Don't force
support for disabled users and/or internationalization on those that
don't need it.'' This is the approach that XEmacs development takes
on things ranging in importance from
Hi,
A simple way to add space when there's no other convenient method is
to create a GtkAlignment, and call gtk_widget_set_usize() to set the
size of the alignment. GtkAlignment is invisible so it will just be a
spacer.
Havoc
___
gtk-list mailing
Kimberley Brent-y17568 [EMAIL PROTECTED] writes:
Thanks for the reply. I'm not sure if this is a passive/active ftp issue. ( I am
using iexplorer. )
I can download the glib source but not the gtk+ source. I'm behind a firewall. I
can
download glib, however I can't download the
Thomas J Lewis [EMAIL PROTECTED] writes:
1.) set up vertical scale to display digit 0-10,but the scale works
backwards.
when the slider moved up, the digits decrease; when moved down, it
increases.
didn't see an option to reverse the order.
There is no option. There is in GTK 2 though.
Ian King [EMAIL PROTECTED] writes:
Is there a way of 'always' returning the correct height/width of a
widget whether or not it has been expanded in its parent or is
mapped/unmapped.
What do you mean by correct?
The current width/height of a widget is widget-allocation.width,
Paul Davis [EMAIL PROTECTED] writes:
Just set the prelight color to the same as the normal color.
if its a toggle button, there are *2* normal colors. what then?
I'm sure you could hack something, e.g. change prelight color when
toggled. (I see the issue here now, Thomas sent me mail
Dale Arntson [EMAIL PROTECTED] writes:
I'm trying to settle on library to learn for doing future gui
development. I need a flexible grid widget to do lots of database
display and updating. WxWindows seem to have what I need, but I have
a preference in other regards for GTK+. Are there any
Steve Ramsay [EMAIL PROTECTED] writes:
I am in the process of porting an app from 1.2.10 to 1.3.5.
First of all thanks for doing this and sending in questions, now is
the time to catch GTK 2 problems.
My question is how to do this with the new mnemonics of 1.3.5, using
Spear, Don H. Jr. [EMAIL PROTECTED] writes:
I've seen posts on this subject in the archives but no solutions so I'll
post once more in hopes someone smarter than me has found the answer. In a
text window I want to associate the Cut/Copy/Paste keys on a Sun keyboard
with the text functions.
[EMAIL PROTECTED] writes:
(well, the TextBuffer object is broken IMHO and always contains at
least a carriage return)
Havoc This is a Broken On Purpose - even documented to work the way it
Havoc does, IIRC. I agree it's broken, I've known about it for half a
Havoc
fabien derreal [EMAIL PROTECTED] writes:
is there any way to have a popup menu appear when clicking on a Gtk
Clist using the right button of the mouse?
It seems that the closest useable signal is select_row, which means
using the left button of the mouse.
Any hint?
Use
Ignacio Nodal [EMAIL PROTECTED] writes:
conversion from `int' to `enum GtkAttachOptions'
cast it, i.e.: GtkAttachOptions (GTK_FILL | GTK_EXPAND)
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Andrei Zmievski [EMAIL PROTECTED] writes:
Anyone know of a good Gtk+ widget that implements good source code
editing, with custom highlighting and all that?
Judging by the Anjuta IDE, Scintilla is pretty nice. I think it has a
weird Windows-like programming interface, but the user
Peter Finderup Lund [EMAIL PROTECTED] writes:
There's also a Unicode line separator (which forces a line break
inside a single paragraph).
Why isn't this one used instead or together with 0x2029?
You mean in the text widget? The lines in the text widget are
actually paragraphs. Meaning
Aubury, Mike [EMAIL PROTECTED] writes:
I understand (from reading what I've found on the net) that setting colours
can be done from within an rc file - but I really need to do it from a
program. The program I'm writing compiles legacy 4GL code such as:
DISPLAY Hello World TO
[EMAIL PROTECTED] writes:
(well, the TextBuffer object is broken
IMHO and always contains at least a carriage return)
This is a Broken On Purpose - even documented to work the way it does,
IIRC. I agree it's broken, I've known about it for half a year, Tk is
broken in the same way - and it's
Ronald Bultje [EMAIL PROTECTED] writes:
Now we're talking about the scales anyway.
Will it have support for multiple sliders (like my example widget I had
some time ago)? And will the code be more understandable? :-)
Well, I wrote the new code, and I understand it far, far better than
the
Norman Black [EMAIL PROTECTED] writes:
How can I set the selection and focus item in a clist to the same item in
the list. There is no set focus row API call. I am using
gtk_clist_select_row to select an item in the clist.
I think some people in the past have managed this by poking around
Sven Neumann [EMAIL PROTECTED] writes:
Monserrat Seisdedos Nuñez [EMAIL PROTECTED] writes:
i have an xml file and i would like to create an app to view it as i would
have a web browser.
Can anybody open my eyes in such a goal???
Is there any xml interpreter in gtk or somethin like
Steve Ramsay [EMAIL PROTECTED] writes:
In my current application (written with gtk 1.2.x) I have written a custom
widget which derives from GtkCList. Now I am playing around with porting
it to Gtk 1.3 and noticed that the CList is depricated. I am not sure on
how to do this custom widget
Skip Montanaro [EMAIL PROTECTED] writes:
Where in 1.2 you have
GTK_OBJECT (widget)-object_data
Yikes, you shouldn't be using this I don't think.
What are you trying to do, maybe we can give you what you should be
using in that context.
Owen pointed me at some stuff on his website
[EMAIL PROTECTED] writes:
need to be able to suppress error messages while my program is running. Does anyone
know how?
Redirect stderr to /dev/null, or you can use g_log_set_handler().
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Ian King [EMAIL PROTECTED] writes:
Is there anyway to dynamically query whether a Left Alt key is pressed and
not the right, I am using GDK_MOD1_MASK at the moment but this seems to do
both.
If you're using Alt as a modifier, then it will produce
broken/surprising behavior for end users if
Jose Fernando Diago [EMAIL PROTECTED] writes:
So my question is: What's the gdk-pixbuf? How can I use it?
There's a new app that does exactly this (gdk-pixbuf for screenshots,
gnome-print to print):
http://lists.eazel.com/pipermail/nautilus-list/2001-May/003389.html
Will probably come
Vitaly Tishkov [EMAIL PROTECTED] writes:
#include gtk/gtk.h
int
main (int argc, char** argv)
{
GtkTreeViewColumn* column;
gtk_init (argc, argv);
column = gtk_tree_view_column_new ();
gtk_tree_view_column_set_min_width (column, 1);
}
What am I doing wrong or is
rhfreeman [EMAIL PROTECTED] writes:
Sun's compiler doesn't seem to get on with GTK too well. Anyone got any
ideas what I can do to change this rather odd behaviour?
You have to build GLib apps with the same compiler used to build GLib,
since GLib uses compiler-specific features according to
Skip Montanaro [EMAIL PROTECTED] writes:
According to the 2.0 reference manual the GtkHScale, GtkVScale,
GtkHScrollbar and GtkVScrollbar classes all define an adjustment property,
but get_adjustment and set_adjustment methods are defined at the GtkRange
level. Is this an inconsistency in
Paul Davis [EMAIL PROTECTED] writes:
whether there is an easy way to set up the background
color of a text widget (or a window).
Have you read Havoc's color-setting FAQ? Search the archives of this
list; it was posted here recently. It would be nice if it showed up in
the GTK FAQ.
Ignacio Nodal [EMAIL PROTECTED] writes:
but not the segmentation fault I get with pix = *pixmap; which I don't
really understand ;((
You can't copy GdkPixmap by value. It can only be manipulated as a
pointer.
Havoc
___
gtk-list mailing list
[EMAIL
Ian King [EMAIL PROTECTED] writes:
1) Does anyone know why the vertical scrollbar in a scrollable gtklist
doesn't function when the list contains more than 2500 items?
The size of GtkList is limited by the size of an X window, which is
32K pixels or so. Using GtkCList is recommended for
Skip Montanaro [EMAIL PROTECTED] writes:
I'm getting an assertion error in forward_line_leaving_caches_unmodified in
gtktextiter.c (this is from the vanilla 1.3.5 distribution). There is a
test of new_line:
if (new_line != NULL)
{
... do some stuff ...
}
else
{
Ignacio Nodal [EMAIL PROTECTED] writes:
Is there any way to make a widget in a hbox smaller in height than the
other widgets??
set_usize() isn't working because it only sets the widget size
request, it doesn't force a size.
What you want to do is put the button inside a GtkAlignment, then
Reinhard Mueller [EMAIL PROTECTED] writes:
* g_assert terminates the application, where g_return... only terminates the function
* therefore, g_assert lets me jump into gdb as soon as it is hit, while
g_return... doesn not. This seems to be an advantage for g_assert.
You can always run the
Simon Budig [EMAIL PROTECTED] writes:
Is it possible to reduce the size of the GTK Library (we don't have
unlimited resources) e.g. by removing some unused widgets?
You can do a custom GTK build and remove a substantial number of the
widgets and some other features (e.g. unused image loaders
Ira Weiny [EMAIL PROTECTED] writes:
My question is: where does gtk get it's fonts from? (xfs?)
They come from the X server, GTK isn't doing anything different from
any other X app.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
Ron Steinke [EMAIL PROTECTED] writes:
Could someone explain how the properties-changed signal in
GObject is supposed to work? How do you write objects so they use
it properly?
You don't use it - we are campaigning to get it removed because it
slows down GTK a lot and is not
Ken Simpson [EMAIL PROTECTED] writes:
I was told that gtk has a mechanism for automatically setting or removing
the focus on widgets in response to events such as keypresses. I think
this mechanism has been enabled somewhere inside Mozilla and is causing
all kinds of focus-related problems
Andrej Prsa [EMAIL PROTECTED] writes:
image = gdk_pixbuf_new_from_file (test.jpg);
canvas = gdk_pixmap_new (window-window, 262, 392, 8);
The 8 argument here is totally bogus, it will only work if your
display is 8-bit. If window-window existed (and it doesn't here)
you could then pass -1
Hi,
Get latest pkg-config from http://www.freedesktop.org/software/,
and be sure to re-run autogen.sh.
Havoc
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
David J. Topper [EMAIL PROTECTED] writes:
I mean a window, they are GtkWindows, not popups. I'm using them to get
parameters for items created on the fly (eg., length, width, height) and
I don't want the windows to drop in back when I accidentally move the
mouse off them.
I don't
Ian King [EMAIL PROTECTED] writes:
If I were to write a gtktext replacement using gtkpixmap,
This is a totally weird thing to do, btw.
1) Letting the pixmap receive the focus when the user clicks on the
editor.
Set the GTK_CAN_FOCUS flag, handle focus_in_event and focus_out_event,
and
Ken Simpson [EMAIL PROTECTED] writes:
Is this the code which performs automatic focus changing in response to
keypresses? It certainly seems to fit the symptoms :)
Hmm.. But there doesn't appear any way of turning it off.
Yep, that's the code. Writing other widget sets is not what GTK is
Jim Edwards [EMAIL PROTECTED] writes:
1. Can someone point me to an example of, or document about, how to
build a gtk+ gui with multi-language support.
Just read the gettext info pages, GTK works the same as a non-GUI
program basically.
2. I have an application in C with no gui and one
A new release of the development versions of GTK+ and associated
libraries (GLib, Pango, Atk) is available at:
ftp://ftp.gtk.org/pub/gtk/v1.3/
The JPEG/PNG/TIFF libraries and pkg-config 0.7 are needed to compile this
release. These are available at:
Ron Steinke [EMAIL PROTECTED] writes:
Is there any way to extract the alpha channel information from
a GdkPixbuf (for example, writing it to an array or a grayscale
pixmap)?
You just iterate over the pixels in the pixbuf.
They are arranged like so for a pixbuf with alpha:
RGBA RGBA RGBA
Ron Steinke [EMAIL PROTECTED] writes:
From examining the code, it looks like the [set,get]_property
functions of GObject (and its descendents) only handle the
properties of the object itself and not those of its
ancestors. Is this true, and if so is there a reason for this?
Sure, to avoid
Skip Montanaro [EMAIL PROTECTED] writes:
I got the 0.7 version of pkg-config, cvs up'd in glib, atk and pango. Glib
and atk built and installed okay, but after a successful autogen.sh in the
pango directory make CFLAGS=-g says:
The default CFLAGS are:
CFLAGS = -g -O2 -Wall
Ian King [EMAIL PROTECTED] writes:
If I retrieve the gdkwindow that the mouse pointer is currently over
(gdk_window_at_pointer), what is the easiest way to find the relative
gtkWidget for which this gdkwindow is associated with.
It's gdk_window_get_user_data (window). The user data on a
Simon Budig [EMAIL PROTECTED] writes:
Static linking currently is not a solution, since we have multiple
applications. So - how would I remove widgets from the Build?
Simply deleting the files from the Makefile?
For many widgets that should work, yes. We'd kind of like to have a
nicer way
Ralph Walden [EMAIL PROTECTED] writes:
[Sorry, but I'm asking this again...]
Does anyone know if GTK 1.2 has functionality to
raise and lower (minimize) windows on the desktop
programmatically?
To deiconify, call gdk_window_show (window_widget-window), to iconify
you basically call
[EMAIL PROTECTED] writes:
/* Popup window and grab pointer */
gdk_window_show(window-window);
gdk_window_raise(window-window);
if (gdk_pointer_grab (window-window,
FALSE, GDK_POINTER_MOTION_MASK,
window-window, NULL,
[EMAIL PROTECTED] writes:
However even putting gdk_flush()'es before the grab
doesn't solve the problem. What is the solution then ?
How can i wait till window is mapped ?
A flush doesn't help - that ensures your show request has gone to the
server, but not that the window manager has
Charlie Schmidt [EMAIL PROTECTED] writes:
im not a big fan of GtkCList, it takes a long long time to insert a lot
of rows, but i suppose its all we have, right?
It's actually pretty fast, i.e. it's not doing a lot of work
per-row. It's just that this operation is inherently O(n). You aren't
Chris [EMAIL PROTECTED] writes:
Hello. I am having trouble using a drawing area in a scrolled window. I am
unable to scroll the drawing area. I have tried using a callback for the
viewport in the scrolled window to set the vertical and horizontal
adjustments for the size of the
Ian King [EMAIL PROTECTED] writes:
Does anyone know why the horizontal scrollbar for ctree
(scrolled_window_add_with_viewport) is not viewable at all. I also get size
allocation warnings everytime I use the ctree? I need to fix this as ctrees
are used for our visual debugger.
Thanks for
Ron Steinke [EMAIL PROTECTED] writes:
I'm trying to connect to the key-press-event of a wigdet
derived from GtkDrawingArea. It has a window, and I'm using
gtk_widget_add_events() to add GDK_KEY_PRESS_MASK to
the GdkEventMask for the widget. Nonetheless, the signal
isn't being emitted
Ian King [EMAIL PROTECTED] writes:
In follow up to the previous message, it seems that the key events are not
passed through for a popup window, but are for a top level window. Is there
a reason for this?
Yes, GTK_WINDOW_POPUP windows are not known to the window manager. So
the window
Ian King [EMAIL PROTECTED] writes:
I want to create a window with no decorations, that allows widgets inside it
to behave as they do with a normal top level window.
Can I create a top level window that
1) Has no decorations and only shows the client area.
2) Cannot be moved or resized
Ron Steinke [EMAIL PROTECTED] writes:
From: Havoc Pennington [EMAIL PROTECTED]
Ron Steinke [EMAIL PROTECTED] writes:
I was missing that, so thanks. However, I changed that,
and it still doesn't work. What else is missing?
Ah, I forgot this is GTK 1.2. You need
Ron Steinke [EMAIL PROTECTED] writes:
That was it. Thanks. Perhaps a short lecture on the way focus works
in GTK is in order?
Well, it isn't really that complicated from this standpoint -
if you want your widget to get focus you set GTK_CAN_FOCUS, then
whenever you get the focus (normally
Markus Kühni [EMAIL PROTECTED] writes:
If I just use GTK+ instead of GTK+ plus Gnome, what am I missing?
For GTK 1.2, you are missing GnomeCanvas, GnomeDialog, stock icons.
Also unless you use gdk-pixbuf you're missing image loading.
For GTK 2.0, you are missing GnomeCanvas but there's a
Ronald Bultje [EMAIL PROTECTED] writes:
Uniform style. The fact that every New document button in a toolbar
looks the same in each and every app, and the same for save, load,
cut, copy and so on.
That's what makes Gnome so attractive imho, most users (if not all)
really appreciate having a
601 - 700 of 1140 matches
Mail list logo