tips for making pretty ui

View: New views
3 Messages — Rating Filter:   Alert me  

tips for making pretty ui

by Christopher Harvey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I think I've got the ropes of gtk down pat, except that I don't know how
to create cool and unique windows. I want to create a small window that
sits in the dock most of the time, then pops up a small window then it's
clicked on, or a key combo is pressed. The important thing is that it
has no window border, isn't moveable and has tiny widgets, audacious is
a good example here. I know it isn't recommended to go against the
default system settings but in my case it makes sense because I want
this window to stay out of the way as much as possible and have a
distinct look and feel. I've never used an RC file before, but any tips
or links to tips to help me tweak gtk widgets and windows are
appreciated.  I've never done anything like this before and tutorials
are hard to come by.

Thanks,
Chris.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: tips for making pretty ui

by Gregory Hosler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Harvey wrote:
| Hi,
| I think I've got the ropes of gtk down pat, except that I don't know how
| to create cool and unique windows. I want to create a small window that
| sits in the dock most of the time,


| then pops up a small window then it's
| clicked on, or a key combo is pressed. The important thing is that it
| has no window border, isn't moveable and has tiny widgets

Sounds like you just described libnotify. Have you looked at libnotify, yet ?


- --
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
~                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   ghosler@...    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIYEIH404fl/0CV/QRAgHGAKC17/csDApHz20OAs0nx1FV5fj9bgCfSwfJ
gI8SyaEjHLB57pDKo41yfoU=
=+ayZ
-----END PGP SIGNATURE-----
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: tips for making pretty ui

by natan yellin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

On Tue, Jun 24, 2008 at 3:34 AM, Christopher Harvey <arbuckle911@...>
wrote:

> Hi,
> I think I've got the ropes of gtk down pat, except that I don't know how to
> create cool and unique windows. I want to create a small window that sits in
> the dock most of the time, then pops up a small window then it's clicked on,
> or a key combo is pressed. The important thing is that it has no window
> border, isn't moveable and has tiny widgets, audacious is a good example
> here. I know it isn't recommended to go against the default system settings
> but in my case it makes sense because I want this window to stay out of the
> way as much as possible and have a distinct look and feel. I've never used
> an RC file before, but any tips or links to tips to help me tweak gtk
> widgets and windows are appreciated.  I've never done anything like this
> before and tutorials are hard to come by.
>
There is no official GNOME dock, and panel applets are becoming less and
less popular as unofficial docks (e.g. AWN) become more popular.

 I've been doing work on a universal applet format that can "plug in" to any
dock/panel/sidebar. (We still haven't decided on an official project name,
but you can find the project on
launchpad<https://code.launchpad.net/%7Edesktop-2.0/screenlets/universal-applets>and
freenode under "Universal Applets.") At the moment, applets can only
run
as floating toplevel windows, but there's already been a little bit of work
on integration with AWN.

Until Universal Applets matures, your best choice is probably to write a
program that has an icon in the systray/notification area. You can connect
to the icon's appropriate signals and popup a little window underneath the
systray when its clicked.

You can use the function gtk_window_set_decorated in order to hide the
window's borders.

>
> Thanks,
> Chris.
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@...
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Natan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
LightInTheBox - Buy quality products at wholesale price