hope you can understand all Im trying to tell
you :-).
Thanks in advance.
Samuel Rabadán.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
hope you can understand all Im trying to tell
you :-).
Thanks in advance.
Samuel Rabadán.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
hope you can understand all Im trying to tell
you :-).
Thanks in advance.
Samuel Rabadán.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Since GtkAboutDialog is a subclass of GtkDialog, it is intended to be used
as a modal dialog. Hence, you would do something like:
gtk_dialog_run(about_dialog);
gtk_widget_hide(about_dialog);
Also, see
http://developer.gnome.org/doc/API/2.0/gtk/GtkAboutDialog.html#gtk-show-about-dialog
Samuel
e left, and
clicking on one
of these languages changes the UI translations at runtime). You might want
to check the
Ubiquity code to see how they do this?
Samuel
Gabriel
>
> ___
> gtk-app-devel-list mailing list
>
I remember I had this problem on Windows a while back. Make sure that
pango is installed correctly; also, try running the application in a
console window to see if it gives any error messages...
Samuel
On 4/1/07, Kun Niu <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I'm trying
I remember there was a bug for this somewhere, but I can't seem to
find it in bugzilla anymore. If I recall correctly, there's no easy
way to do this now, but I think the next release might have something.
Try searching bugzilla...
Samuel
On 3/13/07, Rick Jones <[EMAIL PROTECTED]>
On 12/27/06, Samuel Cormier-Iijima <[EMAIL PROTECTED]> wrote:
> In a single threaded app, I don't think it would matter too much.
That is, if you're not calling other callbacks within that function of
course :-)
> However, if you're using multiple threads that handl
hat's what I do with gobjects)
Samuel
On 12/27/06, Philip Kovacs <[EMAIL PROTECTED]> wrote:
> Is it good practice always to ref count GObject's passed into functions --
> even if you know for certain that the primary reference is in your control,
> i.e. the first reference
rtain CONSTRUCT_ONLY params set otherwise it should not create the
object. I looked through the API but couldn't find anything regarding
this. Thanks for any help!
Samuel Cormier-Iijima
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail
Try looking at the output of pkg-config --cflags --libs gtk+-2.0 You
might be missing some dependencies like cairo, pango, etc. (although I
thought the package manager took care of that for you). If you also
want the gnome development libraries, try installing the
gnome-core-devel package.
Samuel
#x27;re trying to do, I'd be able to help you out more...
Samuel Cormier-Iijima
[1] http://www.gnetlibrary.org/
On 11/5/06, Chris Cole <[EMAIL PROTECTED]> wrote:
> hello all, i'm developing a client side gui whose main task is to
> process data coming from a remote serv
gtk_container_add (GTK_CONTAINER (window), bar);
gtk_widget_show_all (window);
g_thread_create (file_thread, NULL, TRUE, NULL);
gtk_main ();
}
Hope that helps!
Samuel Cormier-Iijima
On 11/5/06, Van H Tran <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> -
o learn more about this.
Thanks alot for any tips :-)
Samuel Cormier-Iijima
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I've already solved this, but thanks for your reply.
Madhusudan E wrote:
> Hi,
> You can use GtkTextTag.
> Tags should be in the GtkTextTagTable for a given GtkTextBuffer before using
> them with that buffer.
> gtk_text_buffer_create_tag() is the best way to create tags. See gtk-demo
> for numer
now I surround the cursor with two zero-width spaces
(an invisible Unicode character) and then I apply the tag to the spaces.
This gives new text the right formatting, but it's an ugly solution that
has some bugs...
Kind regards,
Samuel Liden Borell
_
The GtkTreeView tutorial has an example on how to make custom cell renderers:
http://scentric.net/tutorial/sec-custom-cell-renderers.html
Samuel
On 10/16/06, Gabriele Greco <[EMAIL PROTECTED]> wrote:
> - There is a way to change at THEME level, or with a simple rc file,
> witho
s for strings it doesnt really matter because it's
not that much memory wasted. Still, gnome/gtk's memory usage seems
pretty high (see ReducingMemoryUsage on the wiki)
Samuel
On 10/10/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 10, 2006 at 01:58:20PM -040
Whenever you set the text, the widgets will keep copies of the text
for themselves. (they duplicated the string so it's not showing the
actual contents of *your* string). To update it, you'll have to set
the text again for the widgets. :-(
Samuel
On 10/10/06, [EMAIL PROTECTED] <[EM
tions, I'd be happy to try to answer them :-)
Samuel
On 10/9/06, Nickolai Dobrynin <[EMAIL PROTECTED]> wrote:
> I was wondering if someone could point me to the code that demonstrates the
> process of inheriting from GObject?
> I find the online tutorial hard to follow because
gtk_widget_queue_draw(da);
>
>g_usleep(50);
> }
>
> Does somebody help me?
I'm assuming this is in a key-pressed callback - in that case, you
would have to use gdk_threads_enter ()and gdk_threads_leave() (I
think...). However, a much cleaner solution (instead of the while
l
On 9/26/06, Michael 'Mickey' Lauer
<[EMAIL PROTECTED]> wrote:
> Hi, for one project I need to implement a widget container that can
> be collapsed/expanded to show its containment. It should look
> like the mockup from http://vanille.de/temp/preview-widget-mockup.jpg
>
> Is there something like tha
You're probably looking for pango:
http://developer.gnome.org/doc/API/2.0/pango/
On 9/12/06, LWATCDR <[EMAIL PROTECTED]> wrote:
> Anybody know of where I can find examples of rendering text, seating fonts,
> and getting the length of a sting in pixels using GDK?
> I would search the mailing list b
and the expander makes the window grow bigger to fit the dialog).
However, my expander grows *into* the window - the window doesn't
change size, the filechooser widget shrinks. How can I fix this to
make it act similarly to the open file dialog?
Thanks,
Samuel Cormier-Iijima
On 8/22/06,
ples along with the HIG so that others can find it more
easily.
Samuel Cormier-Iijima
On 9/9/06, Samuel Cormier-Iijima <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I was reading the Gnome HIG and came across a couple of dialogs that
> are similar to what I would like to have in a p
d how these things fit together to align and display nicely. Can
somebody point me to either a .glade file or some code for dialogs
such as the following?
http://developer.gnome.org/projects/gup/hig/2.0/images/layout2.png
Thanks,
Samuel Cormier-Iijima
__
07, 2006 at 09:42:16AM -0400, Samuel Cormier-Iijima wrote:
> >
> > I thought g_timeout_add
> > would cause timing to be off (it would unsynchronize over time), but
> > using a GTimer fixed it.
>
> Yes, g_timeout_add() is just a best-effort timer, no
> real-time. But
that is hackish and not
stable Anyways, I'm just rambling, it works now :-)
Now I just need to hook this up to a GstController... but that's a
topic for another list, and I have to read up more anyways. Thanks :-)
Cheers,
Samuel Cormier-Iijima
On 9/7/06, David Nečas (Yeti) <[E
;ll wiggle around by itself during the song playback). If
you use Reason 3, you'll know what I mean. Anyways, I've found out a
(unclean) way to do this, and I'm looking into using GStreamer and
GstController's for this. Still, any links or pointers would be
appreciated.
Samuel
ould be
able to push "play" and see his motions "played back" for him, exactly
the way he dragged it. I was wondering if there was a way to do this
(I was considering GStreamer elements but that seemed like overkill).
Any pointers to sample code, etc. w
On 9/2/06, Edward Catmur <[EMAIL PROTECTED]> wrote:
> On Sat, 2006-09-02 at 13:19 -0400, Philip Kovacs wrote:
> > Looking at the glib code itself, e.g. in gmem.c: in the g_malloc()
> > function,
> > if the memory was not allocated as expected, glib does this:
> >
> > g_error ("%s: failed to alloc
For a very good, up-to-date, and GObject-based widget written using
cairo, check out this tutorial:
http://gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28
Cheers,
Samuel
On 8/29/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 29, 2006 at 04:17:50PM +0
Ah, thanks, thats exactly what I was looking for... i wonder why it
didnt show up on any google searches for gobject networking library.
hmm, whatever, at least i wont have to roll my own :-) (sorry for
weird puctuation, i`m using a weird canadian keyboard)
samuel
On 8/22/06, Edward Catmur
I had the same problem with a FileChooserWidget with an extra
GtkExpander widget in it. One solution is to make the window fixed
(unresizable). Of course, the downside is that the user can't resize
it himself. Let me know if you find another solution!
Cheers,
Samuel
On 8/21/06, Fer
Note that however GNet does NOT use GObject, it rolls its own object
type... I kinda wanted a twisted-like framework so that I could for
example subclass a GNetServer or otherwise connect signals to it to
respond to network events, and GNet doesnt let you do that in the
GObject way. I`m thinking I
en setting GtkEntry for example). Try dropping
the * and see if that works.
Samuel
On 8/15/06, Fabricio Rocha <[EMAIL PROTECTED]> wrote:
> Hello, guys!
>
> Sorry, I know i´m crossing the borders of off-topic. But I had to tell
> you that I could get rid of SEGFAULTs by using a
ry too much about memory management.
If trying these things doesn't work, you can always post the code ;-)
Cheers,
Samuel
On 8/14/06, Fabricio Rocha <[EMAIL PROTECTED]> wrote:
> Thank you very much, Yeti and Samuel, for your replies!
>
> I really believe that there is
error-code/messages ?
> James,
>
>
> On Sun, 2006-08-13 at 10:58 -0500, Samuel Cormier-Iijima wrote:
> I tried compiling it once, and it didn't seem to work with GTK 2.0... :-)
>
> On 8/13/06, Enrico <[EMAIL PROTECTED]> wrote:
> > Fernando Apesteguía pron
I tried compiling it once, and it didn't seem to work with GTK 2.0... :-)
On 8/13/06, Enrico <[EMAIL PROTECTED]> wrote:
> Fernando Apesteguía pronuncio' le seguenti parole il 11/08/2006 17:09:
> > Using eggtrayicon.c and eggtrayicon.h
> >
> > Best regards
> >
>
> Many thanks for the help! I have n
with them either. (Of course, I could be totally wrong
:-) Could you post some code from the application? Otherwise, look for
the part of the stack trace that contains code from your program,
which could lead to more insight.
Cheers,
Samuel
On 8/11/06, Fabricio Rocha <[EMAIL PROTECTED]>
Hi, I was wondering if there was already a GTK widget that's like the one
people use in installers... (I don't know exactly how to explain it, but
there's a list of features in a tree format, and if you select everything
under a node, that nodes checked too, but if only part are selected, then
the
41 matches
Mail list logo