GTK provides some support
for component-based (as opposed to object-based) programming,
and if so, then how is the component paradigm accomplished in GTK?
Feedback welcome,
Best Regards,
Neil Zanella
___
gtk-list mailing list
gtk-list@gnome.org
http
On Mon, 6 Dec 2004 09:08:43 -0500, Tristan Van Berkom
[EMAIL PROTECTED] wrote:
On Fri, 3 Dec 2004 16:33:27 -0700, Neil Zanella [EMAIL PROTECTED] wrote:
Hello,
I would like to know whether the function call
g_signal_handlers_block_by_func
can be applied to (external) events
Hello,
I am using a spinbutton for numeric input. The problem is that when I
set the numeric
property to on I cannot seem to enter text with the keyboard. On the
other hand, when
the numeric property is off, it is possible to enter non-numeric junk
characters into the
spinbox which is also not
Hello,
I would like to know whether the function call
g_signal_handlers_block_by_func
can be applied to (external) events in the same way as it can be applied
to (internal) Gtk signals so as to temporarily block them and then call
g_signal_handlers_unblock_by_func
Do both of these work on
Hello,
Can someone please point me to a date entry widgets that will compile on GTK
on windows (i.e. must not be a gnome widget). If you know of such a widget which
I can use temporarily until something makes it into the real GTK core
set of widgets
then I would be very happy to use it.
Thanks,
Hello,
I would like to know, is there a way to tell GTK that when the user
clicks on the
window manager's (X) usually found in the upper right hand corner of window
frames, the window is to be hidden instead of destroyed? This behavior is
the one needed for child windows of parent windows which
Hello,
I would like to know whether there is a way to programmatically determine
whether a particular row is selected in a columned list. How come there is
no such method to do this?
Thanks,
Neil
___
gtk-list mailing list
[EMAIL PROTECTED]
, 29 Nov 2004 07:29:03 -0800, Vlietstra, Joe (NSSD)
[EMAIL PROTECTED] wrote:
Neil Zanella [EMAIL PROTECTED] wrote:
I've got a GtkEntry and I need to confine user input into this widget
to numeric values which will fit into the underlying C data types.
What is the best way to do
On Sat, 27 Nov 2004 16:53:52 +0100, Sven Neumann [EMAIL PROTECTED] wrote:
Hi,
Neil Zanella [EMAIL PROTECTED] writes:
I would like to know whether g_string_insert_c inserts the character
before the character at the specified position or after.
It inserts the character at the specified
Hello,
I would like to know whether it is possible to configure GtkCList (or
the replacement widget)
so as to have the vertical scrollbar displayed on the left instead of
on the right, or,
optionally, have scrollbars on both sides. This would be useful for
really wide tables
where the user has to
Hello,
I've got a GtkEntry and I need to confine user input into this widget
to numeric values
which will fit into the underlying C data types. What is the best way
to do this? If the
values were only allowed to be integers I'd use a GtkSpinBox (I think
that's what it's
called), but since they
Hello,
I would like to know whether g_string_insert_c inserts the character before the
character at the specified position or after. The documentation does not mention
this but I think it should be more specific.
Thanks,
Neil
___
gtk-list mailing list
Hello,
I would like to know how come gtk_tree_model_get_iter_first doesn't
just return a
GtkTreeIter and set it to NULL when the end of the iteration is
reached rather than
returning a boolean? Why is the design of the API such that it returns a boolean
instead? Wouldn't the approach I describe
This is very interesting but something very odd happens when I press
the down arrow
key on a GtkCList which has just been created with text in it and has
no selections:
the first row gets a box, and if I keep moving with the down keyboard
key I end up
with two boxes. This is with GTK 2.4.13. Then
and are not expected to be used
beyond block scope, so by having them on the stack you need not free them.
Interesting explanation. Others welcome...
Best Regards,
Neil
On Wed, 24 Nov 2004 23:29:51 +, Tim Müller [EMAIL PROTECTED] wrote:
On Wednesday 24 November 2004 23:03, Neil Zanella wrote:
I
On Sun, 21 Nov 2004 22:06:54 -0600, James M. Cape [EMAIL PROTECTED] wrote:
On Sun, 2004-11-21 at 19:27 -0700, Neil Zanella wrote:
Hello,
I would like to know whether the following behavior is reliable, since
it is not documented
in the API reference:
When I press a GtkToggleButton
at 19:49 -0700, Neil Zanella wrote:
Hello,
Can I also rely on the fact that if a GtkToggleButton is active then a
function call
to set its active state to TRUE is not going to trigger a signal. In
general, is it true
that signal handlers are invoked when properties are CHANGED
Hello,
Is there a way to get the number of columns in the deprecated GtkCList widget?
Thanks,
Neil
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
Hello,
I would like to know, when I call gtk_clist_append() does the
underlying GtkCList
widget take ownership of the char ** parameter? So do I have to create a new one
for each new row to avoid segfaults?
Thanks,
Neil
___
gtk-list mailing list
Hello,
The developer documentation does not mention here so I thought I'd ask
on this list.
Is it OK to call g_object_unref() on a NULL pointer (with nothing happening)?
Thank you,
(and I think this should be mentioned in the docs)
Neil
___
gtk-list
Hello,
I would like to know whether the following behavior is reliable, since
it is not documented
in the API reference:
When I press a GtkToggleButton (suppose the button goes from being
pressed out to
pressed in), I notice that the toggled signal is emitted _AFTER_ the
button becomes
pressed
Hello,
Can I also rely on the fact that if a GtkToggleButton is active then a
function call
to set its active state to TRUE is not going to trigger a signal. In
general, is it true
that signal handlers are invoked when properties are CHANGED BY A FUNCTION
OR USER ACTION, and not when a function
Hello all,
Please don't tell me about Columned List being deprecated: I know.
What I would like to ask about it is, when I move with the up and down
arrows, a rectangular box moves, but the blue highlighting stays in the
same place (unlike what happens when I click with the mouse). Could
someone
Hello,
When looking at the GTK API I see several places that use G_CONST_RETURN.
What are these macros there? I cast their effect away with casts, but I am not
sure whether that is the right thing to do. I wonder whether someone can
elaborate on this (not sure why a function would have to return
Hello,
I was just wondering whether
g_list_next(foo)
and
foo-next
are really the same or not. It seems to me that they are but
that the former construct is preferable for object-oriented-like reasons.
Thanks,
Neil
___
gtk-list mailing list
[EMAIL
On Tue, 2 Nov 2004 09:17:13 +, Tim Müller [EMAIL PROTECTED] wrote:
Yes, it's fine to call a function with more arguments than it takes (in C).
I think your explanation is missing some detail...
could you explain that again please???
#include stdio.h
#include string.h
int main(void) {
Hi,
I would like to help you except I do not fully understand your question...
How is the fact that your application is real time different in this context.
I.e. what does it have to do with Glade? Are you trying to embed an OpenGL
window within some widgets? What OS are you running?
If I
OK, I am now connecting the switch-page for notebooks which seems to
be the only
one that works. However,
void foo(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num,
gpointer data) {
assert(page_num == (guint) gtk_notebook_get_current_page(notebook));
...
}
The above assertion
Hello,
I have a basic question which I would like to ask:
The function prototype for gtk_main_quit() is:
void gtk_main_quit(void);
The GtkObject signal prototype for the destroy callback is:
void user_function(GtkObject *object, gpointer user_data);
Yet I can connect the two as follows:
There is a bunch of undocumented parameters at:
http://developer.gnome.org/doc/API/2.0/gtk/GtkNotebook.html#GtkNotebook-select-page
In the following, I guess arg1 is the index of the page? I'm just
guessing, but it would
be nice if they were documented properly. Thanks. And BTW what is the name of
Hello,
Anyone know how to popup a window with a frame?
Also, what is the difference between fprintf() and gprint().
Is there a GDK documentation for the G_ macros and stuff
other than the GTK API and Tutorial (for the lower layer library)?
OK, I'll just keep going through the API...
Well
Hello,
I am migrating from Qt to GTK+ and from Qt designer to Glade.
Hence, I would like to know the following as I cannot seem to
find the answers in the GTK+ documentation:
--
1. Qt Designer has the following widet, called a widget
32 matches
Mail list logo