본문 바로가기
숨터 가볍게 읽는 공간
이미지 차단
전체 베스트 최근
← programming 게시판

How to center GtkWindows in gtk4?

만남의광장(aerohong) 2021-11-07 20:30 추천 0

https://discourse.gnome.org/t/how-to-center-gtkwindows-in-gtk4/3112

댓글 3

  • 해당 댓글은 삭제되었습니다.

    해당 댓글은 삭제되었습니다. 2026-08-02 15:11
  • 답글

    What you can do with GTK4: know the location of the mouse pointer within your top level window get enter/leave notification on your top level window get the size of your top level window and then set it again What you cannot do with GTK4 using GTK API: get the screen coordinates of the pointer move the pointer to a set of coordinates (“warping”) move your top level window to a set of screen coor

    만남의광장(aerohong) 2021-11-07 20:35
  • 그런데 나는 앱 만들면 qt로 만들려고 한다. gtk가 싫은건 아닌데 한국어 책도 적고 구조를 몰라서. 공부하면 생각 바뀔 수도 있고.

    만남의광장(aerohong) 2021-11-07 20:37

다른 게시글

  • 근데 보여주지 못한다면 그걸로 끝이야
    익명(175.223) | 21.11.07
    추천 0
  • gtk가 꼬와도 [1]
    익명(39.7) | 21.11.07
    추천 0
  • 어쩌자는건지 당황스럽네 ㅡㅡ;; [1]
    익명(175.223) | 21.11.07
    추천 0
  • SQLP(SQL전문가) 쌩독학은 무리수냐? [1]
    익명(42.82) | 21.11.07
    추천 0
  • 다같이 모여서 코딩하는 메타버스를 창조하자 [2]
    익명(119.71) | 21.11.07
    추천 0
  • 올해가 2달도 안남았구나 우와 [2]
    익명(175.223) | 21.11.07
    추천 0
  • 배고프니까 치킨시킴 ㅎㅎ [2]
    천재(222.121) | 21.11.07
    추천 1
  • 롯데이커머스 vs 마켓컬리 [16]
    캎푸(tlkim600) | 21.11.07
    추천 0
  • 잠 자야지
    ecko(arktdef) | 21.11.07
    추천 0
  • 나도 신기술 스타트업 만들고싶음 [1]
    릴다희(lildahee) | 21.11.07
    추천 0
목록으로
읽기 전용 미러