particular problem you encountered.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
on the semantics instead of having to care about
memory that has to be freed.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
seeing your code, we can't really help you.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk_container_add() with the
same(none) result.
Try calling gtk_widget_show() on the label and the image, or
gtk_widget_show_all() on the hbox.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
a positive width, 1.0 might be a good default
value.
[1]
http://developer.gnome.org/doc/API/2.0/glib/glib-Limits-of-Basic-Types.html#G-MINFLOAT:CAPS;
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
not red, error-message);
return 0;
}
}
else
{
text = tmp_text;
}
return 1;
}
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
use GPOINTER_TO_UINT(fields-data)?
I'm also curious why you use i, i.e. a running variable. How does your
list store look?
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org
Am Donnerstag, den 20.04.2006, 05:02 -0700 schrieb 3saul:
I'm wanting to know the best way to declare a random number of buttons
for my
gtk app. The number will changed depending on the argument passed to
my app.
How do you want to arrange them, and what should they contain?
--
Christian
?
I tried to insert images using gtk_fixed_put(), but it didnt work..
So please give me some suggestions
If you just want an image in a scrolled window, you can use
gtk_scrolled_window_add_with_viewport (win, image);
where image is a widget of type GtkImage.
--
Christian Neumair [EMAIL
Am Sonntag, den 19.03.2006, 11:44 +0100 schrieb [EMAIL PROTECTED]:
is there a way to make file selection dialog box created with
gtk_file_selection_new
also display hidden files??
gtk_file_chooser_set_show_hidden. I wonder why you need this, though.
--
Christian Neumair [EMAIL PROTECTED
the state member in the GdkEventKey struct.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Am Samstag, den 25.02.2006, 09:30 +1100 schrieb Nick Watts:
(application.exe:612): GLib-GObject-CRITICAL **: gtype.c:2254:
initialization asser
tion failed, use g_type_init() prior to this function
Are you sure that you called
gtk_init (argc, argv);
before using GObject?
--
Christian
, and it does contain my image (I've tried both line-art and
grey-scale images), but when gtk_button_set_image()-ing the image to
my button I get a silly little button probably about 5x5 pixels in
size with no image within!?
gtk_widget_show_all (button); /* might help. */
--
Christian Neumair [EMAIL
directory... I
couldn't exactly recall the function... it could be
g_...get_homedir()
char *path;
path = g_build_filename (g_get_home_dir (),
.DiamondBOX/Diamond.settings,
NULL);
/* GKeyFileCode ... */
g_free (path);
--
Christian Neumair [EMAIL
C testcase and file a bug report?
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
:
char **str;
/* str[0]: basename
str[1]: extension */
str = g_strsplit (filename, ., 2);
g_strfreev(str)
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo
yourself, GTK+ will do this for you based on
the column type by calling the appropriate duplication routines. If you
want to insert complex data, either use GObjects (these will be unrefed
when they're removed from the model), or use plain structs and subclass
G_TYPE_BOXED.
--
Christian Neumair [EMAIL
Am Mittwoch, den 22.02.2006, 08:17 -0800 schrieb Alan M. Evans:
On Wed, 2006-02-22 at 07:59, Christian Neumair wrote:
Am Mittwoch, den 22.02.2006, 07:09 -0800 schrieb Alan M. Evans:
On Tue, 2006-02-21 at 16:25, Tor Lillqvist wrote:
Also, I don't think the string returned from
Alexandre wrote:
Hi, i'm begining to write technical widgets for gtk, like termometer, compass, dials..
I want to know if is there something done in this area.. and someone interested.
This kind of specialized widget library is always appreciated, since it
can be heavily reused! You may
to work?
Please refer to [1]. You'll have to modify your gtk-double-click-time
GtkSetting.
[1]
http://mail.gnome.org/archives/gtk-devel-list/2004-September/msg00061.html
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel
Karel Honzl wrote:
Is it possible to create treeview in which I can set color (text color) of
certain row?
I want to hightlight some rows.
You may want to take a look at the way GtkCellRenderers [1] work.
Before rendering a particular row, your tree view sets the attributes
registered with
Daniel Pekelharing wrote:
Hi all,
Anyone know how one would go about blocking a signal on a widget where
you don't know the signal handler id?
I have some check menu items which I set depending on various program
modes... I need to block the activate signal before I set it and
unblock it
gtk_combo_box_get_model and either use gtk_list_store_clear, or
gtk_tree_model_iter_n_children and gtk_combo_box_remove_text.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo
to help you.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
a mnemonic to an arbitrary menu item by using
gtk_menu_item_new_with_mnemonic and passing _Foo instead of Foo as
item label. The letter after '_' will be used as mnemonic.
If you use GtkActions (recommended), the label field of your
GtkActionEntry should be set to _Foo.
--
Christian Neumair [EMAIL
supporting threading?
I am using GTK version 2.2.4.
Thanks is advance...
Please refer to
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Threads.html
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk
the delete event
has
been sent to the application A.
Is this possible?
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
buttons into one
box (hbox or vbox), use the suggested show/hide code and use a
GtkSizeGroup which ensures that both always have the same size.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
Am Samstag, den 01.10.2005, 09:40 +0930 schrieb Lachlan Gunn:
Hi,
I'm making an application that has a vbox that I want to only resize
horizontally
gtk_widget_set_size_request (-1, desired_vertical_size_in_px);
--
Christian Neumair [EMAIL PROTECTED
during the program execution on exit. Leaks just mean that the
memory is lost during program execution, which can be equally bad if the
application runs for a long time and you leak memory very often, since
the allocated but lost memory is not available for other programs.
--
Christian Neumair
ShowGtkMessageDialog (GTK_WINDOW (MainWindow),
GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
g_strerror (errno));
without leaking anything.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app
Am Donnerstag, den 29.09.2005, 12:42 +0200 schrieb Christian Neumair:
1 foo (const void *bar);
and
2 foo (void **bar);
Should have a void retval. Sorry for the confusion.
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Jane Bryan-Jones schrieb:
if the user adds a line I want to automatically show the last line (the one
he’s just added)
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeView.html#gtk-tree-view-set-cursor
___
gtk-app-devel-list mailing list
, hover_path) != NULL)) {
/* do whatever you want with the new hover path */
}
[1] http://bugzilla.gnome.org/attachment.cgi?id=49082action=view
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
handler of the
GtkEntry, or use gtk_window_set_default (win, ok_widget) instead of
gtk_dialog_set_default_response.
On 9/13/05, Christian Neumair [EMAIL PROTECTED] wrote:
Am Montag, den 12.09.2005, 18:11 +0530 schrieb Deekshit Mantampady:
Hi all,
I have a window where I want to make the OK
/win32/downloads.html
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
/archives/gtk-devel-list/2005-September/msg00102.html
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Am Donnerstag, den 15.09.2005, 17:06 -0300 schrieb Eduardo M KALINOWSKI:
Christian Neumair wrote:
Am Donnerstag, den 15.09.2005, 16:26 -0300 schrieb Eduardo M KALINOWSKI:
I want to check if the font I'm using (in a GtkTextView, if that
matters) contains some characters
with msgmerge which removes all multibyte
characters from msgstr tags in my original .po file.
I think msgfmt = 0.10.35 doesn't handle multibyte characters correctly.
You should upgrade to a recent gettext version.
--
Christian Neumair [EMAIL PROTECTED
() apparently does exactly what I want, however I
couldn't discover how to get a PangoFcFont *.
You should take a look at PangoCoverage, which can be requested using
pango_font_get_coverage ().
--
Christian Neumair [EMAIL PROTECTED]
___
gtk-app-devel-list
using:
g_signal_emit_by_name (foo_widget, show-help,
GTK_WIDGET_HELP_TOOLTIP);
On 9/12/05, Christian Neumair [EMAIL PROTECTED] wrote:
Am Montag, den 12.09.2005, 16:39 +0530 schrieb sadhees kumar:
hi friends,
In my application, i am not using
gdk_window_fill (0x).
So my sad and hopefully wrong conclusion is that GdkWindows and the
underlying Windows don't seem to have a full alpha channel. Can cairo
help me here? Do we need a new, more powerful, X extension?
Thanks for your replies in advance!
--
Christian Neumair [EMAIL
Matthias Clasen schrieb:
On Sun, 2005-09-11 at 12:49 +0200, Christian Neumair wrote:
Help appreciated!
You need to use an RGBA visual for your window, see
gdk_screen_get_rgba_visual().
Thanks!
Even then, the window will not
be transparent unless a compositing manager is running
44 matches
Mail list logo