al only in libglade format and referenced (by object
> type property) in GtkBuilder format.
That is gone too now with a fresh conversion using glade3 so I am
afraid, we might never find out. :) Thanks again.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
___
Hi,
On Wed, Apr 15, 2009 at 1:35 AM, Tristan Van Berkom wrote:
> On Tue, Apr 14, 2009 at 4:50 PM, Zeeshan Ali (Khattak)
> wrote:
>> Hi,
>> Reading through planet gnome and related mailing-lists recently, I
>> got the impression that this would be a good time to port
))
Aborted
The error from the third UI says a bit more so i think i can debug
that on my own, but what is this supposed to mean?
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
ct keeps it's own reference of the objects
it needs. So when you set a new child on a GtkBox object, the GtkBox
must unref the old child widget.
--
Regards,
Zeeshan Ali Khattak
FSF member#5124
___
gtk-app-devel-list mailing list
gtk-app-devel-list
---
image = gtk_image_new ();
pixbuf = gtk_widget_render_icon (image, stock_id, size, NULL);
--CODE SNIPPET END-
This one works quite fine but is obviously hackish, Does anyone
know of any better way of doing the same?
--
Regards,
Zeeshan Ali
FSF m
r_icon()
>
> The most raw method is
>
> gtk_icon_theme_lookup_icon() + gtk_icon_info_load_icon()
I thought icon theme is different from stock icons?
--
Regards,
Zeeshan Ali
FSF member#5124
___
gtk-app-devel-list mailing list
gtk-app-dev
---
image = gtk_image_new ();
pixbuf = gtk_widget_render_icon (image, stock_id, size, NULL);
--CODE SNIPPET END-
This one works quite fine but is obviously hackish, Does anyone
know of any better way of doing the same?
--
Regards,
Zeeshan Ali
FSF m
Hi again!
On 12/27/06, Zeeshan Ali <[EMAIL PROTECTED]> wrote:
> > In Tony's case, he might have to extract the fd from the SSH_SESSION
> > object (is there an interface for that?) to be able to stuff it into a
> > GIOChannel (not very difficult. I've done it w
ject. It would be doing that now if there
were some documentation on how to implement your own GIOChannel but
the glib docs seems to even abstract the GIOChannel structure even so
i'll have to get into the sources.
--
Regards,
Zeeshan Ali
Design Engineer, SW
Open Source Software Operations
#x27;s own textbuffer in it's assigned notebook page.
Just a thought: Wouldn't it be a better idea to use a library
instead of a command when one is available: libssh
(http://www.0xbadc0de.be/libssh:libssh).
--
Regards,
Zeeshan Ali
Design Engineer, SW
Open Sour
windows
> > label.
> >
> > This sort of example would be very useful in the tutorial.
> >
> > Thanks,
> > Kim
> > _______
> > gtk-app-devel-list mailing list
> > gtk-app-devel-list@gnome.org
>
charachters
in proper place (e.g in the C string). You might want to copy&paste
individual charachters from the charachter map (this is how i did that
to put urdu text on my widgets).
--
Regards,
Zeeshan Ali
___
gtk-app-devel-list mailing list
f doing this kind of stuff (AFAIK). You can find the
docs. on the website and also their mailing-lists.
--
Regards,
Zeeshan Ali
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
nd its
> > dependencies) from source.
> >
If you have the debian devkit installed and selected for your
target, you can simply get gtk+ (libraries and headers) installed by
using this simple command: fakeroot apt-get install libgtk2.0-dev
--
Regards,
Zeeshan Ali
___
mouse into the window and out of it and clicks.
Try "visibility-notify-event" and try all the other (likely)
signals of GtkWidget documented in the gtk+ reference manual please if
this doens't work either.
Regards,
Zeeshan Ali
___
gtk
' property of
the widget. Moreover, 'expose' signal is called for both the cases
(show and hide). If you choose to go the 'expose' way then connect
your handler using g_signal_connect_after().
--
Regards,
Zeeshan Ali
___
gtk-app-dev
Hello guys,
I think Gus forgot to CC his email to the list, so i am forwarding it here.
-- Forwarded message --
From: Gus Koppel <[EMAIL PROTECTED]>
Date: Jun 1, 2005 9:40 AM
Subject: Re: Glade C code a bad thing? (was: root windows)
To: Zeeshan Ali <[EMAIL
fear of
some people on this list) since it open's up a new possiblity: you'll
then be able to write your GUI in XML and getting it transformed into
the source-code without using any GUI utility. :)
--
Regards,
Zeeshan Ali
___
gtk-app-devel-l
Hello,
> You can use g_object_unref(), to destroy this widget,
> so that the window refreshes itself, or paint the
> pixmap with one of the gdk_drawable_* API to fill the
> pixmap with some color, you call as refreshing.
destroy the widget to refresh it's window? Are you serious?
__
all gtk_init (), passing it the path/name
of your gtkrc file.
Regards,
Zeeshan Ali.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello everyone,
According to the article "GNOME Programming Guidelines", the gnome
hackers prefer the Linux kernel indentation style: "For core GNOME
code we prefer the Linux kernel indentation style." But comparing the
gtk+ sources with that of the kernel, i see some major differences,
e.g plac
/gdk calls you make in your threads.
> PS: I don't use g_* threads, i use pthread_*.
I don't think that will make any difference.
Regards,
Zeeshan Ali.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hello everyone,
In an app. of mine i set an image with the following properties as
the background of my main window:
background.png: PNG image data, 1024 x 768, 8-bit/color RGB, non-interlaced
I do this by having these lines in the theme file:
bg_pixmap[NORMAL] = "background.png"
bg_pixma
Hello,
IMHO another option is to implement an in-kernel 'input' device. I
dont know ANYTHING about the other options people suggested you here
but this way would enable you to:
1. Generate both keyboard/mouse events from the same device
2. Use your device from any (even non-gtk and non-X) appli
Hello,
> Please, forgive my OT question, but I'm going to start a gtk+ project
> involving the use of a smart card reader and I'd very happy to know your
> suggestions about linux supported hardware.
Welcome to the gang! Sorry to dissappoint you but I too am very
new to all this. So far i've
Hello,
On Wed, 23 Feb 2005 10:12:07 +0200, Olexiy Avramchenko
<[EMAIL PROTECTED]> wrote:
> When you create main loop with NULL as context parameter, main loop gets
> shared default context. Before you create your main loop, default
> context was populated with functions from gtk/gdk.
>
> The bloc
Hello,
On Tue, 22 Feb 2005 15:22:50 +0100, Stefan Kost <[EMAIL PROTECTED]> wrote:
> Are you sure?
Yeah I am sure and thats why i suspect that it may be pointing to a
bug in gtk+. Why don't you try it youself? Shouldn't take > 15 mins.
:)
___
gtk-
Hello,
Hmm.. I thought that email with attachments goes through the
moderation. Anyway, I have uploaded it here:
http://www.geocities.com/zeelists/thread-problem.c . Kindly have a
look at it. Thanks.
___
gtk-app-devel-list mailing list
gtk-app-devel-l
Hello again,
What a coincidence! I found the answer to both my queries a few
seconds after i sent the last email :) Here are the anwers:
> 1. the exact name of the widget that's the pop-up menu for the
> GtkComboBoxEntry.
GtkMenu
> 2. the exact name of the widget that's displaying the text
Hello,
Pardon me for repetition but I am still stuck in the same old
problem of trying to apply a particular theme to a GtkComboBoxEntry,
the pop-menu attached to it and the text entries inside it. I think
all i need to know is:
1. the exact name of the widget that's the pop-up menu for the
Gt
Hello,
In a gtk+ app of mine, i was facing strange dead-locks problems. I
was astonished to see that just removing the call to gdk_threads_init,
the problems vanished. I am attaching a sample test program that
re-produces the same problem. It seems more like a bug in the gtk+
rather than my logi
Hello everyone,
In my gtk+ app, I attach style to different widgets/classes using
the rc file. Here is the line from my rc file for attaching style
'my-label' to ALL labels:
class "GtkLabel" style "my-label"
Now, this works for all the labels except for one: the GtkLabel
inside the GtkMenu
Hello,
What is the correct/nice way of asking a thread to stop from the
main thread if that thread is in a gtk_main (). I simply call
gtk_main_quit () from my main thread and then wait for that thread to
actually finish calling g_thread_join (). I've a hunch that there is
something wrong with t
Hello,
I used to do such a thing and my way of doing such stuff was using
gtkrc files (which is what i still use). There are two arrays that you
need to set here: text and fg. Set them both to black for all possible
indexes and I think you'll get the behavior you want. Here is a how
the relevent
Hello,
> Is writing unwieldy spaghetti code a
> necessary part of GUI programming, or have I missed some important point?
Yes, the important point you missed is that Glade is not meant to
generate code for you. You can use it for that purpose if you want to
but you'll end-up in problems like
Hello,
I have no idea regarding the gtk1.2 way, but AFAIK in gtk2, you'll
have the font specified like: "Arial 14" or "Sans 14". The '14' is an
example of the font size specification, which you can omit i think.
___
gtk-app-devel-list mailing list
gtk
36 matches
Mail list logo